curl --request POST \
--url https://api.getsly.ai/v1/v1/quotes/fx/lock \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_currency": "<string>",
"to_currency": "<string>",
"amount": "<string>",
"amount_side": "send",
"lock_duration_seconds": 3600
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"send_amount": "<string>",
"send_currency": "<string>",
"receive_amount": "<string>",
"receive_currency": "<string>",
"fee": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"provider": "<string>"
}
}Enterprise feature — lock a rate for minutes-to-hours at a higher spread. Returns a quote-like token usable on transfers within the lock window.
curl --request POST \
--url https://api.getsly.ai/v1/v1/quotes/fx/lock \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from_currency": "<string>",
"to_currency": "<string>",
"amount": "<string>",
"amount_side": "send",
"lock_duration_seconds": 3600
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rate": "<string>",
"send_amount": "<string>",
"send_currency": "<string>",
"receive_amount": "<string>",
"receive_currency": "<string>",
"fee": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"provider": "<string>"
}
}API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
Locked
Show child attributes