POST
/v1/billing/credit_grants/{id}/voidFind an endpoint or a guide of the Sovgate API reference and jump straight to it.
/v1/billing/credit_grants/{id}/voidCancel what's left: it pays for no more usage.
POST /v1/billing/credit_grants/{id}/void| Name | Type | Description |
|---|---|---|
id | string | The grant's ID, cgrt_.... |
curl -X POST https://api.sovgate.com/v1/billing/credit_grants/cgrt_9f062f83df7727108a0c4e44/void \ -H "Authorization: Bearer sov_sk_test_your_key" \ -H "Idempotency-Key: e87d2e6f-4b2a-4c1d-9e3f-c4a2a503226b"{ "id": "cgrt_9f062f83df7727108a0c4e44", "object": "credit_grant", "livemode": false, "customer": "cust_13ed3f69adfcfcb6289a5491", "name": "Prepaid credits", "category": "paid", "currency": "usd", "amount": 50000, "applicability": { "scope": "all" }, "priority": 50, "status": "voided", "effective_at": "2026-11-27T09:00:00Z", "expires_at": null, "voided_at": "2026-11-28T09:00:00Z", "created": "2026-11-27T09:00:00Z"}