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.
Headers
x-user-ip
End user's originating IP. More details here
x-api-key
Your Partner API key. You can find this in the Partner Dashboard.
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 Quotes API.
paymentInstrumentId
Always credit_debit_card for placing an order with a saved card.
walletAddress
Destination crypto wallet address.
paymentIdentifierId
Identifier of the saved card, returned as paymentIdentifierId by the Get Saved Cards API.
additionalData
The destination URLs for redirecting the user after payment success or failure.
Response
Success
data
Order details returned after processing the card transaction session.
Errors
400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error