ExtensionCreatePaymentMethod extension

on

Properties

js → _JS
no setter

Methods

createPaymentMethod(CreatePaymentMethodData data) Future<PaymentMethodResponse>
Use stripe.createPaymentMethod to convert payment information collected by elements into a PaymentMethod object that you safely pass to your server to use in an API call.