curl --request POST \
--url https://api.getsly.ai/v1/v1/ucp/settle/mandate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mandate_token": "<string>",
"amount": 123,
"currency": "USD",
"recipient": {
"type": "pix",
"pix_key": "<string>",
"pix_key_type": "cpf",
"name": "<string>",
"tax_id": "<string>"
},
"corridor": "auto",
"idempotency_key": "<string>",
"defer_settlement": false
}
'{
"data": {
"id": "<string>",
"token_id": "<string>",
"status": "pending",
"amount": 123,
"currency": "USD",
"corridor": "pix",
"created_at": "2023-11-07T05:31:56Z",
"tx_hash": "<string>",
"rail_reference": "<string>",
"completed_at": "2023-11-07T05:31:56Z"
}
}Issue and settle a UCP token backed by an AP2 mandate — no pre-issued token needed. Mandate scope is verified on execution.
curl --request POST \
--url https://api.getsly.ai/v1/v1/ucp/settle/mandate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mandate_token": "<string>",
"amount": 123,
"currency": "USD",
"recipient": {
"type": "pix",
"pix_key": "<string>",
"pix_key_type": "cpf",
"name": "<string>",
"tax_id": "<string>"
},
"corridor": "auto",
"idempotency_key": "<string>",
"defer_settlement": false
}
'{
"data": {
"id": "<string>",
"token_id": "<string>",
"status": "pending",
"amount": 123,
"currency": "USD",
"corridor": "pix",
"created_at": "2023-11-07T05:31:56Z",
"tx_hash": "<string>",
"rail_reference": "<string>",
"completed_at": "2023-11-07T05:31:56Z"
}
}API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
1x <= 100000USD, USDC Show child attributes
pix, spei, auto 64Settled
Show child attributes