Shops > Payment Methods > paymentMethods
Commerce APIShopsPayment MethodspaymentMethods
paymentMethods
GET:payment_methods.json

Description

Get all or specific payment methods.

This is a typical bulk get endpoint.

Permission bit: "shop_payment_method.read"

Topic: Payment Methods

Arguments

ids: [String!]

List of payment method ids. See also: Unique Identifiers

Example: ["pm_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[PaymentMethod!]

Preview (typescript)

Loading module