查询单笔银行转账的详细信息
查询单笔银行转账的详细信息
查询指定钱包的某笔银行转账的详细信息。
HTTP请求
GET
/wallets/{{walletId}}/banktransfer/{{transactionId}}
Content-Type: application/json
{
"statusCode": 200,
"errorMsg": "",
"idempotencyKey":"09461d96-2252-11eb-adc1-0242ac120002",
"targetName": "{{TARGET_PERSON_FULL_NAME}}",
"targetDocument": "{{TARGET_PERSON_CPF}}",
"targetBankName": "{{TARGET_BANK_NAME}}",
"targetBankCode": "{{TARGET_BANK_CODE}}",
"targetBankBranchId": "{{TARGET_BANK_BRANCH_ID}}",
"targetBankAccountId": "{{TARGET_BANK_ACCOUNT_ID}}",
"amount": 100,
"currency": "BRL",
"transferStatus":"IN_PROGRESS",
"transferErrorMsg": null
}
HTTP Headers 字段说明
Key | Value |
---|---|
Authorization | "bearer"+ "" + {{access_token}} |
路径参数
参数 | 是否必填 | 类型 | 描述 |
---|---|---|---|
walletId | String | 被查询钱包的钱包ID | |
transactionId | String | 被查询的单笔银行转账的交易号 |
Response Body 字段说明
参数 | 类型 | 描述 |
---|---|---|
statusCode | int | 状态代码,200 代表成功2, 401 访问受限, 422 参数错误, 500 内部错误 |
errorMsg | String | 如果查询失败,返回的错误信息 |
idempotencyKey | String | 银行转账的交易号 |
targetName | String | 目标账号的收款人全名 |
targetDocument | String | 目标账号的收款人的身份ID,例如巴西的CPF |
targetBankName | String | 目标账号的银行名称 |
targetBankCode | String | 目标账号的银行代码 |
targetBankBranchId | String | 目标账号的银行分支码 |
targetBankAccountId | String | 目标账号的账号ID |
amount | String | 转账金额 |
currency | String | 转账货币单位,例如巴西的BRL |
transferStatus | String | 交易状态,枚举值,SETTLED, IN_PROGRESS 或者 FAILED。 |
transferErrorMsg | String | 如果交易失败,返回的错误信息 |