Refunds
The Refunds API allows you create and manage transaction refunds.
Last updated
The Refunds API allows you create and manage transaction refunds.
Last updated
POST
https://api.lahza.io/refund
Initiate a refund on your integration
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.lahza.io/refund/:reference
Get details of a refund on your integration
GET
https://api.lahza.io/refund
List refunds available on your integration.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
authorization*
String
Set value to Bearer SECRET_KEY
content-type*
String
Set value to application/json
transaction*
String
Transaction reference or id
amount
String
Amount ( in agora if currency is ILS, qirsh, if currency is JOD, and cents, if currency is USD ) to be refunded to the customer. Amount is optional(defaults to original transaction amount) and cannot be more than the original transaction amount.
currency
String
Three-letter ISO currency. Allowed values are: ILS, JOD or USD
customer_note
String
Customer reason
merchant_note
String
Merchant reason
reference*
String
Identifier for transaction to be refunded
authorization*
String
Set value to Bearer SECRET_KEY
reference
String
Identifier for transaction to be refunded
currency
String
Three-letter ISO currency. Allowed values are: ILS, JOD or USD
page
integer
Specify exactly what refund you want to page. If not specify we use a default value of 1.
perPage
integer
Specify how many records you want to retrieve per page. If not specify we use a default value of 50.
to
date
A timestamp at which to stop listing refund e.g. 2016-09-21
from
date
A timestamp from which to start listing refund e.g. 2016-09-21
authorization*
String
Set value to Bearer SECRET_KEY