Create Order (with Saved Card)
The Create Order (with Saved Card) is an authenticated API that places a crypto buy order using a previously saved credit/debit card, based on the user’s reserved wallet address and quote ID.
Authentication: use either Transak Auth, which sends the user’s authorization token, or Partner Auth (Auth Reliance), which sends x-access-token and x-user-identifier. Do not send both. See the headers below.
Headers
End user’s originating IP. More details here
Your Partner API key. You can find this in the Partner Dashboard.
Partner Auth (Auth Reliance). Your Partner Access Token, valid for 7 days. Send it with x-user-identifier, and do not send authorization. See Auth Reliance Flows and how to create a Partner Access Token.
Partner Auth (Auth Reliance). The email address of the user you authenticated. Send it with x-access-token.
Request
Quote ID from the Quotes API.
Always credit_debit_card for placing an order with a saved card.
Identifier of the saved card, returned as paymentIdentifierId by the Get Saved Cards API.