Home > @shopware-pwa/shopware-6-client > getAvailablePaymentMethods
# getAvailablePaymentMethods() function
Signature:
export declare function getAvailablePaymentMethods(contextInstance?: ShopwareApiInstance, params?: {
onlyAvailable?: boolean;
}): Promise<EntityResult<"payment_method", PaymentMethod[]>>;
# Parameters
Parameter | Type | Description |
---|---|---|
contextInstance | ShopwareApiInstance | |
params | { onlyAvailable?: boolean; } |
Returns:
Promise<EntityResult<"payment_method", PaymentMethod[]>>
# Exceptions
ClientApiError