post
https://test-api.bill.pro/api/v2/profiles//payments//refund
Returns money from a successful payment to the customer's card, through Pay.on. You can refund all of it or part of it.
- Applies to: a successful
db(debit) orcp(capture). On a pre-authorised order, refund thecp, not thepa. Apawhose hold wasn't captured has nothing to refund: reverse it instead. - Partial refunds: send
amount. You can refund again until nothing is left.refundable_amounton the payment shows how much remains. - Afterwards: the refund is a new
rfpayment with its ownid. Itsoriginal_reference_idis the refunded payment'soriginal_id. Once refunds add up to the full amount, the original payment'srefundedistrue. - The currency is always the payment's. You can't change it.
A refund can't be undone.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…