POST /v2/payments/refundApply
Initiates a refund for a previously completed payment. Supports full and partial refunds.
Request Parameters
Original payment identifier to refund.
Merchant-generated unique refund ID (idempotency key).Max length: 64 characters
Refund amount details.
Reason for the refund (shown to customer).Max length: 256 characters
Webhook URL for refund status notifications.
Response Parameters
Standard result object
Rebell-assigned refund identifier
Echo of merchant refund request ID
Confirmed refund amount
Refund processing time (ISO 8601)
Example Request
Example Response
Result Codes
| resultStatus | resultCode | Description | Action |
|---|---|---|---|
S | SUCCESS | Refund processed | Update order status |
F | ORDER_NOT_EXIST | Original payment not found | Verify paymentId |
F | REFUND_AMOUNT_EXCEED | Refund exceeds available amount | Check refund amount |
F | REFUND_NOT_ALLOWED | Payment cannot be refunded | Check payment status |
U | REFUND_IN_PROCESS | Refund processing | Poll with inquiryRefund |
Partial Refunds
You can issue multiple partial refunds against a single payment, as long as the total refund amount doesn’t exceed the original payment:Related
Inquiry Refund
Check refund status