API referenceF X

Convert at the locked rate

Post both legs at exactly the disclosed figures — AC1. 409 for a spent quote and 410 for an expired one, because the two need different things from the caller: one has already happened and must not be repeated, the other needs a fresh price.

POST
/api/b/v1/fx/quotes/{quote_id}/execute

Post both legs at exactly the disclosed figures — AC1.

409 for a spent quote and 410 for an expired one, because the two need different things from the caller: one has already happened and must not be repeated, the other needs a fresh price.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

Path Parameters

quote_id*Quote Id
Formatuuid
admin_access_token?string|null

Response Body

application/json

application/json

curl -X POST "https://example.com/api/b/v1/fx/quotes/497f6eca-6276-4993-bfeb-53cbbbba6f08/execute"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "sell_currency": "string",  "buy_currency": "string",  "sell_minor": 0,  "buy_minor": 0,  "margin_minor": 0,  "margin_bps": 0,  "provider_rate": "string",  "customer_rate": "string",  "provider": "string",  "status": "string",  "expires_at": "2019-08-24T14:15:22Z",  "transaction_id": "0fec1e58-b197-4052-99cf-2218496c5482",  "created_at": "2019-08-24T14:15:22Z"}