new or pending state can be cancelled through this endpoint; once an action has been created (or the intent has moved past those states for any other reason) it can no longer be cancelled here. The transition is race-safe: it is applied as an atomic, status-guarded update, so a cancellation that lands concurrently with a POST /payout-intent-actions request for the same intent cannot succeed against an intent an action has just been created for. This endpoint is unrelated to DELETE /payout-intent-schedules/{id}, which cancels an active recurring/scheduled intent's schedule rather than the intent itself.curl --location --request DELETE '/payout-intents/01J3KQZM0000000000000000AB' \
--header 'Authorization: Bearer <token>'{
"message": "Payout intent cancelled successfully",
"status": "success",
"data": {
"id": "01J3KQZM0000000000000000AB",
"entity_id": "01HQZR2BKPFQ8MXJVT3G7LWNA",
"account_id": "01HQZR2BKPFQ8MXJVT3G7LWNE",
"currency": "NGN",
"amount": 500000,
"client_reference": "payout-ref-20260812-001",
"client_meta": {
"invoice_id": "inv-88213"
},
"system_meta": null,
"status": "cancelled",
"reason": "Vendor reimbursement for Q3 logistics",
"supporting_documents": [
{
"title": "Vendor invoice",
"type": "invoice",
"url": "https://files.example.com/invoices/inv-88213.pdf"
}
],
"status_reason": null,
"status_code": null,
"type": "single",
"counterparty": {
"email": "vendor@example.com",
"account_number": "0123456789",
"bank_code": "058"
},
"maker_checker_approver_group_id": null,
"fully_approved_at": null,
"schedule": null,
"action_template": null,
"next_run_at": null,
"occurrence_count": null,
"last_fired_at": null,
"created": 1754524800000,
"updated": 1754611200000
}
}