付款方式查询
接口信息
- 路径:
api/v1/acct/queryPaymentMethods - 方法: POST
- Content-Type: application/json
业务说明
- 不同国家支持的付款方式可能不同,用于查询特定国家和币种支持的付款方式
- 在添加收款人前调用,确认目标国家支持的付款方式
请求参数
请求体
| 参数名 | 类型 | 说明 | 是否必填 |
|---|---|---|---|
| merchantNo | string | 商户号 | M |
| destinationCountry | string(10) | 付款地区,如:PH | M |
| accountCurrency | string(10) | 账户币种,如:PHP | M |
| entityType | string(1) | 主体类型 [0:公司,1:个人] | M |
| sign | string | 签名 | M |
请求示例
json
{
"merchantNo": 801129,
"destinationCountry": "US",
"accountCurrency": "USD",
"entityType": "0",
"sign": "d2ea92efff636320122021f65b613201403f6d34334cfbc7e589ce9f842982e3"
}响应结果
响应体
| 参数名 | 类型 | 说明 |
|---|---|---|
| respCode | string | 响应码 |
| respMsg | string | 响应信息 |
| data | object | 响应数据 |
| └─destinationCountry | string | 付款国家 |
| └─accountCurrency | string | 账户币种 |
| └─entityType | string | 主体类型 |
| └─paymentMethods | array | 付款方式列表 |
响应示例
json
{
"respCode": "20000",
"respMsg": null,
"data": {
"destinationCountry": "US",
"accountCurrency": "USD",
"entityType": "0",
"paymentMethods": [
"E_WALLET",
"SWIFT",
"BANK_TRANSFER",
"CASH_PICKUP"
]
}
}