Light Mode
List Transactions
GET
/transactionsLast modified: 2 months ago
This endpoints allows you to list all of the Store Owner's payment transactions
Request
Query Params
page
integer
optional
Pagination Page
Example:
1
last_4_digit
integer
optional
Account's Last 4 Digits
Example:
8490
status
enum<string>
optional
Payment Status, as shown in the enum values
Allowed values:
initiatedpendingpaidcanceledrefundedpartial_refunded
Example:
paid
amount
number
optional
Amount Paid
Example:
100
order_id
integer
optional
The unqiue ID of the Order. List of Order IDs can be found here
Example:
982374933
Request samples
Responses
Success(200)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
ExampleSuccess (200)
{
"status": 200,
"success": true,
"data": [
{
"id": 19940416533,
"customer": {
"id": 48447423,
"email": "[email protected]",
"mobile": "+966512345678",
"first_name": "Ahmed",
"last_name": "Adel"
},
"references": {
"order_id": 413420930,
"cart_id": 171420334123,
"transaction": 44556293650
},
"total": {
"amount": 121,
"currency": "SAR"
},
"payment_method": {
"name": "mada",
"slug": "mada",
"icon": "https://cdn.assets.salla.network/prod/admin/cp/assets/images/payment_methods/4.png"
},
"status": {
"name": "مؤكدة",
"slug": "paid"
},
"card": {
"brand": "mada",
"number": "123123xxxxxx6789",
"country": "SA"
},
"available_actions": [
"refund",
"print"
],
"created_at": {
"date": "2024-07-04 03:33:36.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"notes": null
},
{
"id": 7172398767,
"customer": {
"id": 357838499,
"email": "[email protected]",
"mobile": "+966591234567",
"first_name": "Customer",
"last_name": "Name"
},
"references": {
"order_id": 637894790,
"cart_id": 1044130972,
"transaction": 555984480243
},
"total": {
"amount": 121,
"currency": "SAR"
},
"payment_method": {
"name": "mada",
"slug": "mada",
"icon": "https://cdn.assets.salla.network/prod/admin/cp/assets/images/payment_methods/4.png"
},
"status": {
"name": "ملغية",
"slug": "canceled"
},
"card": {
"brand": "mada",
"number": "123123xxxxxx4567",
"country": "SA"
},
"available_actions": [
"refund"
],
"created_at": {
"date": "2024-06-30 05:01:13.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"notes": "تم رفض العملية من قبل البنك يرجى استخدام وسيلة دفع اخرى"
}
],
"pagination": {
"count": 4,
"total": 19,
"perPage": 15,
"currentPage": 2,
"totalPages": 2,
"links": {
"next": "http://api.salla.dev/admin/v2/payment/transactions?page=2"
}
}
}
Last modified: 2 months ago