Files
purchases-ios/Tests/UnitTests/SubscriberAttributes/__Snapshots__/BackendSubscriberAttributesTests/iOS13-testPostReceiptWithSubscriberAttributesPassesErrorIfStatusCodeIsNotSuccess.1.json
T
05c8bec967 [AUTOMATIC] Release/5.1.0 (#4036)
**This is an automatic release.**

### New Features
* Paywalls with custom purchase and restore logic handlers (#3973) via
James Borthwick (@jamesrb1)
### Bugfixes
* Prevent paywall PurchaseHandler from being cleared on rerender (#4035)
via Josh Holtz (@joshdholtz)
* Update Purchase Tester for 5.0.0 (#4015) via Will Taylor
(@fire-at-will)
### Dependency Updates
* Bump fastlane from 2.221.0 to 2.221.1 (#3977) via dependabot[bot]
(@dependabot[bot])
### Other Changes
* Bring official `xcodes` back to CI (#4029) via Cesar de la Vega
(@vegaro)
* Paywalls tester with sandbox purchases (#4024) via James Borthwick
(@jamesrb1)
* Update v5 migration guide to contain current latest version (#4019)
via Toni Rico (@tonidero)
* CI Build Docs Improvements (#4014) via Will Taylor (@fire-at-will)
* Use available resource class for backend-integration-tests-offline-job
(#4013) via Will Taylor (@fire-at-will)
* Add `X-Preferred-Locales` header (#4008) via Cesar de la Vega
(@vegaro)

---------

Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
2024-07-16 16:52:35 -05:00

46 lines
1.3 KiB
JSON

{
"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",
"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)",
"X-Preferred-Locales" : "en",
"X-Storefront" : "USA",
"X-StoreKit-Version" : "1",
"X-StoreKit2-Enabled" : "false",
"X-Version" : "4.0.0"
},
"request" : {
"body" : {
"app_user_id" : "abc123",
"attributes" : {
"$attConsentStatus" : {
"updated_at_ms" : 1678307200000,
"value" : "notDetermined"
},
"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"
}
}