To create a refund request via API, you simply need to send a request to the endpoint as shown in the example below.
Request:
https://api.pay4bit.net/v1/refundBody:
{
"payment_id": "32120",
"secret_key": "c3dz5fc9e6e3be44b551d5297df1f6d1"
}Response:
{
"success": "true",
"refund_amount": "99.9 USD"
}secret_key – Secret Key.