> ## 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.

# CreditGrantInput

> Input for creating a credit grant



**Kind**: `input`

## Fields

**`additionalMetaData`**: `JSON`

Metadata associated with the entity

---

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

The amount of the credit grant

---

**`awaitPaymentConfirmation`**: `Boolean` = true

Wait for payment confirmation before returning

---

**`billingInformation`**: `CreditGrantBillingInfoInput`

Billing information for credit grants

---

**`comment`**: `String`

The comment for the credit grant

---

**`cost`**: `MoneyInputDTO`

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

---

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

The display name of the credit grant

---

**`effectiveAt`**: `DateTime`

The effective date of the credit grant

---

**`environmentId`**: `UUID`

The unique identifier for the environment

---

**`expireAt`**: `DateTime`

The expiration date of the credit grant

---

**`grantType`**: `CreditGrantTypeInput!` (required)

The type of the credit grant

---

**`paymentCollectionMethod`**: `PaymentCollectionMethod`

The method used to collect payments for the credit grant

---

**`priority`**: `Float`

Determines which grant is drawn down first when a customer has multiple active credit grants in the same currency (0-100). Lower numbers are consumed first. Defaults to 50, the same default used for recurring credits granted by a plan or price. When priority is equal, the grant closer to expiring is drawn down first.

---

**`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)
- [CreditGrantCouponInput](https://docs.stigg.io/graphql-reference/types/CreditGrantCouponInput.md)
- [PreviewCreditGrantInput](https://docs.stigg.io/graphql-reference/types/PreviewCreditGrantInput.md)
- [GetCreditGrantsInput](https://docs.stigg.io/graphql-reference/types/GetCreditGrantsInput.md)
- [UpdateCreditGrantInput](https://docs.stigg.io/graphql-reference/types/UpdateCreditGrantInput.md)


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