v1
latestOpenAPI 3.1.02026-07-245361280.3 KBCancel an authorization
This service allows you to cancel an authorized transaction before it's captured.
post/payments/{authorization_id}/cancel
Path parameters
authorization_idstring required
The Authorization ID.
Response
200
Example response
{
"id": "D-4-09f52dd0-5cfa-4b0e-a471-1608ea0dba24",
"amount": 120,
"currency": "USD",
"payment_method_id": "CARD",
"payment_method_type": "CARD",
"payment_method_flow": "DIRECT",
"country": "BR",
"created_date": "2019-02-07T17:37:36.000+0000",
"approved_date": "2019-02-07T17:37:36.000+0000",
"status": "CANCELLED",
"status_detail": "The payment was cancelled",
"status_code": "400",
"order_id": "be2fbac6-6114-44dc-a5f5-c4cdc38dda57",
"notification_url": "http://conductor.sandbox.internal/robot-server/rest/generic/notification/new"
}