Sync Transaction
Header Parameters
x-distinct-id*string
x-distinct-id-encoding?|null
x-publishable-key*string
x-client-bundle-id*string
Length
length <= 255x-client-locale?string|null
x-client-version?string|null
x-is-backgrounded?string|null
x-is-debug-build?string|null
x-nonce?string|null
x-observer-mode?string|null
x-platform?string|null
x-platform-brand?string|null
x-platform-device?string|null
x-platform-flavor?string|null
x-platform-flavor-version?string|null
x-platform-version?string|null
x-preferred-locales?string|null
x-sdk?string|null
x-sdk-version?string|null
x-storefront?string|null
x-environment?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
platform*"ios"
Value in
- "ios"
transactionId*string
intent?|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/sdk/sync-transaction" \ -H "x-distinct-id: string" \ -H "x-publishable-key: string" \ -H "x-client-bundle-id: string" \ -H "Content-Type: application/json" \ -d '{ "platform": "ios", "transactionId": "string" }'{ "accepted": true, "pendingProductLink": true}{ "_tag": "Api/SdkValidationError", "message": "string"}{ "_tag": "Api/AuthenticationError", "cause": "string", "message": "string"}{ "_tag": "Api/SdkTransactionRejectedError", "reason": "string"}{ "_tag": "Api/SdkRateLimitedError", "message": "string"}{ "_tag": "Api/SdkServiceError", "cause": "string"}