post
https://test-api.bill.pro/api/v2/profiles//payments//reverse
Cancels a pre-authorisation and releases the whole hold on the customer's card. No money is taken. A reversal is always for the full amount.
- Applies to: a successful
pa(pre-authorisation) with nothing captured and not yet reversed. BillPro refuses apathat's fully captured or already reversed. - After a capture: you can't reverse. To give money back, refund the
cppayment instead. - Full amount only: send an empty body. A partial reversal isn't possible: if you send an
amount, the gateway declines it. - Declined: if the gateway declines the reversal, it's still saved as a new
rvpayment, withsuccessful: false. - Afterwards: the reversal is a new
rvpayment. Itsoriginal_reference_idis the pre-authorisation'soriginal_id. Thepa'srefundedbecomestrue, although no money was taken. There's no separate reversed flag. - A reversed pre-authorisation can't be captured.
A reversal can't be undone.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…