Create NFT Order

Allows your customer to create a Fiat to NFT order with Banxa. Upon success, the response will contain a checkout URL which will be unique for the order. The customer will be redirected to this URL to complete the checkout process, which will expire after 1 minute if a redirect does not occur.

Body Params
string
required

Unique customer reference provided by you to identify the order in our system

int32

Payment method ID associated with the order.

string
required

Source currency code. i.e. USD, CAD etc.

string

Source amount

string
required

Target cryptocurrency code. The cryptocurrency the NFT is listed in.

string

Target amount. This will be overridden if a source_amount is also passed.

string
required

Wallet address to receive NFT.

string
required

Blockchain network code. If not provided, the default blockchain configured for the cryptocurrency will be used. Refer to the Get Crypto Currencies endpoint to retrieve a list of supported blockchain network codes.

string
required

Return URL when the customer has completed the checkout process.

string

Return URL when the customer cancels the checkout process.

string

Return URL when the customer fails to complete the checkout process.

string

Used if you are embedding an iFrame. This must be the exact domain where the iFrame will be hosted. e.g. [yourCompany].com. Do not include https:// in front of the domain.

meta_data
object
Headers
string
Defaults to application/json
string

This is the correlation ID related to the request.

Responses

Language
Credentials
Header
Request
Response
Choose an example:
application/json