mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"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",
|
|
"X-Is-Sandbox" : "false",
|
|
"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-Storefront" : "USA",
|
|
"X-StoreKit2-Enabled" : "false",
|
|
"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"
|
|
}
|
|
} |