IIAS Payments
Real-time eligibility checks for FSA/HSA card purchases at IIAS-enabled merchants, and how IIAS amounts distribute across your split payments.
IIAS (Inventory Information Approval System) Payments refer to transactions made using a healthcare payment card (such as a Flexible Spending Account or Health Savings Account card) at merchants equipped with IIAS. The IIAS system automatically verifies and approves eligible healthcare-related purchases in real-time, ensuring compliance with IRS regulations.
-
IIAS Payments: Used for healthcare cards (FSA, HSA) at IIAS-enabled merchants.
-
API Endpoints:
POST v2/sessionsβ Initiate a session with IIAS payment detailsPOST v2/paymentsβ Initiate a payment with IIAS payment details
-
API Scopes:
user,merchant -
Supported Payment Method:
CARD -
CCG IIAS Processing: CCG does not have any information on whether the processed cards are healthcare cards (FSA or HSA) or not. CCG simply receives the IIAS data provided by the merchant, validates it using Stripe rules, splits the IIAS Info across payment allocations using Distribution Formula and passes the IIAS information to Stripe.
IIAS Fieldsβ
| Field | Required? | Description |
|---|---|---|
qualified_amount | Mandatory | Total IRS-eligible HSA/FSA amount for the transaction. |
prescription_amount | Optional (recommended) | Portion used specifically for prescription medication. |
vision_amount | Optional | Portion used for vision-related purchases (vision merchants only). |
IIAS Amount Distribution Across Split Paymentsβ
When merchants initiate split payments using multiple payment methods, they provide a single IIAS specification at the transaction level, rather than breaking it down by payment method. CCG automatically distributes the IIAS amounts proportionally across each payment allocation based on its relative share of the total transaction amount.
Distribution Formulaβ
For equal split payments (both payment methods eligible for IIAS), CCG calculates IIAS amounts proportionally using the following abbreviations:
- QA = Qualified Amount
- PA = Prescription Amount
- VA = Vision Amount
Step 1: Calculate Total Amount and Split Ratio
totalAmount = paymentAllocation1_amount + paymentAllocation2_amount
splitRatio = paymentAllocation1_amount Γ· totalAmount
Step 2: Prorate IIAS Amounts for First Allocation
paymentAllocation1_QA = round(QA * splitRatio)
paymentAllocation1_PA = round(PA * splitRatio)
if totalAmount = QA + VA:
paymentAllocation1_VA = paymentAllocation1_amount - QA
else:
paymentAllocation1_VA = round(VA * splitRatio)
Step 3: Calculate Remaining Amounts for Second Allocation
paymentAllocation2_QA = QA - paymentAllocation1_QA
paymentAllocation2_PA = PA - paymentAllocation1_PA
paymentAllocation2_VA = VA - paymentAllocation1_VA
The IIAS distribution calculation in the Convenient Checkout API ensures that qualified, prescription, and vision amounts are always properly aggregated across multiple payments. This guarantees:
- Qualified Amount Accuracy: Total qualified amount is the sum of all individual paymentAllocation's qualified amounts
- Prescription Amount Accuracy: Total prescription amount is the sum of all individual paymentAllocation's prescription amounts
- Vision Amount Accuracy: Total vision amount is the sum of all individual paymentAllocation's vision amounts
IIAS Applicability Matrixβ
| Scenario | IIAS Applicable | CCG Computes IIAS |
|---|---|---|
| Split payment: CARD + CARD | Yes | Yes |
| Split payment: CARD + ACH | Not supported | Not supported |
| Split payment: ACH + ACH | Not supported | Not supported |
| Single payment: CARD | Yes | No. IIAS is applied as is |
| Single payment: ACH | NA | NA |
Rules Enforced by Payment Processorβ
IIAS payments must satisfy these constraints:
-
Combined qualified and vision amounts cannot exceed the payment amount:
qualifiedAmount + visionAmount β€ amount -
Prescription amount cannot exceed the qualified amount:
prescriptionAmount β€ qualifiedAmount
If either constraint is violated, the payment processor rejects the transaction with a validation error. Refer to Payment Details Object Error Codes for specific error responses and resolution steps.
See IIAS Payments β Computation Examples & Response Reference for six worked examples covering equal splits, uneven ratios, rounding edge cases, and payments without a vision amount.
Payment Request with IIAS Detailsβ
To initiate an IIAS payment, include the paymentDetails object with the appropriate healthcare and IIAS fields in your API request.
Request can be made through either the Sessions API (widget-driven) or the Create Payments API (merchant backend).
Sample Requestβ
Sample Payload for Split Payment with IIAS Through Sessions API
{
"customer": {
"hsid": "b0b3c48d-4cf6-404a-a554-e14640a51c5b"
},
"payment": [
{
"merchantTransactionId": "849fb3f7-517d-4a75-ab1f-3367615e9556",
"amount": 800000,
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 3000,
"qualifiedAmountDetails": {
"prescriptionAmount": 1000
}
},
"visionAmount": 2000
}
}
}
]
}
Sample Payload for Split Payment (Single Card) with IIAS Through Create Payments API
{
"amount": 100,
"merchantTransactionId": "string",
"description": "string",
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 50,
"qualifiedAmountDetails": {
"prescriptionAmount": 30
}
},
"visionAmount": 49
}
},
"customer": {
"hsid": "da31da38-f997-4079-8cce-c749b4067ecb",
"metadata": {
"property1": "string",
"property2": "string"
}
},
"paymentAllocations": [
{
"paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
"amount": 100
}
]
}
Sample Payload for Split Payment (Card + Card) with IIAS Through Create Payments API
{
"amount": 100,
"merchantTransactionId": "string",
"description": "string",
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 50,
"qualifiedAmountDetails": {
"prescriptionAmount": 30
}
},
"visionAmount": 49
}
},
"customer": {
"hsid": "da31da38-f997-4079-8cce-c749b4067ecb",
"metadata": {
"property1": "string",
"property2": "string"
}
},
"paymentAllocations": [
{
"paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",
"amount": 50
},
{
"paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d012",
"amount": 50
}
]
}
Payment Response for IIAS Paymentsβ
For split payments, the API response includes IIAS details at two levels: top-level paymentDetails (the original merchant-provided amounts) and paymentAllocations[].paymentDetails (the distributed amounts per allocation) β letting you verify the proration was applied correctly.
See IIAS Payments β Computation Examples & Response Reference for sample single-card and split-payment responses with IIAS details.