Transaction Details
GET
/transactions/{transaction_id}This endpoint allows you to fetch transaction details by passing the transaction_id
as a path parameter.
Request
Transaction ID. List of Transaction IDs can be found here
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique alphanumeric code assigned to each individual transaction. List of transactions can be found here.
Transaction notes
{
"status": 200,
"success": true,
"data": {
"id": 1924095294,
"customer": {
"id": 1183285131,
"email": "[email protected]",
"mobile": "+966567382902",
"first_name": "Ahmed",
"last_name": "Saleh"
},
"references": {
"order_id": 1505493897,
"cart_id": 1649051320,
"transaction": 849383649505
},
"total": {
"amount": 129,
"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": "987654xxxxxx1234",
"country": "SA"
},
"available_actions": [
"refund",
"print"
],
"created_at": {
"date": "2024-07-02 16:56:21.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"notes": "Transaction Notes"
}
}