post
https://sandboxapi.legendtrading.com/app/bankaccount
给指定用户添加一个指定币种的银行账号。
本接口用于提交用户银行账户信息以完成出金操作。请求参数结构需严格遵循 /app/bankaccount/fields 接口返回的字段要求。
请求参数
请求体格式:application/json 示例如下
{
"uid": "qa159165",
"params": {
"currency": "EUR",
"account_name": "Piero Ventura junco",
"recipient_address": "Calle Caramanta",
"bank_country": "ES",
"iban": "ES23 0049 5525 5321 1203 7931",
"payment_method": "SEPA",
"swift_bic": "123"
}
}参数说明
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
uid | string | 是 | 用户唯一标识符 |
params | object | 是 | 银行账户参数集合 |
params 对象字段说明
params 对象字段说明| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
currency | string | 是 | 币种代码(如:EUR) |
account_name | string | 是 | 账户持有人姓名 |
recipient_address | string | 是 | 收款人地址 |
bank_country | string | 是 | 银行所在国家代码 |
iban | string | 是 | 国际银行账户号码 |
payment_method | string | 否 | 支付方式:FPS/SEPA/WIRE/SWIFT。若提供,系统将基于此方式验证银行字段 |
swift_bic | string | 是 | SWIFT/BIC 代码 |
重要提示
- 参数来源:所有
params中的字段必须来源于/app/bankaccount/fields接口的响应数据 - 币种相关字段:请确保已包含该币种要求的所有必填字段
- 支付方式:仅当在
/app/withdrawmethodsAPI 中选择了 FPS/SEPA/WIRE/SWIFT 时,才需要添加payment_method字段 - 字段验证:若提供
payment_method,系统将基于指定的支付方式进行银行字段验证
