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

# PreviewCreditGrantInput

> Preview credit grant input object, used to preview credits invoice before purchasing



**Kind**: `input`

## Fields

**`amount`**: `Float!` (required)

The amount of the credit grant

---

**`appliedCoupon`**: `CreditGrantCouponInput`

Applied Stripe coupon

---

**`billingInformation`**: `PreviewCreditGrantBillingInfoInput`

Credit grant billing information

---

**`cost`**: `MoneyInputDTO!` (required)

The fiat cost of the credit grant

---

**`currencyId`**: `String!` (required)

The custom currency ID of the credit grant

---

**`customerId`**: `String!` (required)

The customer ID of the credit grant

---

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`resourceId`**: `String`

The resource ID of the credit grant



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [PreviewCreditGrantBillingInfoInput](https://docs.stigg.io/graphql-reference/types/PreviewCreditGrantBillingInfoInput.md)
- [CreditGrantInput](https://docs.stigg.io/graphql-reference/types/CreditGrantInput.md)
- [previewCreditGrant](https://docs.stigg.io/graphql-reference/mutations/previewCreditGrant.md)
- [CreditGrantPreview](https://docs.stigg.io/graphql-reference/types/CreditGrantPreview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.