v1
latestOpenAPI 3.1.02026-07-26500375.1 KBCancel Payment API
The following endpoint cancels a single Payment
put/payments/{id}/cancel
Path parameters
idstring required
Unique identifier of the Payment to be cancelled
Response
200
Example response
{
"data": {
"id": "pay_ohXLNm2fPw6868",
"status": "cancelled",
"order_id": "ord_Dg0Dz9wwKP1602",
"created_at": "2020-11-19T22:09:48Z",
"updated_at": "2020-11-26T20:02:24.561169Z"
}
}