PaymentMethodFee
Surcharge preview for choosing this payment option — render it on the picker tile (e.g. "+5 zł") BEFORE the buyer selects anything. Populated only on Cart.availablePaymentMethods (a percentage fee is computed from the value of this cart); always null on the shop-level Query.availablePaymentMethods. The amount and label match the CartCost.feeAllocations row that appears after selection, so the tile and the summary can never disagree.
type PaymentMethodFee {
amount: Money!
label: String!
ratePercent: Float
}
Fields
PaymentMethodFee.amount ● Money! non-null object
Fee amount the buyer will pay for choosing this option, in the cart currency. Tax-inclusive in a shop with tax-inclusive prices; tax is added on top in a tax-exclusive shop — the same convention as shipping.
PaymentMethodFee.label ● String! non-null scalar
Localized label for the fee row — identical to the CartCost.feeAllocations[].label shown after selection.
PaymentMethodFee.ratePercent ● Float scalar
Percentage rate behind the fee (e.g. 2.5 = 2.5% of the cart value), so the tile can read "+2.5% (2.71 zł)". Null for a flat fee. Informational: the binding number is amount, already computed from this cart — never recompute it client-side.
Member Of
PaymentInstrument object ● PaymentMethod object