Skip to main content

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​

ParameterType
sessionSession
createRequestCreatePaymentMethodRequest

Returns​

Promise<PaymentMethod>