Transaction Session API
Creates a Headless Apple Pay transaction session. Returns a sessionId for your integration. Requires a valid user access token and approved KYC where applicable.
Note: Ensure the quoteId was generated with paymentMethod set to apple_pay.
Headers
x-user-ip
End user’s originating IP. More details here
x-api-key
Partner API Key present in Transak Dashboard.
x-access-token
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
x-user-identifier
Your authenticated user Email Id address.
Note: This is applicable for Headless Apple Pay(with Auth Reliance and KYC) Flow
Request
This endpoint expects an object.
quoteId
Quote ID from the Quotes API.
walletAddress
Destination crypto wallet address.
config
Additional optional UI configuration passed through to the session.
Response
Success
data
Errors
400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error