Requesting an exchange is non binding, you can request as many exchanges as needed. Typically within your user experience tier, you are expected to poll this endpoint periodically when showing users quotes (e.g. every 3 seconds). When you are ready to accept a quote, see the accept exchange endpoint.
Note: Not all custodians support all order types. Where the order type is not possible (Quote/Market/Fix Destination/ Fix Source) an error will be returned.
Authorization | string OAuth bearer token (see authentication flows) |
x-l2f-request-id | string Optional Unique ID per request, useful for fault resolution/diagnosis and audit. |
x-l2f-idempotency-id | string Unique ID used to safely retry an operation. See idempotency section for more details. |
Success
Bad Request
Unauthorized
Not Found
Internal Error
{- "source_account_id": "string",
- "destination_account_id": "string",
- "amount": 0,
- "action": "FIX_DESTINATION",
- "description": "string"
}
{- "data": {
- "id": "string",
- "status": "REQUESTED",
- "created_timestamp": "2019-08-24T14:15:22Z",
- "exchange_type": "QUOTE",
- "action": "FIX_DESTINATION",
- "source_details": {
- "source_account_id": "string",
- "asset_type_id": "string",
- "amount_to_debit": 0
}, - "destination_details": {
- "destination_account_id": "string",
- "asset_type_id": "string",
- "amount_to_credit": 0
}
}
}