获取钱包交易流水详情。
备注: 这里返回的是列表形式,通常交易详情只有一条记录,在特殊情况下会返回列表,如”换汇“,会返回对应的收入/支出两条对应的记录。
| 字段 | 类型 | 是否必传 | 描述 |
|---|---|---|---|
| customer_id | long | 是 | 客户id |
| app_id | long | 是 | 应用id |
| key | string | 是 | 授权key |
| transaction_id | string | 是 | 交易 id |
{
"customer_id": 10001001,
"app_id": 100001,
"key": "ae9ae3f5ad284ef4836de18aa3d41c47",
"transaction_id": "10002024020407465400001000100182e74f720f9df26d"
}
| 字段 | 类型 | 是否必传 | 描述 |
|---|---|---|---|
| transaction_list | array[object] | 否 | 交易记录数组 |
| transaction_list.record_id | string | 否 | 交易记录id,如开卡订单id,付款id,收款id,可以结合 transaction_type 定位到相关记录 |
| transaction_list.transaction_id | string | 是 | 交易 id |
| transaction_list.out_transaction_id | string | 是 | 外部交易 id |
| transaction_list.in_out_type | int | 是 | 收支类型 1:收入 2:支出 |
| transaction_list.transaction_type | int | 是 | 交易类型 |
| transaction_list.transaction_desc | string | 是 | 交易类型描述 |
| transaction_list.amount | float | 是 | 交易余额,单位:元 |
| transaction_list.currency | string | 是 | 交易币种 |
| transaction_list.before_balance | float | 是 | 变动前金额 |
| transaction_list.after_balance | float | 是 | 变动后金额 |
| transaction_list.status | int | 是 | 交易状态 1:待审批 2:通过 3:拒绝 |
| transaction_list.reject_reason | string | 是 | 拒绝原因 |
| transaction_list.remark | string | 是 | 备注 |
| transaction_list.transaction_time | datetime | 是 | 交易时间 |
| transaction_list.create_at | datetime | 是 | 创建时间 |
{
"code": 0,
"message": "success",
"data": {
"transaction_list": [
{
"record_id": "",
"transaction_id": "300020240221051141000010000011fe4e6b5fb723e436",
"out_transaction_id": "pm_hNdzztERid5DVGf0",
"product_id": 3000,
"in_out_type": 2,
"transaction_type": 5010,
"transaction_desc": "付款",
"amount": 1025,
"currency": "USD",
"before_balance": 8475,
"after_balance": 7450,
"approve_type": 20,
"approve_at": "2024-02-21 05:11:44",
"status": 2,
"reject_reason": "",
"attach": "{\"customer_id\":10000011,\"app_id\":100001,\"wallet_sn\":\"037c90d5c0204d6c87bf21d569209b3a\",\"payee_id\":\"pe_dyBF25XLnbN7VsjC\",\"pay_out_amount\":1000,\"pay_out_currency\":\"USD\",\"exchange_rate\":7.9753392,\"entry_amount\":7965.33,\"entry_currency\":\"HKD\",\"fee_detail\":{\"fee\":25,\"pay_method\":\"SWIFT\",\"fee_mode\":\"SHA\",\"fee_rate\":0,\"our_fee\":25,\"sha_fee\":15,\"same_name_extra_fee\":10},\"payment_id\":\"pm_eNPPXVFmVqAEbvFB\"}",
"remark": "付款",
"transaction_time": "2024-02-21 05:11:41",
"create_at": "2024-02-21 05:11:42"
}
]
}
}