Key points
- trade_no identifies the original order. A live refund requires out_refund_no as the merchant idempotency reference.
- amount is an optional positive integer in minor units; omit it to refund the remaining refundable amount.
- Refunds may be asynchronous. Check pending, succeeded, or failed and use signed refund events before treating funds as settled.
Example
bash
curl "https://api.kukopay.com/v1/refunds/REF_20260921_0001" \
-H "X-Api-Key: $KUKOPAY_API_KEY"