Create destination account for escrow
This endpoint allows creating a destination account for an escrow account
Request
Request Endpoint
ENDPOINT
/account/ACCOUNT_KEY/destinationMETHOD
POSTRequest Path Params
| Field | Type | Description | Characters |
|---|---|---|---|
account_key * | uuid4 | Unique account identification key. | 36 |
Request Body: adding destination account
{
"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
| Field | Type | Description |
|---|---|---|
name * | string | Recipient name |
ted_account_type * | enum | Destination account type. |
account_branch * | string | Destination account branch. |
account_digit * | string | Destination account digit. |
account_number * | string | Destination account number. |
financial_institutions_code_number * | string | Destination account bank code. |
Response
Success Response
STATUS
201Response Body:
{}
Error Response
STATUS
4XXResponse Body
{
"title": "Título",
"description": "Description in english",
"translation": "Descrição em português",
"code": "Código"
}
| HTTP Code | QI Code | Title | Description (eng) | Description (pt-br) |
|---|---|---|---|---|
| 404 | ACC000006 | Not found | Account not found for the given key ACCOUNT_KEY | Account not found for the given key ACCOUNT_KEY |
| 403 | ACC000219 | Requester not allowed to perform this action | Requester not allowed to create destination | Requester not allowed to create destination |