POST
/
v1
/
refund

Headers

X-BUSINESS-API-KEY
string
required

Body

application/json
amount
integer
required

Amount to refund

payment_id
string
required

Payment ID for the successful payment request

webhook
string

The webhook URL

send_email
boolean
email
string

Response

200 - application/json
id
string
payment_id
string
amount_refunded
integer
default: 0
total_amount
number
default: 0
currency
string
status
string
default: succeeded
payment_method
string
created_at
string