Payments

interface Payments

Payments feature — access the member’s payment history.

This interface provides operations to retrieve billing records associated with the authenticated member. Implementations connect to backend services and return the list of payment bills for display in-app.

Platform & threading

  • The function is suspend and must be called from a coroutine.

  • Errors surface as Throwable and should be handled at call sites.

Typical flows

  • Payment history: call get after login to display invoices and billing information for the member.

Functions

Link copied to clipboard
abstract suspend fun get(): List<PaymentBill>

Retrieves the complete record of payments for the signed-in user.