improved

Cancel payment response improvements

We have added a new field in the cancel payment response to confirm that BILL has received your payment cancellation request. When you attempt to cancel a payment with POST /v3/payments/{paymentId}/cancel, you now get a cancelRequestSubmitted field in the response. This field is set as true if your cancel payment request is submitted.

Note: If the payment is canceled, the payment status is set as CANCELLED.

See POST /v3/payments/{paymentId}/cancel in the API reference for more information.