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

email
string
send_email
boolean
webhook
string

The webhook URL

Response

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