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β
| Field | Type | Valid values | Required | Constraints | Example |
|---|---|---|---|---|---|
type | Enum | MANUFACTURER_CARD | Yes | "MANUFACTURER_CARD" only | "MANUFACTURER_CARD" |
label | String | Yes | Max 100 chars | "Pharmacy card" | |
medications | Object | Medication | Depends on operation | Optional in session configuration; a medication association is required when saving a new manufacturer card. | See below |
Medication Structureβ
| Field | Type | Required | Example |
|---|---|---|---|
label | String | Yes | "Tremfya" |
value | String | Yes | "10mg" |
Constraintsβ
typemust be"MANUFACTURER_CARD"for manufacturer cards.labelis 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 bothlabelandvalue.
Validation Rulesβ
typemust 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 makemedicationsmandatory in the session configuration. - If
labelis 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β
| Scenario | Merchant Configured with MANUFACTURER_CARD | Merchant Not Configured with MANUFACTURER_CARD |
|---|---|---|
cardCategories present in session request | Honor cardCategories and persist in DB. | Ignore cardCategories, save session without it |
| cardCategories is not present in session request | Save session request as-is in DB. | Save session request as-is in DB. |
cardCategories is present in the session request without medications | Persist the session category, but do not offer add-manufacturer-card until a medication is available. | Ignore cardCategories and save the session without it. |
Related Documentationβ
- Manage Manufacturer Card β add, edit, and delete
- Make a Payment from Wallet β stored MF card note
- One-Time Pay & Pay and Save β one-time/pay-and-save/guest MF card variants