v1
latestOpenAPI 3.0.12026-07-245303882.5 MBApplication Accounts
Create creditor account
Creates a new creditor account for the application. The account will be used to receive payments and must include valid banking information including account number, branch, and bank details. Validates for duplicates before creation.
post/baas/v1/open/itp/applications/{applicationId}/accounts
Path parameters
applicationIdstring required
O ID da aplicação. É um número exclusivo que identifica a aplicação.
Request body
Example request
{
"owner": {
"cpfCnpj": "58764789000137",
"personType": "PESSOA_JURIDICA",
"name": "Marco Antonio de Brito"
},
"paymentAccount": {
"accountType": "CACC",
"ispb": "12345678",
"issuer": "1774",
"number": "1234567890"
},
"paymentKey": {
"keyType": "CPF",
"key": "12345678901"
}
}Response
retornou com sucesso.
Example response
{
"createdAt": "2024-01-01T20:32:44.581Z",
"updatedAt": "2024-01-01T20:32:44.581Z",
"deletedAt": "2024-01-01T20:32:44.581Z",
"owner": {
"cpfCnpj": "58764789000137",
"personType": "PESSOA_JURIDICA",
"name": "Marco Antonio de Brito"
},
"paymentAccount": {
"accountType": "CACC",
"ispb": "12345678",
"issuer": "1774",
"number": "1234567890"
},
"paymentKey": {
"keyType": "CPF",
"key": "12345678901"
}
}