2022-03-08 12:29:16 -08:00
|
|
|
{
|
2022-03-09 14:05:14 -08:00
|
|
|
"headers" : {
|
2023-11-17 12:19:49 -08:00
|
|
|
"Authorization" : "Bearer the api key",
|
|
|
|
|
"content-type" : "application/json",
|
|
|
|
|
"X-Apple-Device-Identifier" : "5D7C0074-07E4-4564-AAA4-4008D0640881",
|
|
|
|
|
"X-Client-Build-Version" : "12345",
|
|
|
|
|
"X-Client-Bundle-ID" : "com.apple.dt.xctest.tool",
|
|
|
|
|
"X-Client-Version" : "17.0.0",
|
|
|
|
|
"X-Is-Sandbox" : "true",
|
|
|
|
|
"X-Observer-Mode-Enabled" : "false",
|
|
|
|
|
"X-Platform" : "iOS",
|
|
|
|
|
"X-Platform-Flavor" : "Unity",
|
|
|
|
|
"X-Platform-Flavor-Version" : "2.3.3",
|
|
|
|
|
"X-Platform-Version" : "Version 17.0.0 (Build 21A342)",
|
2024-07-16 23:52:35 +02:00
|
|
|
"X-Preferred-Locales" : "en",
|
2024-07-23 12:41:16 -05:00
|
|
|
"X-Retry-Count" : "0",
|
2023-11-17 12:19:49 -08:00
|
|
|
"X-Storefront" : "USA",
|
2024-07-01 12:37:21 -07:00
|
|
|
"X-StoreKit-Version" : "1",
|
2023-11-17 12:19:49 -08:00
|
|
|
"X-StoreKit2-Enabled" : "false",
|
|
|
|
|
"X-Version" : "4.0.0"
|
2022-03-08 12:29:16 -08:00
|
|
|
},
|
2022-03-09 14:05:14 -08:00
|
|
|
"request" : {
|
|
|
|
|
"body" : {
|
|
|
|
|
"app_user_id" : "abc123",
|
|
|
|
|
"attributes" : {
|
2022-03-25 09:01:42 -07:00
|
|
|
"$attConsentStatus" : {
|
|
|
|
|
"updated_at_ms" : 1678307200000,
|
2022-07-29 14:14:17 -07:00
|
|
|
"value" : "notDetermined"
|
2022-03-25 09:01:42 -07:00
|
|
|
},
|
2022-03-09 14:05:14 -08:00
|
|
|
"a key" : {
|
|
|
|
|
"updated_at_ms" : 1678307200000,
|
|
|
|
|
"value" : "a value"
|
|
|
|
|
},
|
|
|
|
|
"another key" : {
|
|
|
|
|
"updated_at_ms" : 1678307200000,
|
|
|
|
|
"value" : "another value"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"fetch_token" : "YW4gYXdlc29tZSByZWNlaXB0",
|
2022-10-11 05:49:00 -07:00
|
|
|
"initiation_source" : "restore",
|
2022-03-09 14:05:14 -08:00
|
|
|
"is_restore" : false,
|
|
|
|
|
"observer_mode" : false
|
|
|
|
|
},
|
|
|
|
|
"method" : "POST",
|
2022-06-09 10:29:38 -07:00
|
|
|
"url" : "https://api.revenuecat.com/v1/receipts"
|
2022-03-09 14:05:14 -08:00
|
|
|
}
|
2022-03-08 12:29:16 -08:00
|
|
|
}
|