Checking access…

Skip to main content
Version: v2
Audience: Consumers, CCG Platform Engineers

IIAS Payments

When to use this page

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.

Quick Reference
  • IIAS Payments: Used for healthcare cards (FSA, HSA) at IIAS-enabled merchants.

  • API Endpoints:

    • POST v2/sessions β€” Initiate a session with IIAS payment details
    • POST 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​

FieldRequired?Description
qualified_amountMandatoryTotal IRS-eligible HSA/FSA amount for the transaction.
prescription_amountOptional (recommended)Portion used specifically for prescription medication.
vision_amountOptionalPortion 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
tip

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:

  1. Qualified Amount Accuracy: Total qualified amount is the sum of all individual paymentAllocation's qualified amounts
  2. Prescription Amount Accuracy: Total prescription amount is the sum of all individual paymentAllocation's prescription amounts
  3. Vision Amount Accuracy: Total vision amount is the sum of all individual paymentAllocation's vision amounts

IIAS Applicability Matrix​

ScenarioIIAS ApplicableCCG Computes IIAS
Split payment: CARD + CARDYesYes
Split payment: CARD + ACHNot supportedNot supported
Split payment: ACH + ACHNot supportedNot supported
Single payment: CARDYesNo. IIAS is applied as is
Single payment: ACHNANA

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
Rule Violations

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.

Worked computation examples

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.

Full sample responses

See IIAS Payments β€” Computation Examples & Response Reference for sample single-card and split-payment responses with IIAS details.