List all credits for a customer
Field | Type | Required | Description |
---|---|---|---|
CustomerID |
string | ✔️ | N/A |
CreditID |
*string | ➖ | N/A |
CoveringDate |
*time.Time | ➖ | Return only credits that have access schedules that "cover" the provided date |
StartingAt |
*time.Time | ➖ | Include only credits that have any access on or after the provided date |
EffectiveBefore |
*time.Time | ➖ | Include only credits that have any access before the provided date (exclusive) |
IncludeContractCredits |
*bool | ➖ | Include credits on the contract level. |
IncludeArchived |
*bool | ➖ | Include credits from archived contracts. |
IncludeLedgers |
*bool | ➖ | Include credit ledgers in the response. Setting this flag may cause the query to be slower. |
NextPage |
*string | ➖ | The next page token from a previous response. |