WalletD developers
Pending postings

Cancel a reservation without postings

Cancels an active reservation and releases the funds, writing no entries at all: a voided pending leaves no trace in the books beyond its own record, because nothing ever moved.

POST/v1/ledgers/{ledgerId}/pendings/{pendingId}/void

Cancels an active reservation and releases the funds, writing no entries at all: a voided pending leaves no trace in the books beyond its own record, because nothing ever moved. Only an active pending can be voided; one that was already posted, voided or expired refuses with pending_not_active (409).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ledgerId*string
Formatuuid
pendingId*string
Formatuuid

Response Body

application/problem+json

curl -X POST "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/pendings/497f6eca-6276-4993-bfeb-53cbbbba6f08/void"
Empty