For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Create Request

Create Request

post

Use the following parameters to create a request.

Authorizations
X-Ledger-API-KeystringRequired

If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.

X-Ledger-API-UserstringRequired

(required) Username of a registered API User

Body
or
or
or
or
or
Responses
200

Request result

application/json
created_onstring · date-timeRequired
expired_atstring · date-timeRequired
idintegerRequired
statusstring · enumRequiredExample: PENDING_APPROVALPossible values:
target_idintegerRequiredExample: 10
target_typestringRequiredExample: TEZOS_LIKE_TRANSACTION
typestringRequiredExample: CREATE_TRANSACTION
used_admin_groupinteger · nullableOptional

Admin Group used to create and approve the request

Default: nullExample: 1
post/requests
POST /requests HTTP/1.1
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 392

{
  "data": {
    "account_id": "101",
    "fees_strategy": {
      "data": {
        "fees_per_byte": "30"
      },
      "type": "CUSTOM"
    },
    "transaction_data": {
      "account_name": "ETH Wallet 1",
      "amount": "1267887898998",
      "currency": "bitcoin",
      "max_fees": "123908790",
      "recipient": "0x1234...abcd"
    },
    "transaction_type": "BITCOIN_LIKE_SEND"
  },
  "note": {
    "content": "some information about this transaction",
    "title": "a note title"
  },
  "type": "CREATE_TRANSACTION"
}
{
  "created_by": "{\"id\"=3}",
  "created_on": "2026-01-01T00:00:00.000Z",
  "expired_at": "2026-01-01T00:00:00.000Z",
  "id": 1,
  "status": "PENDING_APPROVAL",
  "target_id": 10,
  "target_type": "TEZOS_LIKE_TRANSACTION",
  "type": "CREATE_TRANSACTION",
  "used_admin_group": 1
}

Last updated