Refund an Installment

The Amwal Installment API provides comprehensive refund functionality for installment transactions, supporting both partial and full refunds for online and in-store installment.

๐Ÿ”— API Endpoint

POST /transactions/refund/{transaction_id}/

Refund a specific installment transaction by providing the transaction ID and refund amount.

Request Parameters

ParameterTypeRequiredDescription
transaction_idstring (UUID)โœ…Unique transaction ID to refund from installment payment
refund_amountnumberโœ…Refund amount (must be > 0 and โ‰ค original transaction amount)

Request Examples

{
  "refund_amount": 299.99
}

Success Response

{
  "status": "success",
  "key_type": "RefundReference", 
  "key": "2025001773"
}
FieldDescription
statusRefund processing status
key_typeType of reference key provided
keyRefund reference number for tracking

Error Responses (400)

The amount could be non refundable due to below error responses

{
  "detail": "This transaction is not refundable"
}
{
"detail": "Merchant account has insufficient balance for this refund"
}

Refund Use Cases

Product Returns

Process full or partial refunds for returned merchandise from installment purchases

Billing Corrections

Handle billing errors and overcharges on installment transactions

Order Modifications

Support partial refunds when customers modify their installment orders

Customer Satisfaction

Process goodwill refunds to maintain customer relationships

๐Ÿ“Œ Important Notes

  • Online Refunds: May take 3โ€“5 business days depending on the payment method
  • Bank Installments: Processing time varies by issuing bank (typically 5-7 business days)
  • Minimum Requirements: Bank installment refunds require original transaction โ‰ฅ 1,000 SAR
  • Partial Refunds: Supported for order modifications and returns
  • Reference Tracking: Always store the refund reference key for customer service inquiries