Payments - Cancel

POST {{baseUrl}}/payments/:id/cancel

A Payment could can be cancelled when it is in one of these statuses: requirespaymentmethod, requirescapture, requiresconfirmation, requirescustomeraction

Request Body

{"cancellation_reason"=>"requested_by_customer"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring