跳到主要内容

为 Escrow 账户创建目标账户

此端点允许为 Escrow 账户创建目标账户

Request

请求端点

ENDPOINT
/account/ACCOUNT_KEY/destination
MÉ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
201
Response Body:
{}

错误响应

STATUS
4XX
Response Body
{
"title": "Título",
"description": "Description in english",
"translation": "Descrição em português",
"code": "Código"
}
HTTP 状态码QI 代码标题英文描述葡语描述
404ACC000006Not foundAccount not found for the given key ACCOUNT_KEYConta não encontrada para a seguinte chave ACCOUNT_KEY
403ACC000219Requester not allowed to perform this actionRequester not allowed to create destinationRequester não autorizado a criar conta destino