Skip to main content
POST
Error

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string

Idempotency key to safely retry the create; an identical retry returns the original transaction

X-TTL
string

Idempotency slot TTL in seconds (default 300)

Parâmetros de caminho

organization_id
string
obrigatório

Organization ID (UUID)

ledger_id
string
obrigatório

Ledger ID (UUID)

Corpo

application/json
metadata
object
obrigatório
send
object
obrigatório
chartOfAccountsGroupName
string
Maximum string length: 256
Exemplo:

"FUNDING"

code
string
Maximum string length: 100
Exemplo:

"TR12345"

description
string
Maximum string length: 256
Exemplo:

"New Transaction"

route
string
Exemplo:

"00000000-0000-0000-0000-000000000000"

routeId
string<uuid>
Exemplo:

"00000000-0000-0000-0000-000000000000"

skip
object
transactionDate
string<date-time>
Exemplo:

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

Resposta

Created

amount
string | null
obrigatório
Exemplo:

"1500"

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

"BRL"

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

"Chart of accounts group name"

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"

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

"Transaction description"

destination
string[] | null
obrigatório
Exemplo:
id
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

ledgerId
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

operations
object[] | null
obrigatório
organizationId
string<uuid>
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

route
string
obrigatório
Maximum string length: 250
Exemplo:

"00000000-0000-0000-0000-000000000000"

source
string[] | null
obrigatório
Exemplo:
status
object
obrigatório
updatedAt
string<date-time>
obrigatório
Exemplo:

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

metadata
object
parentTransactionId
string<uuid>
Exemplo:

"00000000-0000-0000-0000-000000000000"

routeId
string<uuid>
Exemplo:

"00000000-0000-0000-0000-000000000000"