Skip to main content
PATCH
Error

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

organization_id
string
obrigatório

Organization ID (UUID)

ledger_id
string
obrigatório

Ledger ID (UUID)

balance_id
string
obrigatório

Balance ID (UUID)

Corpo

application/json
allowReceiving
boolean | null
obrigatório
Exemplo:

true

allowSending
boolean | null
obrigatório
Exemplo:

true

settings
object

Resposta

OK

accountId
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

accountType
string
obrigatório
Maximum string length: 50
Exemplo:

"creditCard"

alias
string
obrigatório
Maximum string length: 256
Exemplo:

"@person1"

allowReceiving
boolean
obrigatório
Exemplo:

true

allowSending
boolean
obrigatório
Exemplo:

true

assetCode
string
obrigatório
Required string length: 2 - 10
Exemplo:

"USD"

available
string
obrigatório
Exemplo:

"1500"

createdAt
string<date-time>
obrigatório
Exemplo:

"2021-01-01T00:00:00Z"

deletedAt
string<date-time> | null
obrigatório
Exemplo:

"2021-01-01T00:00:00Z"

id
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

key
string
obrigatório
Maximum string length: 100
Exemplo:

"asset-freeze"

ledgerId
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

onHold
string
obrigatório
Exemplo:

"500"

organizationId
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

overdraftUsed
string
obrigatório
Exemplo:

"0"

updatedAt
string<date-time>
obrigatório
Exemplo:

"2021-01-01T00:00:00Z"

version
integer<int64>
obrigatório
Intervalo obrigatório: x >= 1
Exemplo:

1

direction
string
Exemplo:

"credit"

metadata
object
settings
object