Cancel a collection instruction
Changed onCancel a collection instruction. Send the request without a body. Belvo sets the instruction to CANCELLED and cancels every item that is still PENDING or PROCESSING. Items that already reached a final status, such as CHARGE_SETTLED or COMPLETED, keep their status. Cancelling cannot be undone.
To stop monitoring only one item, cancel the item instead (PATCH /api/collection-instructions/{instruction_id}/items/{item_id}/).
Belvo doesn't check the instruction's current status, so cancelling an instruction that is already CANCELLED returns 200 again.
Errors: An instruction_id that doesn't exist or doesn't belong to your organization returns a 500 error. An instruction_id that is not a UUID returns a 404 error.
Request
- Base URLhttps://sandbox.belvo.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The id of the collection instruction you want to cancel.
Response
Ok
Example response
{
"id": "c2a6f1d4-7b3e-4f5a-9c8d-1e2f3a4b5c6d",
"link_id": "3b979abb-fd60-4d15-a655-8f462ca4ea8f",
"status": "PROCESSING",
"created_at": "2026-11-04T14:30:12.418230Z",
"updated_at": "2026-11-04T14:30:12.418230Z",
"items": [
{
"id": "8f14e45f-ceea-4e67-a3f2-2a1b9c3d7e10",
"amount": "150.00",
"external_id": "invoice-2026-11-0042",
"status": "PENDING",
"created_at": "2026-11-04T14:30:12.418230Z",
"updated_at": "2026-11-04T14:30:12.418230Z",
"collection_policies": [
{
"id": "5d41402a-bc4b-4a76-b971-9d911017c592",
"start_date": "2026-11-05",
"end_date": "2026-11-10",
"amount": "150.00",
"created_at": "2026-11-04T14:30:12.418230Z"
}
]
}
]
}Changes
- info
endpoint added
- info