Types
CreditConsumptionResponse
Result of a synchronous direct credit consumption
object
CreditConsumptionResponseFields
amount
Float!
The amount of credits consumed
credit
The optimistic credit balance after consumption (when sync credit consumption is enabled)
currencyId
String!
The credit currency (custom currency refId) to consume from
customerId
String!
The customer to consume credits from (refId)
resourceId
String
Optional resource (refId) the consumption is attributed to
timestamp
DateTime!
The timestamp the consumption was attributed to