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

Get a Pledge by ID

get

Get a pledge by id

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

Path parameters
pledge_idintegerRequired

pledge's id

Responses
200

pledge object

application/json
account_idintegerRequired
amountintegerRequired
idstring · uuidRequired
pendingintegerRequired
pledge_subaccount_idintegerRequired
statestring · enumRequiredPossible values:
get/pledges/{pledge_id}
GET /pledges/{pledge_id} HTTP/1.1
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
  "account_id": 1,
  "amount": 1,
  "asset_manager": {
    "code": "text",
    "id": "text",
    "name": "text",
    "role": "text"
  },
  "custodian": {
    "code": "text",
    "id": "text",
    "name": "text",
    "role": "text"
  },
  "exchange": {
    "code": "text",
    "id": "text",
    "name": "text",
    "role": "text"
  },
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "pending": 1,
  "pledge_subaccount_id": 1,
  "state": "ASSIGNED_TO_SETTLEMENT"
}

Last updated