cURL
curl --request POST \ --url https://api.winwinkit.com/users/{app_user_id}/transactions/app-store \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "original_transaction_id": "2000000123456789", "app_account_token": "550e8400-e29b-41d4-a716-446655440000" } '
{ "errors": [ { "code": "<string>", "status": 123, "message": "<string>", "source": "<string>" } ] }
Registers the mapping between a user and their Apple originalTransactionId.
The API key to authenticate with.
The app user id of the user.
Apple's originalTransactionId from StoreKit.
"2000000123456789"
StoreKit 2 appAccountToken UUID.
"550e8400-e29b-41d4-a716-446655440000"
The transaction mapping has been registered.