CreditTopUp
Credits bought through a usage charge's top-up charge, invoiced directly without a quote. The CreditTopUp type in Bunny's GraphQL API and its fields.
| Name | Type | Description |
|---|---|---|
| createdAt | ISO8601DateTime | |
| creditBalanceId | ID | |
| id | ID | |
| invoice | Invoice | |
| invoiceId | ID | |
| origin | String | auto when the balance reached the top-up threshold, manual when bought by hand |
| price | Float | Price per credit |
| priceListCharge | PriceListCharge | |
| priceListChargeId | ID | The top-up charge bought |
| quantity | Int | Credits bought |
| subscriptionChargeId | ID | The credits-mode usage charge whose credits it refills |
| subscriptionId | ID | |
| subtotal | Float |