Partial Refund
(TODO: Improve the texts. That was migrate as it is from confluence)
This document has the purpose of aiding the payment gateway users on how to request a partial refund of a successful payment.
Request
Information | Description |
---|---|
Host | Provided by boltPay |
Method | POST |
Endpoint | /v1/refund/{{paymentId}} |
Body | raw |
Content-Type | application/json |
Only some of partners has this improvement implemented:
PSP | Implemented Partial Refund |
---|---|
2C2P | Partial (Not all payment methods) |
Paymaya | No |
Homecredit | No |
Ascend | Yes |
DTAC | Yes |
Worldpay | No |
Request Body
{
"amount": "000000000200"
}
Response
Success
{
"success": true
}
Failure
{
"success": false
}