Official Banxa Enterprise API Specs
- Ramps enable Fiat to Crypto and Crypto to fiat on and off ramp.
Your defined ID for associating an order with. You may use this to differentiate between your customers.
ASCII letters, digits, and hyphen only, A unique customer identifier provided by you. This field is required and must be unique for each customer. Please ensure you consistently reuse the same identityReference for repeat interactions with the same customer, allowing us to reliably recognize and associate their identity.
The blockchain that is associated with the crypto token.
The wallet address that will be used to send the crypto. This will also be the wallet address used for refunds if a refund is necessary.
The fiat currency to be received. Must be formatted as an ISO 4217 code.
The payment method used for the ramp.
The payment instructions that you provide to Banxa. It will be the where the payout will be made to and will differ per payment method.
The payment instructions for the bank transfer in Australia.
The account name for the bank transfer.
The account number for the bank transfer.
- Mock serverhttps://banxa-enterprise.redocly.app/_mock/enterprise-api/v0-beta/openapi/eapi/v0/ramps
- Production environment serverhttps://api.banxa.com/eapi/v0/ramps
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/ramps
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://banxa-enterprise.redocly.app/_mock/enterprise-api/v0-beta/openapi/eapi/v0/ramps \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"subPartnerId": "2125",
"identityReference": "c-13344",
"source": {
"crypto": {
"id": "ETH",
"blockchain": "ethereum",
"walletAddress": "0xc292474673cf1a96a96e8c56ec4f45ecf2e0b448",
"walletAddressMemo": "1234"
}
},
"target": {
"fiat": {
"id": "GBP",
"method": "payid-bank-transfer",
"instructions": [
{
"accountName": "John Citizen",
"accountNumber": "12345678",
"bsb": "26195"
}
]
}
},
"cryptoAmount": "100"
}'Successful ramp response
Your defined ID for associating an order with. You may use this to differentiate between your customers.
ASCII letters, digits, and hyphen only, A unique customer identifier provided by you. This field is required and must be unique for each customer. Please ensure you consistently reuse the same identityReference for repeat interactions with the same customer, allowing us to reliably recognize and associate their identity.
| Status | Description |
|---|---|
| INITIALIZED | The request has been accepted and is queued for processing. |
| AWAITING_FUNDS | The order is ready; awaiting receipt of funds at the specified wallet address. |
| FUNDS_RECEIVED | Funds have been successfully received at the destination wallet address. |
| UNDER_REVIEW | The order is undergoing compliance and security review. |
| COMPLETED | The order is finalized: funds have been secured and fiat disbursed to the customer’s method. |
| CANCELLED | The order has been cancelled and will not proceed. |
| REFUNDED | The amount has been returned to the customer’s wallet address. |
The blockchain that is associated with the crypto token.
The wallet address that will be used to send the crypto. This will also be the wallet address used for refunds if a refund is necessary.
The transaction hash of the crypto transfer.
The blockchain network fee required to process the transaction.
The UTC date time of creation.
{ "id": "4002", "subPartnerId": "2125", "identityReference": "c-13344", "status": "INITIALIZED", "source": { "crypto": { … }, "amount": "105" }, "target": { "fiat": { … }, "amount": "100.5" }, "sourceDepositInstructions": { "walletAddress": "0x46B2E9701FE4F6C0A23533D196DbBE7EfEeDea4F", "walletAddressMemo": "1684" }, "receipt": { "sourceTransactionHash": "0x637f3f8c7b15a83657901ca9f9e0134f0b7dad09e09fbac8a637d026343f586e", "gatewayFee": "1.95", "networkFee": "1.95", "sourceAmount": "100", "targetAmount": "100" }, "createdAt": "2023-05-05T19:53:08.320Z", "completedAt": "2023-06-05T19:53:08.320Z" }
- Mock serverhttps://banxa-enterprise.redocly.app/_mock/enterprise-api/v0-beta/openapi/eapi/v0/ramps/{ramp_id}
- Production environment serverhttps://api.banxa.com/eapi/v0/ramps/{ramp_id}
- Sandbox environment serverhttps://api.banxa-sandbox.com/eapi/v0/ramps/{ramp_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://banxa-enterprise.redocly.app/_mock/enterprise-api/v0-beta/openapi/eapi/v0/ramps/b7f1ffbb2f1bd7a5e2ba152b4049d234 \
-H 'Authorization: YOUR_API_KEY_HERE'Successful ramp response
Your defined ID for associating an order with. You may use this to differentiate between your customers.
ASCII letters, digits, and hyphen only, A unique customer identifier provided by you. This field is required and must be unique for each customer. Please ensure you consistently reuse the same identityReference for repeat interactions with the same customer, allowing us to reliably recognize and associate their identity.
| Status | Description |
|---|---|
| INITIALIZED | The request has been accepted and is queued for processing. |
| AWAITING_FUNDS | The order is ready; awaiting receipt of funds at the specified wallet address. |
| FUNDS_RECEIVED | Funds have been successfully received at the destination wallet address. |
| UNDER_REVIEW | The order is undergoing compliance and security review. |
| COMPLETED | The order is finalized: funds have been secured and fiat disbursed to the customer’s method. |
| CANCELLED | The order has been cancelled and will not proceed. |
| REFUNDED | The amount has been returned to the customer’s wallet address. |
The blockchain that is associated with the crypto token.
The wallet address that will be used to send the crypto. This will also be the wallet address used for refunds if a refund is necessary.
The transaction hash of the crypto transfer.
The blockchain network fee required to process the transaction.
The UTC date time of creation.
{ "id": "4002", "subPartnerId": "2125", "identityReference": "c-13344", "status": "INITIALIZED", "source": { "crypto": { … }, "amount": "105" }, "target": { "fiat": { … }, "amount": "100.5" }, "sourceDepositInstructions": { "walletAddress": "0x46B2E9701FE4F6C0A23533D196DbBE7EfEeDea4F", "walletAddressMemo": "1684" }, "receipt": { "sourceTransactionHash": "0x637f3f8c7b15a83657901ca9f9e0134f0b7dad09e09fbac8a637d026343f586e", "gatewayFee": "1.95", "networkFee": "1.95", "sourceAmount": "100", "targetAmount": "100" }, "createdAt": "2023-05-05T19:53:08.320Z", "completedAt": "2023-06-05T19:53:08.320Z" }
The ID of the ramp, returned on creation of a ramp, or via the GET ramp endpoint.
| Status | Description |
|---|---|
| IN_PROGRESS | Order is in progress. |
| REFUNDED | Order has been refunded |
| EXPIRED | Order has expired. |
| FULFILLED | Order has been completed. |
| EXTRA_VERIFICATION | Customer requires extra verification. |
| COIN_DEPOSIT_READY | Coin deposit is ready. |
| COIN_DEPOSIT_CONFIRMED | Coin deposit has been confirmed. |
| COIN_TRANSFERRED | Coin has been transferred. |
| FIAT_TRANSFERRED | Fiat has been transferred. |
| CUSTOMER_BLACKLISTED | Customer has been blacklisted, a separate webhook will be sent with the Identity reference of the customer |
| PAYMENT_READY | Payment is ready to be processed. |
| PAYMENT_ACCEPTED | Payment has been accepted for the order |
| PAYMENT_RECEIVED | Payment has been received. |
| PAYMENT_DECLINED | Payment has been declined. |
| PAYMENT_CANCELLED | Payment has been cancelled. |
The internal body for this inbound message containing the reason of the message, this is for internal use.
The external reason to provide to your customer via your designated messaging channel.
- Mock serverhttps://banxa-enterprise.redocly.app/_mock/enterprise-api/v0-beta/openapi/rampMessage
- Production environment serverhttps://api.banxa.com/rampMessage
- Sandbox environment serverhttps://api.banxa-sandbox.com/rampMessage
{ "order_id": "fd04c5780062121628e05324003eef30", "status": "IN_PROGRESS", "status_date": "2023-06-05 19:53:08", "created_at": "2023-06-02 14:44:00", "updated_at": "2023-06-09 13:53:08", "internal_reason": "Order is in progress", "external_reason": "Your payment was successfully received. Your order is now being processed.", "order_type": "ONRAMP", "crypto_coin": "ETH", "crypto_blockchain": "ETH", "crypto_amount": "0.228632", "fiat_currency": "USD", "fiat_amount": "100", "asset_price": "0.018656", "payment": "100", "processing_fee": "1.95", "network_fee": "2.33", "usd_exchange_rate": "1.36", "transaction_hash": "0x9401a7173d7bd2ad73e8b798fdc30c83fb0529e6edbad163c549a5ad136407be" }