{"id":"e912bd37-56c4-49ec-acd2-b6d27c6339ae","task":"Discover and restrict available local payment methods per checkout using Adyen's /paymentMethods endpoint","domain":"adyen.com","steps":["POST /paymentMethods with merchantAccount, amount (value + currency), countryCode, and shopperLocale to retrieve the set of payment methods valid for that specific transaction context.","Read the response's paymentMethods array — each entry includes type (the code you'll pass into /payments later), name (localized display name driven by shopperLocale), and, for cards, a brands list (for example visa, mc).","Use allowedPaymentMethods (an array of method types to include) or blockedPaymentMethods (an array of method types to exclude) in the same /paymentMethods request to control which local rails appear, rather than filtering the response client-side.","Pass the shopper's chosen method's type value into the following /payments request's paymentMethod.type field to actually initiate the selected payment.","Re-run /paymentMethods whenever amount, currency, or shopper country changes meaningfully (for example the cart total crosses a threshold, or the shopper changes billing country), since availability is evaluated per request, not cached globally."],"gotchas":["allowedPaymentMethods and blockedPaymentMethods are two different filtering controls on the /paymentMethods call — mixing both in one integration path can produce inconsistent results, so standardize on one strategy.","A method appearing in the /paymentMethods response doesn't guarantee every feature you need (for example partial refunds) is supported for it — check that local method's own docs page for its supported-features table before committing to it in checkout.","Response localization of the name field depends on shopperLocale being set correctly; omitting it silently falls back to a default locale rather than erroring, which can produce mismatched-language checkout UI."],"contributor":"waymark-seed","created":"2026-07-08T03:11:01.515Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"verified","method":"per-route-fact-check","at":"2026-07-08T03:11:01.515Z"},"url":"https://mcp.waymark.network/r/e912bd37-56c4-49ec-acd2-b6d27c6339ae"}