fl_openpay library
Classes
- CardsResource
- Provides card operations at both merchant and customer level.
- ChargesResource
- Provides charge operations at both merchant and customer level.
- CustomersResource
- Provides CRUD operations for Openpay customers.
- FlOpenpay
- Main entry point for the Openpay Flutter plugin.
- OpenpayAddress
- Address associated with a card, used by the anti-fraud system.
- OpenpayApi
- Main entry point for the Openpay REST API.
- OpenpayCard
- Represents card data for tokenization.
- OpenpayCharge
- Represents a charge (payment transaction) in Openpay.
- OpenpayChargeCard
- Card information returned in a charge response.
- OpenpayChargeCustomer
- Inline customer data for merchant-level charges.
- OpenpayCustomer
- Represents a customer in Openpay.
- OpenpayPaymentMethod
- Payment method information in a charge response.
- OpenpayPlan
- Represents a subscription plan in Openpay.
- OpenpayStoredCard
- Represents a card stored in Openpay (as opposed to raw card data used only during tokenization).
- OpenpaySubscription
- Represents a customer subscription in Openpay.
- OpenpayToken
- Represents a token returned after successful card tokenization.
- PlansResource
- Provides CRUD operations for Openpay subscription plans.
- SubscriptionsResource
- Provides operations for Openpay customer subscriptions.
Enums
- OpenpayCountry
- Supported countries for Openpay.
Exceptions / Errors
- OpenpayApiException
- Exception thrown when the Openpay REST API returns a 4xx or 5xx response.
- OpenpayException
- Base exception for all Openpay errors.
- OpenpayGatewayException
- Thrown when the card is declined by the bank (error codes 3001-3005).
- OpenpayNetworkException
- Thrown for network/connectivity issues.
- OpenpayNotInitializedException
- Thrown when Openpay SDK is used before FlOpenpay.initialize is called.
- OpenpayRequestException
- Thrown when the request itself is malformed (error codes 1001-1012).