MonerooApi class
An API wrapper for the Moneroo API
Constructors
- MonerooApi({required String apiKey, bool sandbox = false})
Properties
- apiKey → String
-
Your app's API key
final
- apiVersion → MonerooVersion
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sandbox → bool
-
final
Methods
-
getMonerooPaymentInfos(
{required String paymentId}) → Future< MonerooPaymentInfos> - Allow you to retrieve data about a payment given its paymentID. Can be helpful to get the current status of a payment.
-
initPayment(
{required int amount, required MonerooCustomer customer, MonerooCurrency currency = MonerooCurrency.XOF, String? description, String? callbackUrl, Map< String, dynamic> ? metadata}) → Future<MonerooPayment> - Initialize a payment on Moneroo. The main goal of this function is to give you the checkout URL that will be used as a payment URL. The payment URL is responsible of the payment interface.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited