Application 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
Request
- Base URLhttps://sandbox.openfinance.celcoin.dev
- URLhttps://sandbox.openfinance.celcoin.dev/baas/v1/open/itp/applications/{applicationId}/accounts
- AuthOAuth 2Client credentialsToken URL: http://localhost:8080/auth/realms/master/protocol/openid-connect/token scopes: user_owner_app, app
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.