curl --request POST \
--url https://api.getsly.ai/v1/v1/ucp/checkouts/batch-complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"checkout_ids": [
"<string>"
],
"payment_method_id": "<string>"
}
'{
"total": 123,
"completed": 123,
"failed": 123,
"results": [
{
"checkout_id": "<string>",
"status": "<string>",
"error": "<string>"
}
]
}Complete payments for many checkouts at once — e.g. when a platform settles an end-of-day batch.
curl --request POST \
--url https://api.getsly.ai/v1/v1/ucp/checkouts/batch-complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"checkout_ids": [
"<string>"
],
"payment_method_id": "<string>"
}
'{
"total": 123,
"completed": 123,
"failed": 123,
"results": [
{
"checkout_id": "<string>",
"status": "<string>",
"error": "<string>"
}
]
}API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).