Get Started

Cancel a Payment

This query allows you to request a payment cancellation.

Table - payments/{paymentId}

Resource Template
/customers{customerId}/batches/{batchId}/payments/{paymentId}
Http Method
 DELETE
Description Allows to request a payment cancellation. Once payment is cancelled it won't be accessible anymore. Payment ID can be re-used to submit new payment's details.
Input
{}
Output for successful cancellation
204 No Content{}
Output errors
404 Not Found
400 Bad request if a requested action can't be performed for a payment 
(with specific code indicating the reason)