getPaymentAttempts

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

Lists the payment attempts of the signed-in user, or of the Organization with orgId.

Parameters

limit

The maximum number of payment attempts to return.

offset

The number of payment attempts to skip.