POST
/
v1
/
ledger
/
{ledger_key}
/
transaction

Headers

Authorization
string
required

The Basic Authentication header. Format: "Basic {base64(orgID:apiKey)}"

Path Parameters

ledger_key
string
required

The key of the ledger. Examples:

  • "123e4567-e89b-12d3-a456-426614174000"
  • "id:123e4567-e89b-12d3-a456-426614174000"
  • "ref:ledger:customer_a"

Body

application/json
asset_moves
object[]
required

The asset moves for the transaction

metadata
object

Additional, optional, metadata for the transaction

transaction_ref
string

The reference of the transaction - needs to be unique for the transaction, can be anything from a UUID to a reference of your choice. This is the reference you will use to interact with the transaction. This reference also guarantees idempotency, so if you send the same transaction reference twice, the second request will be ignored.

Minimum length: 1

Response

200 - application/json
asset_moves
object[]
required

The asset moves for the transaction

created_at
string
required

The created at timestamp

transaction_id
string
required

The unique internally assigned identifier of the transaction

updated_at
string
required

The updated at timestamp

metadata
object

Additional, optional, metadata for the transaction

transaction_ref
string

The externally defined reference of the transaction