Function: createPaymentMethod()
createPaymentMethod(
session
,createRequest
):Promise
<PaymentMethod
>
Create a Payment Method
Currently, shopify_payments
is in read-only mode and can only be managed by Shopify.
Parameters
Parameter | Type |
---|---|
session | Session |
createRequest | CreatePaymentMethodRequest |
Returns
Promise
<PaymentMethod
>