为 Escrow 账户创建目标账户
此端点允许为 Escrow 账户创建目标账户
Request
请求端点
ENDPOINT
/account/ACCOUNT_KEY/destinationMÉTODO
POST请求路径参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key * | uuid4 | 账户的唯一识别密钥。 | 36 |
Request Body: 添加目标账户
{
"name": "Minha conta destino",
"ted_account_type": "checking_account",
"document_number": "51297635200133",
"account_branch": "3422",
"account_digit": "8",
"account_number": "08042",
"financial_institutions_code_number": "329"
}
Body Params
| 字段 | 类型 | 描述 |
|---|---|---|
name * | string | 收款方姓名 |
ted_account_type * | enum | 目标账户类型。 |
account_branch * | string | 目标账户机构号。 |
account_digit * | string | 目标账户检验位。 |
account_number * | string | 目标账户号。 |
financial_institutions_code_number * | string | 目标账户所在银行代码。 |
Response
成功响应
STATUS
201Response Body:
{}
错误响应
STATUS
4XXResponse Body
{
"title": "Título",
"description": "Description in english",
"translation": "Descrição em português",
"code": "Código"
}
| HTTP 状态码 | QI 代码 | 标题 | 英文描述 | 葡语描述 |
|---|---|---|---|---|
| 404 | ACC000006 | Not found | Account not found for the given key ACCOUNT_KEY | Conta não encontrada para a seguinte chave ACCOUNT_KEY |
| 403 | ACC000219 | Requester not allowed to perform this action | Requester not allowed to create destination | Requester não autorizado a criar conta destino |