getCreditHistory

suspend fun getCreditHistory(orgId: String? = null, limit: Int = DEFAULT_BILLING_LIMIT, offset: Int = 0): ClerkResult<ClerkPaginatedResponse<BillingCreditLedger>, ClerkErrorResponse>

Lists the credit ledger entries of the signed-in user, or of the Organization with orgId.

Parameters

limit

The maximum number of entries to return.

offset

The number of entries to skip.