Return all or part of a payment to your customer, from the portal or the API.
You can refund a paid invoice in full or in part, as many times as you need, up to the amount the customer paid. Refunds can be made from the portal or with the API.
Refund amounts are always in KWD
Whatever currency the invoice was created in, the refund
amountis in KWD. For example, to refund a 10 USD invoice in full, refund its KWDamount, not 10.
How the money is returned
Every refund uses one of two methods. Both return the money to the customer's card or account.
| Method | refund_Type | Where the money comes from | When it completes |
|---|---|---|---|
| Deduct from Balance | DeductFromBalance | Your pending SADAD Pay balance (money collected but not yet deposited to your bank) | Straight away |
| Pay Amount | PayAmount | You pay the refund amount yourself, through a SADAD Pay payment page | When you pay the refund invoice |
Not enough balance?
If you choose Deduct from Balance but your balance is lower than the refund, SADAD Pay switches to Pay Amount: it creates a refund invoice for you to pay. The API tells you which one happened (see Response).
Refund from the portal
- Go to Invoices and find the paid invoice.
- Click Refund in its row.
- Choose Deduct from Balance or Pay Amount. Your current balance is shown at the top.
- Enter the Amount To Refund in KWD. It starts at the full amount; change it for a partial refund.
- Add a Refund Reason and click Refund.

The Refund window in the portal
All your refunds are listed under Refunds, with their reference (REF-…), invoice, amount, method and status.
Refund with the API
POST /api/Refund/insert · API Reference
Request fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
invoice_Id | integer | Yes | The ID of the paid invoice | 92947 |
amount | number | Yes | The amount to refund, in KWD. Greater than 0, and no more than the amount not yet refunded. | 0.500 |
refund_Type | string | Yes | DeductFromBalance or PayAmount | "DeductFromBalance" |
currency_Code | string | Yes | Always KWD | "KWD" |
note | string | No | The reason for the refund, for your records | "Item returned" |
curl -X POST "https://apisandbox.sadadpay.net/api/Refund/insert" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"invoice_Id": 92947,
"amount": 0.500,
"refund_Type": "DeductFromBalance",
"currency_Code": "KWD",
"note": "Item returned"
}'
Response
There are two kinds of successful response. Check which field is in response:
{
"isValid": true,
"errorKey": null,
"response": {
"refund_Id": 1084
}
}
{
"isValid": true,
"errorKey": null,
"response": {
"invoice_Key": 2058589392950
}
}
{
"isValid": false,
"errorKey": "InvalidRefundAmount",
"response": null
}
| Response contains | What happened | What to do |
|---|---|---|
refund_Id | The refund was taken from your balance and is complete | Nothing. Save the refund_Id. |
invoice_Key | A refund invoice was created for you to pay. The refund completes once it is paid. | Pay it at https://sadadpay.net/pay/{invoice_Key} (Sandbox: https://sandbox.sadadpay.net/pay/{invoice_Key}). You can also find it in the portal under Invoices, with type Refund. |
Check a refund
GET /api/Refund/getbyid?id={refund_Id} returns one refund. GET /api/Refund/getallbypage lists your refunds, with filters such as code, status, date_From and date_To.
{
"isValid": true,
"errorKey": null,
"response": {
"id": 1084,
"code": "REF-01084",
"invoice_Id": 92947,
"invoice_Code": "INV-92947",
"amount": 0.5,
"currency_Code": "KWD",
"refund_Type": "DeductFromBalance",
"customerCredit_Amount": 0.5,
"vendorDebit_Amount": 0.5,
"fees_Amount": 0,
"status": "Completed",
"createDate": "11/16/2026 15:42:02"
}
}
Refund status | Meaning |
|---|---|
Started | A refund invoice was created and is waiting for you to pay it |
Completed | The refund is done |
| Field | Description |
|---|---|
customerCredit_Amount | The amount returned to the customer |
vendorDebit_Amount | The amount taken from you |
fees_Amount | Any fee charged for the refund |

Refunds in the portal: refund reference, invoice, amount, type (Deduct from Balance or Pay Amount) and status
How a refund shows on the invoice
When you get the invoice with GET /api/Invoice/getbyid:
refunded_Amountis the total refunded so far, in KWD.- Each refund is added to
transactionswith"request_Type": "Refund". - The invoice
statuschanges toRefundedwhen the full amount has been refunded. After a partial refund it staysPaid(orDeposited).
"status": "Paid",
"amount": 1.25,
"refunded_Amount": 0.5,
"transactions": [
{ "request_Type": "Refund", "status": "Success", "amount": 0.5 },
{ "request_Type": "Capture", "status": "Success", "amount": 1.25 }
]
Work out what is left to refund
The most you can still refund is
amount - refunded_Amount. An invoice is fully refunded whenrefunded_Amountequalsamount, and itsstatusis thenRefunded.
Supplier invoices
If you use Multi-Supplier payments, refund a supplier's part of an invoice with POST /api/Refund/InsertFoSupplier. It takes the same fields as Refund/insert, plus supplierId.
Common errors
| errorKey | Cause | How to fix |
|---|---|---|
InvalidRefundAmount | The amount is 0, or more than what is left to refund | Refund no more than amount - refunded_Amount |
null, with "refund_Id": 0 and "isValid": false | The invoice is not paid, or refund_Type is not valid | Refund only paid invoices, and use DeductFromBalance or PayAmount |
UnauthorizedAccess (HTTP 401) | The Access Token is missing, wrong or expired | Generate a new Access Token |
Next steps
- Update your orders when a refund happens. See Payment Status Guidelines.
- Check invoices and their refunds with Verify Payment Status.

