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

Response

201
application/json

Transfer created successfully

The response is of type object.