Use config()
to fetch the PaymentMethod
data needed to start the payment.
Arguments
None
Returns
Type | Description |
---|---|
Promise | Resolved: An object that contains the payment data needed to create a Rejected: An error object that passes information about why the call wasn't successful. |