post
https://api-v2.honeycoin.app/api/b2b/quotes
Generate a single-use, time-limited FX quote for a supported B2B product type (currently swap).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Lock a rate and receiver amount for one swap. The quote can be shown to a customer before funds move.
Build the request
Send type: "swap", a positive senderAmount, and both currencies. Select the country for each XOF leg. To move XOF between Benin and Senegal, for example, use senderCountry: "BJ" and receiverCountry: "SN". Currency and country codes
Use the quote
On 201 Created | Use it to |
|---|---|
data.id | Identify the quote. Send this value as quoteId when creating the swap. |
data.exchangeRate, data.receiverAmount | Show the rate and the amount the destination ledger will receive. |
data.expiresAt | Set the confirmation deadline using the returned Unix timestamp in milliseconds. |
Production access. An onboarded, approved account with Swaps enabled can create quotes from an allowed IP. In sandbox, use POST /api/sandbox/b2b/quotes with a sandbox bearer token.
