Path parameters
Request body
reason is optional and has a 500-character maximum.
Response
status: "cancelled".Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Request cancellation of a merchant-owned payment before funding or where the current state permits it.
POST /v1/partner/payments/:paymentId/cancel
| Parameter | Required | Description |
|---|---|---|
paymentId | Yes | Merchant-owned payment to cancel. |
{"reason":"customer_changed_mind"}
reason is optional and has a 500-character maximum.
{
"payment_id": "pay_...",
"status": "cancelled",
"terminal": true,
"successful": false,
"funds_moved": false,
"next_action": {"type":"none","instruction":"No action is required.","poll_after_seconds":null},
"payment_instruction": null
}
status: "cancelled".