# Hosted Checkout API

> For the complete documentation index, see [llms.txt](https://docs.banxa.com/llms.txt). Append `.md` to any page URL for its markdown version.

Version: v2

## Servers

```
https://api.banxa.com
```

## Security

### sec0

Type: apiKey
In: header
Name: x-api-key

## Download OpenAPI description

 - [Hosted Checkout API](https://docs.banxa.com/_bundle/products/hosted-checkout/openapi.yaml)

 - [GET /{partner}/v2/fiats/{orderType}](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-a-list-of-fiats.md): Retrieve all available fiat currencies supported by Banxa.
 - [GET /{partner}/v2/crypto/{orderType}](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-a-list-of-cryptocurrencies.md): Retrieve all available cryptocurrencies supported by Banxa.
 - [GET /{partner}/v2/countries](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-a-list-of-countries.md): Provides a list of countries that are supported by Banxa. The list is the same regardless of whether a buy or sell order.
 - [GET /{partner}/v2/payment-methods/{orderType}](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-a-list-of-payment-methods.md): Retrieve all available payment methods or filter by fiat.
 - [GET /{partner}/v2/quotes/{orderType}](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-quotes.md): Allows you to retrieve a detailed quote for a user order. This endpoint should only be called when a user requests a quote by providing the cryptocurrency, fiat, amounts and payment method. This endpo
 - [POST /{partner}/v2/buy](https://docs.banxa.com/products/hosted-checkout/openapi/other/create-a-buy-order.md): Allows your customer to create a buy crypto 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
 - [GET /{partner}/v2/orders/{orderId}](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-a-specific-order.md): Retrieves details for single order.
 - [GET /{partner}/v2/orders](https://docs.banxa.com/products/hosted-checkout/openapi/other/retrieve-a-list-of-orders.md): Retrieves details for a bulk of orders that have been submitted within a given time range and optionally by order status or customer.
 - [POST /{partner}/v2/sell](https://docs.banxa.com/products/hosted-checkout/openapi/other/create-a-sell-order-2.md): Allows your customer to create a sell crypto 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
 - [POST /{partner}/v2/identities/token/share](https://docs.banxa.com/products/hosted-checkout/openapi/other/share-identity-token.md): Share a customer's Sumsub identity token with Banxa before creating an order. Banxa uses the token to retrieve KYC details directly from Sumsub, reducing re-verification friction in the checkout flow.
