> ## Documentation Index
> Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Credit Grant

Retrieve a credit grant by its ID.

<ParamField path="id" type="string" required>
  The credit grant ID.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.alguna.io/credit-grants/grant_abc123 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const grant = await alguna.creditGrants.get('grant_abc123');
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "grant_abc123",
    "wallet_id": "wal_def456",
    "amount": "500.00",
    "description": "Annual credit allocation",
    "expires_at": "2024-12-31T23:59:59Z",
    "payment_id": null,
    "status": "active",
    "created_at": "2024-01-20T10:00:00Z",
    "updated_at": "2024-01-20T10:00:00Z"
  }
  ```
</ResponseExample>

<ResponseField name="id" type="string">
  Unique identifier for the credit grant.
</ResponseField>

<ResponseField name="wallet_id" type="string">
  The wallet this grant belongs to.
</ResponseField>

<ResponseField name="amount" type="string">
  Grant amount as a decimal string.
</ResponseField>

<ResponseField name="status" type="string">
  Grant status: `active`, `approved`, `pending`, `exhausted`, `expired`, or `voided`.
</ResponseField>

<ResponseField name="expires_at" type="string">
  ISO 8601 expiration date, if set.
</ResponseField>
