- 文档介绍
- 认证
- 账户
- 余额
- 申请收款账户
- 收款账户
- 收单
- 入账
- 汇率
- 换汇
- 付款
- 转账
- 流水
- 账户实名更新请求
- 收款人
- 模拟
- Webhooks
- 通知
根据 transaction ID 查询
GET
/v3/accounts/{account_id}/transactions/{id}
请求参数
Path 参数
account_id
string
账户 ID
id
string
必需
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo-api.easypayx.com/v3/accounts//transactions/' \
--header 'Authorization: Bearer '
返回响应
🟢200成功
application/json
Body
data
object (Transaction)
必需
id
string
流水 ID
account_id
string
账户 ID
currency
string
币种
amount
integer
金额
type
string
必需
order_type
string
订单类型
order_id
string
订单 ID
status
enum<string>
状态
枚举值:
PENDINGSUCCESSFAILED
create_time
string
必需
update_time
string
必需
示例
{
"data": {
"id": "string",
"account_id": "string",
"currency": "string",
"amount": 0,
"type": "string",
"order_type": "string",
"order_id": "string",
"status": "PENDING",
"create_time": "string",
"update_time": "string"
}
}
修改于 2024-04-10 02:41:52