Skip to main content
PUT
Designate the tenant's account for a currency and role

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

currency
string
obrigatório

ISO 4217 code of the asset the account holds.

Pattern: ^[A-Z]{3}$
Exemplo:

"BRL"

role
enum<string>
obrigatório

suspense: the CCB's own residual, on either side. below: still owed to the borrower in a disbursement in parts (valores a liberar ao tomador). above: paid over the liberated amount (pago a maior). loss: the expense a disbursement excess the borrower keeps is written off to.

Opções disponíveis:
suspense,
below,
above,
loss
Exemplo:

"below"

Corpo

application/json
gl_account
string
obrigatório

GL account in the tenant's ledger, as its Midaz alias: at most 50 letters, digits, ':', '_' and '-', with an optional leading '@', or @external/ (LENDER-0429 otherwise).

Required string length: 1 - 128
Exemplo:

"2100-90-001"

Resposta

OK

currency
string
obrigatório

ISO 4217 code of the asset the account holds.

Exemplo:

"BRL"

gl_account
string
obrigatório

GL account in the tenant's ledger.

Exemplo:

"2100-90-001"

role
enum<string>
obrigatório

What the account takes.

Opções disponíveis:
suspense,
below,
above,
loss
Exemplo:

"below"