GET
/
credit_grants
curl --request GET \
  --url https://sandbox-api.billingrails.com/v1/credit_grants \
  --header 'Authorization: Bearer <token>'
{
  "credit_grants": [
    {
      "object": "credit_grant",
      "id": "cgr_IhMUl3rrZ3",
      "created_at": "2025-02-14T17:33:40.843Z",
      "account_id": "acc_IhMUl3rrZ3",
      "type": "promotional",
      "status": "granted",
      "payment_status": "comped",
      "currency": "NGN",
      "grant_amount": 5000,
      "available_amount": 3000,
      "expires_at": "2025-03-14T17:33:40.843Z",
      "effective_at": "2025-02-14T17:33:40.843Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Success

The response is of type object.