Grants
Void a grant.
post/v2/grants/{grant_id}/void
Path parameters
grant_idstring required
LedgerUp grant identifier.
Example:grant_0194f4e3a2b77c6aa91c4f6b4db2a980
Resource identifier.
Headers
Idempotency-Keystring
Non-empty idempotency key for deduplicating write requests on the same route.
Example:6f31c20e-725c-4be8-96f4-835042f67602
Optional. Duplicate keys within the same company namespace and route return 409.
Response
Voided.
Example response
{
"id": "grant_0194f4e3a2b77c6aa91c4f6b4db2a980",
"description": "Usage tracked for Acme.",
"account_id": "account_0194f4e3a2b77c6aa91c4f6b4db2a980",
"metric_id": "metric_0194f4e3a2b77c6aa91c4f6b4db2a980",
"currency": "usd",
"amount": "100.0",
"expires_at": 1767225600,
"accepted_at": 1767225600,
"created_at": 1767225600,
"updated_at": 1767225600,
"status": "active",
"archived_at": 1767225600,
"effective_at": 1767225600
}Changes
No recorded changes to this endpoint across all 1 revision of this API.