Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Retrieve a credit grant

Get a credit grant by its ID.

GET/v1/billing/credit_grants/{id}

Get a credit grant by its ID.

Endpoint

http
GET /v1/billing/credit_grants/{id}

Path parameters

NameTypeDescription
idstringThe grant's ID, cgrt_....

Example request

bash
curl https://api.sovgate.com/v1/billing/credit_grants/cgrt_9f062f83df7727108a0c4e44 \  -H "Authorization: Bearer sov_sk_test_your_key"

Example response

json
{  "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": "granted",  "effective_at": "2026-11-27T09:00:00Z",  "expires_at": null,  "voided_at": null,  "created": "2026-11-27T09:00:00Z"}