Skip to main content
inputCreditGrantInput

Fields

additionalMetaData
JSON

Metadata associated with the entity

amount
Float!
required

The amount of the credit grant

awaitPaymentConfirmation
Boolean
default:true

Wait for payment confirmation before returning

billingInformation

Billing information for credit grants

comment
String

The comment for the credit grant

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

The type of the credit grant

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