Checking access…

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

Split Tender Payment β€” Status, Response & Error Reference

When to use this page

Looking up an exact response shape, status value, webhook event, or error code for a split tender payment. For the integration walkthrough itself, see Split Tender Payments API.

API Response Catalog​

Response Structure

The complex object is trimmed for brevity. Refer to the API Spec for the full response structure.

Successful Response​

Sample Response β€” COMPLETED
{
"url": "http://api-stg.uhg.com:443/v2/payments/3222ac8a-c8fa-4426-bd99-e96a909569b0",
"data": {
"id": "3222ac8a-c8fa-4426-bd99-e96a909569b0",
"merchantTransactionId": "30d279fa-9d7d-48c9-8e61-c3783eecf18c",
"amount": 200,
"description": "V2Split Tender Payment",
"currencyCode": "USD",
"status": "COMPLETED",
"vendor": {
// ... see API Spec for full vendor object ...
},
"statementDescriptorSuffix": "splitTheTe",
"paymentDateUtc": "2026-03-21T00:24:01.741688Z",
"metadata": {
"orderId": "123",
"orderType": "prescription"
},
"merchant": {
// ... see API Spec for full merchant object ...
},
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 82,
"qualifiedAmountDetails": {
"prescriptionAmount": 42
}
},
"visionAmount": 8
}
},
"paymentAllocations": [
{
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"amount": 100,
"status": "COMPLETED",
"paymentMethod": {
// ... see API Spec for full paymentMethod object ...
},
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 41,
"qualifiedAmountDetails": {
"prescriptionAmount": 21
}
},
"visionAmount": 4
}
}
},
{
"id": "777373ac-dccf-499f-8c77-1d5e198508ad",
"amount": 100,
"status": "COMPLETED",
"paymentMethod": {
// ... see API Spec for full paymentMethod object ...
},
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 41,
"qualifiedAmountDetails": {
"prescriptionAmount": 21
}
},
"visionAmount": 4
}
}
}
],
"customer": {
"id": "fa6dcef4-6400-467b-aa28-0f02a7afd724"
},
"agent": {
"firstName": "AgentFirstName",
"lastName": "AgentLastName",
"isAccessVerified": null,
"userId": "s438"
}
}
}

Failure Response​

Understanding Failure Responses

When a split tender payment fails, the API response provides detailed information for each allocation (if allocations were attempted):

  • For rollbacks (when one card succeeds and the other fails), check the remediation object in the rolled-back allocation. This object explains why the allocation was canceled and confirms that split payments are atomic (all-or-nothing).
  • For failures (when an allocation fails), refer to the error object within each failed allocation. error.detail contains the CCG-mapped human-readable message. error.errorDetails contains raw diagnostic data returned directly by the payment processor (e.g., decline reason); notably error.errorDetails.message is the vendor's original error text and may differ from error.detail.

Business Rule Violations: If the request violates a business rule (e.g., unsupported payment method, invalid configuration), the response will not include any paymentAllocations array. Instead, the error is described at the top level of the response.

Business Rule Violation (No Allocations)​

Sample Response β€” Business Rule Violation
{
"title": "UNPROCESSABLE_ENTITY",
"detail": "Split payments cannot be processed using a bank account. Please select a different payment method",
"status": 422,
"data": {
"id": "de989762-5a8f-4a82-95e1-04c2a5356a15",
"merchantTransactionId": "13c7de91-b649-436e-8cdc-edff5e233238",
"amount": 200,
"currencyCode": "USD",
"status": "FAILED",
"vendor": {
// ... see API Spec for full vendor object ...
},
"paymentDateUtc": "2026-03-21T00:24:59.102492Z",
"merchant": {
// ... see API Spec for full merchant object ...
},
"customer": {
"id": "a903448b-7090-4f37-8400-26eac6b0a13b"
}
}
}

Both Allocations failed during processing​

Sample Response β€” Both Allocations (CARD) Failed
{
"title": "PAYMENT_ERROR",
"detail": "One of the split tender card payments failed during processing",
"status": 422,
"data": {
"id": "9cbecc7b-6401-4f1b-bc1d-c2769d466e7f",
"merchantTransactionId": "95b8da69-cf36-49cb-8dbe-1f0948cd38ed",
"amount": 200,
"description": "RollBack",
"currencyCode": "USD",
"status": "FAILED",
"vendor": {
"name": "STRIPE"
},
"paymentDateUtc": "2026-03-21T00:25:45.206679Z",
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f",
"groupId": "3cf34cba-ffec-48fb-b7ca-09977db1077a",
"name": "ccg-optum-rx"
},
"paymentAllocations": [
{
"id": "99407904-f239-4a50-9968-c75fa4d99623",
"amount": 100,
"status": "FAILED",
"paymentMethod": {
// ... see API Spec for full paymentMethod object ...
},
"error": {
"title": "PAYMENT_ERROR",
"detail": "Your card was declined.",
"errorDetails": {
"code": "card_declined",
"message": "Your card was declined.",
"declineCode": "generic_decline",
"networkAdviceCode": null,
"networkDeclineCode": "01"
}
}
},
{
"id": "99407904-f239-4a50-9968-c75fa4d99623",
"amount": 100,
"status": "FAILED",
"paymentMethod": {
// ... see API Spec for full paymentMethod object ...
},
"error": {
"title": "PAYMENT_ERROR",
"detail": "Your card was declined.",
"errorDetails": {
"code": "card_declined",
"message": "Your card was declined.",
"declineCode": "generic_decline",
"networkAdviceCode": null,
"networkDeclineCode": "01"
}
}
}
],
"customer": {
"id": "5e395f2d-d000-4e79-9f33-ca68280bd2b6"
}
}
}

Rolled Back Response - One of the Allocation Failed during Processing​

Sample Response β€” ROLLED_BACK
{
"title": "PAYMENT_ERROR",
"detail": "One of the split tender card payments failed during processing",
"status": 422,
"data": {
"id": "9cbecc7b-6401-4f1b-bc1d-c2769d466e7f",
"merchantTransactionId": "95b8da69-cf36-49cb-8dbe-1f0948cd38ed",
"amount": 200,
"description": "RollBack",
"currencyCode": "USD",
"status": "FAILED",
"vendor": { "name": "STRIPE" },
"paymentDateUtc": "2026-03-21T00:25:45.206679Z",
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f",
"groupId": "3cf34cba-ffec-48fb-b7ca-09977db1077a",
"name": "ccg-optum-rx"
},
"paymentAllocations": [
{
"id": "0da5b8ee-a75f-4468-8eaa-85c387251a7c",
"amount": 100,
"status": "ROLLED_BACK",
"paymentMethod": {
// ... see API Spec for full paymentMethod object ...
},
"remediation": {
"type": "CANCELLATION",
"message": "This paymentAllocation was canceled because another paymentAllocation failed. Split payments are atomicβ€”all paymentAllocations must succeed"
}
},
{
"id": "99407904-f239-4a50-9968-c75fa4d99623",
"amount": 100,
"status": "FAILED",
"paymentMethod": {
// ... see API Spec for full paymentMethod object ...
},
"error": {
"title": "PAYMENT_ERROR",
"detail": "Your card was declined.",
"errorDetails": {
"code": "card_declined",
"message": "Your card was declined.",
"declineCode": "generic_decline",
"networkAdviceCode": null,
"networkDeclineCode": "01"
}
}
}
],
"customer": { "id": "5e395f2d-d000-4e79-9f33-ca68280bd2b6" }
}
}

How Parent Status Is Determined​

The parent payment status is derived from the statuses of all allocations:

  • All allocations succeed: Parent status is COMPLETED.
  • Any allocation fails: Parent status is FAILED (successful allocations are rolled back automatically).
  • Processing: Parent status is PENDING while any allocation is still processing.
  • Weakest link: The most problematic allocation status determines the parent status.

Status Mapping Table​

Card 1Card 2Parent StatusDescription
⏳ PENDING⏳ PENDING⏳ PENDINGBoth cards processing
βœ… COMPLETEDβœ… COMPLETEDβœ… COMPLETEDTransaction fully completed
⏳ PENDING❌ FAILED⏳ PENDINGOne card failed, rollback in progress
πŸ”„ ROLLED_BACK❌ FAILED❌ FAILEDRollback completed
❌ FAILED❌ FAILED❌ FAILEDBoth cards failed

Merchant-Facing Status Mapping​

GET /v2/payments/{id} returns allocationStatus using the merchant-facing status vocabulary β€” see Payment Lifecycle for what each value means and how to act on it.


Webhook Event Summary​

Webhook Payload Structure
EventWhen Triggered
PAYMENT_SUCCEEDEDBoth cards completed successfully
PAYMENT_FAILEDOne or both cards failed
caution

PAYMENT_FAILED is not final if retries remain. It becomes final only after the 5th failure or when the merchant stops retrying. Always check the retry counter and parent status before taking irreversible actions.


Split Tender–Specific Errors​

Beyond the standard payment errors, split tender has these use-case-specific failure modes:

  • Partial failure β†’ automatic rollback: When one card succeeds and the other fails, CCG cancels the successful card. The response includes remediation.type: "CANCELLATION" on the rolled-back allocation.
  • 3DS in agent session: If either card triggers 3DS in an agent-assisted session, the entire payment fails β€” agents can't complete 3DS challenges.

For the complete list of error codes, status codes, and error details, see Payment Error Codes.

3DS Allocation Type Matrix​

See 3DS / Strong Customer Authentication for when 3DS applies at all. Once it does:

Allocation type3DS enabledNotes
CARD (user/guest session)βœ… Yes3DS challenge surfaced to user
CARD (agent session)❌ BlockedChallenge cannot be completed; payment fails
BANK_ACCOUNT❌ NoACH has no 3DS concept
POST v2/payments (direct API)❌ NoOff-session, merchant-initiated, no user present β€” 3DS never applies

CARD + CARD (both allocations are cards): Both allocations can independently enter AUTH_REQUIRED. Each requires a separate PATCH .../confirm call. The parent transaction status shows AUTH_REQUIRED until all legs are resolved, and the capture pipeline is paused for the whole transaction.

3DS challenge sequence when a CARD allocation encounters a challenge:

  1. The allocation transitions to AUTH_REQUIRED
  2. An event is published to the session service
  3. The UI receives a client_secret to render the Stripe challenge
  4. User completes the challenge β†’ allocation status becomes CONFIRMATION_REQUIRED
  5. The CCG Widget calls PATCH .../confirm automatically β†’ allocation transitions to CONFIRMATION_INITIALIZED
  6. Stripe processes the PaymentIntent β†’ allocation proceeds to AUTHORIZED / COMPLETED
Capture gating

While any allocation is in AUTH_REQUIRED, the orchestrator pauses the entire capture pipeline for the transaction. No allocation will be captured until all pending 3DS challenges are resolved. This prevents partial captures across a split-tender transaction.

authorizeCard vs 3DS

authorizeCard controls capture timing (SALE vs PRE_AUTH) and is not related to 3DS. Its relationship to split tender differs by integration path:

  • POST v2/payments (API): Setting authorizeCard=true is validation-blocked β€” the request will be rejected.
  • POST v2/sessions (widget): Setting authorizeCard=true is an eligibility condition β€” the session will not surface the split-tender UI. Split tender requires a sale payment flow (authorizeCard=false or unset).

Retry Rules​

  • You can retry up to 5 times per merchantTransactionId (1 initial + 4 retries).
  • The retry counter increments automatically for each attempt with the same merchantTransactionId.
  • All retries must use the same merchantTransactionId for idempotency and tracking.
  • Each retry is all-or-nothing β€” you cannot retry just the failed card; both allocations are retried together.
  • On each retry, you may change the cards and redistribute the amounts between them.
  • After failure, you may switch to a single-card payment if desired.
  • After the 5th failure, the transaction is failed and no further retries are allowed for that merchantTransactionId. A new transaction should be initiated with a new merchantTransactionId.

FAQ​

Q: Can I retry only the failed card in a split tender payment?

  • No. All retries must include both allocations; split tender is all-or-nothing.

Q: When is PAYMENT_FAILED considered final?

  • Only after the 5th failed attempt or when you stop retrying. Until then, retries are allowed.

Q: A CARD allocation fails with authentication_not_handled. What does that mean?

  • The card required a 3DS challenge that the platform did not complete correctly. This is a platform-level condition β€” stop the affected flow and contact your CCG representative with the environment, merchant ID, payment ID, timestamp, and correlation ID.

Q: Does guest checkout support 3DS for split tender?

  • Yes. Guest checkout is UI-initiated β€” the user is present and can complete a 3DS challenge. Both user and guest flows fully support 3DS for CARD allocations.