Contents

Get Transaction Info

Get information about a single transaction for your app.

URL

GET https://api.storekit.apple.com/inApps/v1/transactions/{transactionId}

Sandbox URL

GET https://api.storekit-sandbox.apple.com/inApps/v1/transactions/{transactionId}

Path Parameters

NameTypeDescription
transactionId RequiredtransactionId

The identifier of a transaction that belongs to the customer, and which may be an original transaction identifier (originalTransactionId).

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
TransactionInfoResponse

Request succeeded.

400Bad Request
Content-Type: application/json
(InvalidTransactionIdError | AppTransactionIdNotSupportedError)

Invalid request.

401Unauthorized

The JSON Web Token (JWT) in the authorization header is invalid. For more information, see Generating JSON Web Tokens for API requests.

404Not Found
Content-Type: application/json
TransactionIdNotFoundError

The transaction identifier wasn’t found.

429
Content-Type: application/json
RateLimitExceededError

The request exceeded the rate limit.

500Internal Server Error
Content-Type: application/json
(GeneralInternalError | GeneralInternalRetryableError)

Server error. Try again later.

Mentioned in

Discussion

Use this endpoint to get transaction information for any transaction identifier, including original transaction identifiers. This endpoint supports all in-app purchase types, including consumable, non-consumable, non-renewing subscriptions, and auto-renewable subscriptions. It also supports transactions that your app marked as finished using finish() or finishTransaction(_:) in StoreKit.

See Also

Transaction information