Light Mode
Transaction Details
GET
/transactions/{transaction_id}Last modified: 5 days ago
This endpoint allows you to fetch transaction details by passing the transaction_id
as a path parameter.
Request
Path Params
transaction_id
integer
required
Transaction ID. List of Transaction IDs can be found here
Example:
293485739
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Success (200)
{
"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"
}
}
Last modified: 5 days ago