get
https://api-v2.honeycoin.app/api/b2b/quotes/
Retrieve a previously generated quote and check whether its status is active, consumed, or expired.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Look up the quote using the data.id returned at creation. Read data.status to decide whether you can still execute the swap or should reconcile a completed transaction.
data.status | What to do |
|---|---|
active | Submit the quote before data.expiresAt if the customer confirms the amounts. |
consumed | Fetch GET /api/b2b/transactions/{id} using data.consumedById. The swap settled at data.consumedAt. |
expired | Create a fresh quote and confirm the new amounts before executing. |
Access and lookup errors
Use a bearer token for the account and environment that created the quote. Production also checks the quote’s feature flag and the account’s active IP allowlist. In sandbox, use GET /api/sandbox/b2b/quotes/{quoteId}.
| HTTP response | Check |
|---|---|
400 PARAMS_VALIDATION_ERROR | Supply a valid quote ID in the path. |
400 QUERY_VALIDATION_ERROR | Remove query parameters. |
400 IP_NOT_ALLOWED | Check the server’s egress IP against your production allowlist. |
403 FORBIDDEN | Check that Swaps is enabled in production. |
404 NOT_FOUND | Check the ID, account, and environment. Deleted quotes also return this response. |
