Transaction Session API
Creates a Headless Cards transaction session. Returns a sessionId for your integration. Requires a valid partner access token and approved KYC where applicable.
Headers
x-access-token
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
Note: This is applicable only for Auth Reliance Flows
x-user-identifier
The authenticated user’s email address. Note: This is applicable only for Auth Reliance Flows.
Request
This endpoint expects an object.
quoteId
Quote ID from the pricing API.
walletAddress
Destination crypto wallet address.
successUrl
Redirect URL on payment success.
failureUrl
Redirect URL on payment failure.
config
Additional optional UI configuration passed through to the session.
billingAddress
Auto-fetched from user profile if omitted.
Response
Success
data
Errors
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error