Checking access…

Skip to main content
Audience: CCG Platform Engineers

Configure Vendors, Payment Methods and Channels

Platform engineers configuring which payment methods, vendors, and channels a merchant supports. For the exact field shapes, see the Vendor Merchants β€” Reference.

Payment methods and channels are configured per vendor, as part of the merchant's vendorMerchants array β€” there is no separate endpoint for this. This is one step of Onboard a Merchant.

Confirm the exact payload in Swagger before submitting

Port-forward to wallet-merchant-service and check its own Swagger UI for today's /merchants request schema before submitting. The JSON shapes below are a point-in-time snapshot.

Step 1: Pick the vendor(s)​

A merchant can have more than one vendorMerchants entry β€” one per vendor (STRIPE, OPTUM_BANK). Each entry needs the vendor's vendorMerchantId (its connect account β€” see Create Connect Account for Stripe).

Step 2: Choose payment methods and channels per vendor​

For each vendor, list the paymentMethod types it should support (CARD, BANK_ACCOUNT, HEALTH_SAVINGS_ACCOUNT), and for each payment method, the channels it's offered through (TEXT, EMAIL, WEBFORM, GOOGLE_PAY, APPLE_PAY, TELEPHONIC_ENTRY) with a display order and enabled flag:

{
"vendorMerchants": [
{
"vendor": "STRIPE",
"vendorMerchantId": "26n2k3w0mT",
"paymentMethod": [
{
"type": "CARD",
"channels": [
{ "type": "WEBFORM", "order": 1, "enabled": true },
{ "type": "TEXT", "order": 2, "enabled": true }
]
},
{
"type": "BANK_ACCOUNT",
"channels": [
{ "type": "WEBFORM", "order": 1, "enabled": true }
]
}
]
},
{
"vendor": "OPTUM_BANK",
"vendorMerchantId": "JGcAkFpcux",
"paymentMethod": [
{ "type": "HEALTH_SAVINGS_ACCOUNT", "channels": null }
]
}
]
}

Not every channel is valid for every payment method β€” see the Reference page's Payment Method Types and Channel Types tables for the compatible combinations before you set channels.

Step 3 (optional): Configure card categories​

If the merchant needs to identify a specialized card type separately (e.g. a manufacturer copay card), add cardCategories under the CARD payment method:

{
"type": "CARD",
"cardCategories": [
{ "type": "MANUFACTURER_CARD", "label": "Manufacturer copay card" }
],
"channels": [ ... ]
}

See Manufacturer Card for how this surfaces in the checkout flow.

Step 4 (optional): Configure payee details​

If the vendor entry needs payee information, set payeeConfigs with plaintext values β€” wallet-merchant-service encrypts them (AES-256-GCM) before they're persisted or published. See the Reference page for the field.

Step 5: Submit via POST/PATCH /merchants​

Send the vendorMerchants array as part of the merchant request body β€” see Onboard a Merchant for the full request shape and create-vs-update behavior.

Don't set the top-level paymentMethodSettings field

It's derived automatically from vendorMerchants on every create/update β€” see the deprecation note on the Reference page.

Best Practices​

  • Enable only the channels that align with your customer experience strategy
  • Consider the order of channels to prioritize preferred payment methods
  • Ensure that all enabled channels are properly supported in your implementation
  • Test the customer experience for each enabled channel
  • Configure card categories when specialized payment cards need to be identified separately