WalletD developers
Pending postings

Read one pending, whatever its state

Reads one pending in any state - pending, posted, voided or expired.

GET/v1/ledgers/{ledgerId}/pendings/{pendingId}

Reads one pending in any state - pending, posted, voided or expired. The end states are distinct on purpose: a caller repairing after a lost commit needs to tell a capture from a cancellation from a lapse, not just that the reservation is gone.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ledgerId*string
Formatuuid
pendingId*string
Formatuuid

Response Body

application/json

application/problem+json

curl -X GET "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/pendings/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",  "reference_id": "97c1ff22-6e4f-4821-b1d3-5236781d37b8",  "amount": 0,  "status": "pending",  "expires_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}