Refund
Refund payment
POST {{base_url}}/v2/refund/
Allows PayNow payment to be refunded. Refund amount can't be greater than the amount paid.
Headers
Name
Type
Description
Content-Type*
application/json
Accept*
application/json
Request Body
Name
Type
Description
amount*
String
The payment amount required from the customer.
api_key*
String
This is supplier specific and provided by BUMPER
token*
String
Application token
invoice_number
String
The supplier invoice number
Name
Type
Description
succss
Boolean
true or false
message
String
Message will be displayed if required. For success it will be empty.
data*
Array
{
"success": true,
"message": "",
"data": {
"token": "01kb5gkadefnf6ztabr5sbnd0y",
"additional_data": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
}
}
}Name
Type
Description
succss
Boolean
true or false
message
String
Message will be displayed if required. For success it will be empty.
{
"success": false,
"message": "Token or preapproval token provided is Invalid."
}Last updated