PUT
/
v1
/
ledger
/
{ledger_key}
/
asset-move
curl --request PUT \
  --url https://api.sandbox.nxos.io/v1/ledger/{ledger_key}/asset-move \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "asset_move_key": {
      "ref": "<string>",
      "id": "<string>"
    },
    "status": "<string>",
    "categories": [
      "<string>"
    ],
    "metadata": {}
  }
]'
[
  {
    "asset_move_ref": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "source_account": {
      "ref": "<string>",
      "id": "<string>"
    },
    "destination_account": {
      "ref": "<string>",
      "id": "<string>"
    },
    "asset_code": "<string>",
    "amount": "<string>",
    "status": "EXPECTED",
    "type": "<string>",
    "decline_type": "<string>",
    "categories": [
      "<string>"
    ],
    "metadata": {},
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

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 · object[]

The body is of type object[].

Response

200 - application/json
The request has succeeded.

The response is of type object[].