ApiRepository
Functions
Link copied to clipboard
abstract suspend fun confirmPaymentIntent(options: Options.ConfirmPaymentIntentOptions): PaymentIntent?
Confirm the PaymentIntent using Options
Link copied to clipboard
abstract suspend fun continuePaymentIntent(options: Options.ContinuePaymentIntentOptions): PaymentIntent?
Continue the PaymentIntent using Options, used for 3DS
Link copied to clipboard
abstract suspend fun createPaymentConsent(options: Options.CreatePaymentConsentOptions): PaymentConsent?
Create a PaymentConsent
Link copied to clipboard
abstract suspend fun createPaymentMethod(options: Options.CreatePaymentMethodOptions): PaymentMethod?
Create a Airwallex PaymentMethod using Options
Link copied to clipboard
abstract suspend fun disablePaymentConsent(options: Options.DisablePaymentConsentOptions): PaymentConsent?
Disable a PaymentConsent
Link copied to clipboard
Execute mock wechat (Just for demo env)
Link copied to clipboard
abstract suspend fun retrieveAvailablePaymentConsents(options: Options.RetrieveAvailablePaymentConsentsOptions): Page<PaymentConsent>?
Retrieve available payment consents
Link copied to clipboard
abstract suspend fun retrieveAvailablePaymentMethods(options: Options.RetrieveAvailablePaymentMethodsOptions): Page<AvailablePaymentMethodType>?
Retrieve available payment method types
Link copied to clipboard
Retrieve banks of payment method
Link copied to clipboard
abstract suspend fun retrievePaymentConsent(options: Options.RetrievePaymentConsentOptions): PaymentConsent?
Retrieve a PaymentConsent
Link copied to clipboard
abstract suspend fun retrievePaymentIntent(options: Options.RetrievePaymentIntentOptions): PaymentIntent?
Retrieve the PaymentIntent using Options
Link copied to clipboard
abstract suspend fun retrievePaymentMethodTypeInfo(options: Options.RetrievePaymentMethodTypeInfoOptions): PaymentMethodTypeInfo?
Retrieve payment method detail
Link copied to clipboard
abstract suspend fun verifyPaymentConsent(options: Options.VerifyPaymentConsentOptions): PaymentConsent?
Verify a PaymentConsent