Files
purchases-ios/Tests/UnitTests/SubscriberAttributes/__Snapshots__/BackendSubscriberAttributesTests/iOS17-testPostReceiptWithSubscriberAttributesPassesErrorIfStatusCodeIsNotSuccess.1.json
T

49 lines
1.4 KiB
JSON
Raw Normal View History

2023-06-09 07:42:54 -07:00
{
"headers" : {
"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",
2024-10-10 17:00:03 +02:00
"X-Is-Debug-Build" : "true",
"X-Is-Sandbox" : "true",
"X-Observer-Mode-Enabled" : "false",
"X-Platform" : "iOS",
2024-09-25 19:59:36 +02:00
"X-Platform-Device" : "arm64",
"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",
"X-Storefront" : "USA",
2024-07-01 12:37:21 -07:00
"X-StoreKit-Version" : "2",
"X-StoreKit2-Enabled" : "true",
"X-Version" : "4.0.0"
2023-06-09 07:42:54 -07:00
},
"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"
}
}