POST
/
v1
/
ledgers
/
{id}
/
transfer
{
  "transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "source_entry": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "ledger_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "amount": 123,
    "type": "credit",
    "description": "<string>",
    "balance": 123,
    "timestamp": "2023-11-07T05:31:56Z",
    "metadata": {},
    "created_at": "2023-11-07T05:31:56Z",
    "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "destination_entry": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "ledger_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "amount": 123,
    "type": "credit",
    "description": "<string>",
    "balance": 123,
    "timestamp": "2023-11-07T05:31:56Z",
    "metadata": {},
    "created_at": "2023-11-07T05:31:56Z",
    "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Source ledger UUID

Body

application/json
destination_ledger_id
string
required

Destination ledger UUID

amount
integer
required

Transfer amount in cents

Required range: x >= 1
transaction_id
string
required

Unique transaction identifier

description
string

Transfer description

metadata
object

Additional transfer metadata

Response

201
application/json
Transfer created successfully
transfer_id
string
source_entry
object
destination_entry
object
timestamp
string