Query Refund
POSThttps://open.paycloud.africa/api/entry/refundquery
If a refund is required after payment is completed, you can apply for a refund through this API. Once the payment gateway confirms the legality of the refund request, the amount will be refunded to the payer according to the established refund criteria.
- Multiple partial refunds can be made using the original order number. However, the total amount of all refunds should not exceed the original payment amount. Normally, a partial refund for an order should not exceed 50 transactions.
- After a refund, you should use the [Query Refund] API to check its status. Please remember that refunds may not be immediate and may be affected by specific payment channel policies.
Here is a Java code example
Request
Responses
- 200
success
Response Headers
- curl
- java
- php
- csharp
- python
- nodejs
- go
- ruby
- CURL
curl -L 'https://open.paycloud.africa/api/entry/refundquery' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"app_id": "string",
"format": "string",
"charset": "string",
"sign_type": "RSA2",
"sign": "string",
"version": "string",
"timestamp": 0,
"method": "string",
"merchant_no": "string",
"merchant_order_no": "string",
"trans_no": "string"
}'
ResponseClear