Skip to navigation

Create Order (Open Banking)

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

Custodial wallets (Travel Rule)

  • If walletAddress is a custodial wallet, such as an exchange account, also send addressAdditionalData with the VASP details from the Get VASPs API. This is required for Travel Rule compliance. See Travel Rule Requirements.

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

x-user-ipstringRequired

End user’s originating IP. More details here

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

Transak Auth. The user’s accessToken from Transak’s OTP login, returned by the Verify User OTP API (/api/v2/auth/verify). Send the token on its own, with no Bearer prefix. It is valid for 30 days. Call the Refresh User Access Token API before it expires. Do not send x-access-token or x-user-identifier with it.

x-access-tokenstringOptional

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.

x-user-identifierstringOptional

Partner Auth (Auth Reliance). The email address of the user you authenticated. Send it with x-access-token.

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.
addressAdditionalDataobjectOptional

Required when walletAddress is a custodial (managed) wallet, such as an exchange account, for Travel Rule compliance. Get vaspName and vaspDid from the Get VASPs API. Leave it out for user-controlled wallets. See Travel Rule Requirements.

Response

Create Order - Bank Transfer

dataobject

Errors

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