cartSelectPaymentMethod
Select a payment method on the cart by category (BLIK, CARD, BANK_TRANSFER, ...). Backend resolves the preferred provider from MerchantPaymentConfig at paymentCreate time. Optional preferredProvider overrides the merchant priority when the buyer explicitly picks a gateway from PaymentMethod.providersAvailable. Optional preferredInstrument enables instrument-level deep-link na gateway hosted page (BLIK ekran, mBank flow, etc.) — wymaga preferredProvider.
cartSelectPaymentMethod(
input: CartSelectPaymentMethodInput!
): CartSelectPaymentMethodPayload!
Arguments
cartSelectPaymentMethod.input ● CartSelectPaymentMethodInput! non-null input
Cart UUID + payment method category, with optional provider and instrument overrides
Type
CartSelectPaymentMethodPayload object
Result of cartSelectPaymentMethod.