Create a Refund
- Mock serverhttps://docs.taluspay.com/_mock/openapi/v1/refunds
- Production environment onboardinghttps://api.taluspay.com/v1/refunds
- Sandbox environment onboardinghttps://api.taluspay-sandbox.com/v1/refunds
curl -i -X POST \
https://docs.taluspay.com/_mock/openapi/v1/refunds \
-H 'Content-Type: application/json' \
-d '{
"charge_id": "ch_01j8emz8chfxbb2bqmtref8ch7",
"merchant_id": "merchant_02c7h71rf3eg396idngupsr66t",
"amount": 100
}'Refund created successfully
Unique identifier for the merchant
Example:"merchant_02c7h71rf3eg396idngupsr66t"
Response
{ "id": "re_01j8emz8chfxbb2bqmtref8ch7", "charge_id": "ch_01j8emz8chfxbb2bqmtref8ch7", "merchant_id": "merchant_02c7h71rf3eg396idngupsr66t", "amount": 100, "created_at": 1727875117482 }