Skip to content

Search API reference

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

List credit grants

List your credit grants.

GET/v1/billing/credit_grants

List your credit grants.

Endpoint

http
GET /v1/billing/credit_grants

Query parameters

NameTypeRequiredDescription
limitintegerOptionalHow many to return, from 1 to 100. Default 10.
starting_afterstringOptionalAn ID from the last page: the list continues after it.
ending_beforestringOptionalAn ID from the first page: the list returns the page before it.

Example request

bash
curl "https://api.sovgate.com/v1/billing/credit_grants?limit=3" \  -H "Authorization: Bearer sov_sk_test_your_key"

Example response

json
{  "object": "list",  "url": "/v1/billing/credit_grants",  "has_more": false,  "data": [    {      "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"    }  ]}