Create Order

View as Markdown
The **Create Order** is an **authenticated API** that is a crucial step in **Transak's transaction flow**, allowing users to place a **crypto buy or sell order** based on their **reserved wallet address** and quote ID. This API ensures that the **order is securely created** and **ready for payment processing**. **Open Banking** - paymentInstrumentId should be passed as `pm_open_banking`

Headers

x-user-ipstringRequired

End user’s originating IP. More details here

x-api-keystringRequired
Partner API Key present in Transak Dashboard.
authorizationstringOptional

Authorization token is the accessToken received from the API - api/v2/auth/verify

Note: This is not applicable for Auth Reliance Flows

x-user-identifierstringOptional

Your authenticated user Email Id address.

Note: This is applicable only for Auth Reliance Flows

x-access-tokenstringOptional

Your Partner Access Token. Please refer here for a tutorial on generating your access token.

Note: This is applicable only for Auth Reliance Flows

Request

This endpoint expects an object.
quoteIdstringRequired

Quote ID generated from api/v2/lookup/quotes

paymentInstrumentIdenumRequired

Use pm_open_banking for Open Banking.

Allowed values:
walletAddressstringRequired
Destination crypto wallet address.

Response

Create Order - Bank Transfer

dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error