Skip to content

getAvailablePaymentMethods

getAvailablePaymentMethods

Definition

get all available payment methods

Signature

ts
export async function getAvailablePaymentMethods(
  contextInstance: ShopwareApiInstance = defaultInstance,
  params: { onlyAvailable?: boolean } = {},
)

Parameters

NameTypeDescription
contextInstance
ShopwareApiInstance
instance of the api client (by default it's an Axios instance)
params
{ onlyAvailable?: boolean }
additional params

Usage example

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz