2024-01-09 18:07:05 -08:00
|
|
|
{
|
|
|
|
|
"headers" : {
|
|
|
|
|
"Authorization" : "Bearer the api key",
|
|
|
|
|
"content-type" : "application/json",
|
|
|
|
|
"X-Client-Build-Version" : "12345",
|
|
|
|
|
"X-Client-Bundle-ID" : "com.apple.dt.xctest.tool",
|
|
|
|
|
"X-Client-Version" : "17.0.0",
|
2024-10-21 10:09:26 +02:00
|
|
|
"X-Is-Debug-Build" : "true",
|
2024-01-09 18:07:05 -08:00
|
|
|
"X-Is-Sandbox" : "false",
|
|
|
|
|
"X-Observer-Mode-Enabled" : "false",
|
|
|
|
|
"X-Platform" : "iOS",
|
2024-09-25 19:59:36 +02:00
|
|
|
"X-Platform-Device" : "arm64",
|
2024-01-09 18:07:05 -08:00
|
|
|
"X-Platform-Flavor" : "Unity",
|
|
|
|
|
"X-Platform-Flavor-Version" : "2.3.3",
|
|
|
|
|
"X-Platform-Version" : "Version 17.0.0 (Build 21A342)",
|
2024-07-02 17:32:50 +02:00
|
|
|
"X-Preferred-Locales" : "en_US",
|
2024-07-23 12:41:16 -05:00
|
|
|
"X-Retry-Count" : "0",
|
2024-01-09 18:07:05 -08:00
|
|
|
"X-Storefront" : "USA",
|
2024-07-01 12:37:21 -07:00
|
|
|
"X-StoreKit-Version" : "2",
|
|
|
|
|
"X-StoreKit2-Enabled" : "true",
|
2024-01-09 18:07:05 -08:00
|
|
|
"X-Version" : "4.0.0"
|
|
|
|
|
},
|
|
|
|
|
"request" : {
|
|
|
|
|
"body" : {
|
|
|
|
|
"app_user_id" : "abc123",
|
|
|
|
|
"attributes" : {
|
|
|
|
|
"$attConsentStatus" : {
|
|
|
|
|
"updated_at_ms" : 1678307200000,
|
|
|
|
|
"value" : "authorized"
|
|
|
|
|
},
|
|
|
|
|
"a key" : {
|
|
|
|
|
"updated_at_ms" : 1678307200000,
|
|
|
|
|
"value" : "a value"
|
|
|
|
|
},
|
|
|
|
|
"another key" : {
|
|
|
|
|
"updated_at_ms" : 1678307200000,
|
|
|
|
|
"value" : "another value"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"fetch_token" : "YW4gYXdlc29tZSByZWNlaXB0",
|
|
|
|
|
"initiation_source" : "restore",
|
|
|
|
|
"is_restore" : false,
|
|
|
|
|
"observer_mode" : false
|
|
|
|
|
},
|
|
|
|
|
"method" : "POST",
|
|
|
|
|
"url" : "https://api.revenuecat.com/v1/receipts"
|
|
|
|
|
}
|
|
|
|
|
}
|