Get the deposit bank account information and the deposit reference code of a user
获得某种法币的收款行信息,以及某个用户的充值Reference Code.
This endpoint returns the details of the bank account to receive deposits from users, for a specific fiat currency.
Legend uses different bank accounts for different fiat-currencies.
The "reference_code" provided in the returned data is essential for the user to include in the "Additional Information" or "Memo" section when initiating the wire transfer to us. This code enables us to identify the sender of the transfer, and without it, we may be unable to recognize the transfer's origin.
Note that different bank accounts have different fields, you need to show all the fields to your users.
For example, the GBP account has a "Sort Code", which doesn't exist for other currencies.
A user's reference code remains the same for difference fiat currencies.
| name | desc | example_value | value_type |
|---|---|---|---|
| deposit_account | All information fields of the bank account. Note that different fiat currency have different fields, you need to display on your web page correctly. For example deposit account 银行账号的详细字段,每种法币银行账号的字段可能是不同的: "Sort Code": "040541", //------> 仅用于英镑 GBP | Check the response code 200's example, 详见200的返回字段。 | JSON |
| reference_code | reference_code, a unique code for Legend to find who the wire sender was, 用于deposit核对使用。 | ZGAEIXS | string |
| asset_fiat | fiat 资产类型,通常是法币(fiat) | USD, EUR, GBP... | string |
| transfer_type | transfer type 汇款类型 | 目前只支持“wire” | string |
