Checking access…

Skip to main content
Audience: Consumers, CCG Platform Engineers

Manufacturer Card

Integration reference for managing manufacturer (MF) cards β€” request/response contract, terminology, and payload handling. For what a manufacturer card is and the business rules governing it, see the Manufacturer Card business guide.

Terminology​

Legacy MF Card​

An MF card not linked to a medication. Since v2 requires a medication on add, a legacy MF card is one added before that requirement took effect β€” it isn't something a current request can create.

Request Format​

MF cards are managed through the cardCategories structure in the payment method request:

// sample req payload (add MF card flow / one time pay flow / pay and save flow)
{
"paymentMethod": {
"paymentMethodDetails": {
"cardCategories": {
"type": "MANUFACTURER_CARD",
"medications": [
{
"label": "Tremfya", // string
"value": "5mg" // string
}
]
}
}
}

Manufacturer Card Category Structure​

FieldTypeValid valuesRequiredConstraintsExample
typeEnumMANUFACTURER_CARDYes"MANUFACTURER_CARD" only"MANUFACTURER_CARD"
labelStringYesMax 100 chars"Pharmacy card"
medicationsObjectMedicationDepends on operationOptional in session configuration; a medication association is required when saving a new manufacturer card.See below

Medication Structure​

FieldTypeRequiredExample
labelStringYes"Tremfya"
valueStringYes"10mg"

Constraints​

  • type must be "MANUFACTURER_CARD" for manufacturer cards.
  • label is required and ≀ 100 characters.
  • A session can omit medications, but a new card cannot be saved as a manufacturer card without a medication association. If present, each medication must have both label and value.

Validation Rules​

  • type must be a recognized enumeration value (e.g., MANUFACTURER_CARD).
  • When saving a new card as MANUFACTURER_CARD, a medication association must be present. This does not make medications mandatory in the session configuration.
  • If label is present, it must be a non-empty string; if not provided, it defaults to the merchant-configured value.
  • Each entry in medications[] must include:
    • label: non-empty string and ≀ 100 characters.
    • value: non-empty string and ≀ 100 characters.

Use Case Handling Summary​

ScenarioMerchant Configured with MANUFACTURER_CARDMerchant Not Configured with MANUFACTURER_CARD
cardCategories present in session requestHonor cardCategories and persist in DB.Ignore cardCategories, save session without it
cardCategories is not present in session requestSave session request as-is in DB.Save session request as-is in DB.
cardCategories is present in the session request without medicationsPersist the session category, but do not offer add-manufacturer-card until a medication is available.Ignore cardCategories and save the session without it.