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