Skip to main content
POST
/
v1
/
ucp
/
quote
Request a rail quote
curl --request POST \
  --url https://api.getsly.ai/v1/v1/ucp/quote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "currency": "USD",
  "corridor": "pix"
}
'
{
  "data": {
    "corridor": "pix",
    "amount": 123,
    "currency": "USD",
    "rate": "<string>",
    "fee": "<string>",
    "receive_amount": "<string>",
    "receive_currency": "<string>",
    "expires_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Body

application/json
amount
number
required
Required range: x <= 100000
currency
enum<string>
required
Available options:
USD,
USDC
corridor
enum<string>
Available options:
pix,
spei,
auto

Response

Quote

data
object
required