API Reference

/V3/Banxa/Buy

Building a Payment Token Request for Buy Orders
Buy orders require the following mandatory fields:

  • bill_cardholder: the customer's unique ID
  • bill_currencycode: a supported fiat currency e.g. USD
  • target_currency: a supported cryptocurrency e.g. BTC
  • wallet_address: the address associated with the cryptocurrency being purchased
  • returnUrl: used to return the customer to your website once the order is completed
  • serverUrl:used to send webhooks when certain order statuses are reached.

The iframe_domain should be the exact domain that you will be using to host the iFrame e.g. binance.beta.io, and NOT your Banxa domain that was provided to you e.g. binance.banxa.com. Our CSP headers will then allow this frame-ancestor to be using Banxa checkout in an iFrame element.

Do not include https:// in front of the domain.

Language
Click Try It! to start a request and see the response here!