本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
transactions.read
- Transactions Read OnlyAuthorization: Bearer ********************
curl --location --request GET 'https://echo.apifox.com/anything/transactions'
{
"status": 200,
"success": true,
"data": [
{
"id": 19940416533,
"customer": {
"id": 48447423,
"email": "customer@domain.com",
"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": "customer_email@domain.com",
"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"
}
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升