Checking access…

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

Payment — Status & Response Reference

Use this page to read a payment result. Start with the parent status, then check each paymentAllocations[] entry to see what happened to each payment method.

Payment outcomes at a glance​

Compare payment outcomes
PaymentIf an allocation failsParent result
One allocationThe one payment method failsFAILED
Card + card splitCCG rolls back the other cardFAILED after rollback
HSA splitA completed HSA allocation remains completed when its sibling failsPARTIAL_SUCCESS (HTTP 207)

When all allocations complete, the parent is COMPLETED. While processing, check the status mapping. For request steps, see single-payment guidance or split-tender guidance.

Single Allocation Payments​

API Response Catalog​

The examples show a card sale and omit optional fields. Card pre-authorization and bank-account payments can have different intermediate statuses; see the Get Payment API Spec for the complete response.

  • The paymentAllocations array contains one entry for the payment method.
  • The parent status reflects that allocation's outcome; COMPLETED and FAILED are shown below.
  • No remediation object is ever present (no rollback needed).
Sample Response — COMPLETED
{
"url": "https://api-stg.uhg.com/api/financial/commerce/nonprodcheckout/v2/payments/3222ac8a-c8fa-4426-bd99-e96a909569b0",
"data": {
"id": "3222ac8a-c8fa-4426-bd99-e96a909569b0",
"merchantTransactionId": "30d279fa-9d7d-48c9-8e61-c3783eecf18c",
"amount": 100,
"description": "Single Allocation Payment",
"currencyCode": "USD",
"status": "COMPLETED",
"paymentDateUtc": "2026-03-21T00:24:01.741688Z",
"metadata": {
"orderId": "123",
"orderType": "prescription"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"paymentAllocations": [
{
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"amount": 100,
"status": "COMPLETED",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d",
"paymentMethodDetails": {
"type": "CARD",
"last4": "4242"
}
}
}
],
"customer": {
"id": "fa6dcef4-6400-467b-aa28-0f02a7afd724"
}
}
}
Sample Response — FAILED
{
"title": "PAYMENT_ERROR",
"detail": "Your card was declined.",
"status": 422,
"data": {
"id": "9cbecc7b-6401-4f1b-bc1d-c2769d466e7f",
"merchantTransactionId": "95b8da69-cf36-49cb-8dbe-1f0948cd38ed",
"amount": 100,
"currencyCode": "USD",
"status": "FAILED",
"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": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d",
"paymentMethodDetails": {
"type": "CARD",
"last4": "4242"
}
},
"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"
}
}
}

Status Mapping​

Single-allocation status values
Allocation StatusParent StatusMeaning
PENDINGPENDINGPayment processing
AUTHORIZEDAUTHORIZEDCard authorized; capture remains
ACCEPTEDACCEPTEDBank-account payment accepted for processing
COMPLETEDCOMPLETEDPayment completed
FAILEDFAILEDPayment failed

There is no ROLLED_BACK or PARTIAL_SUCCESS status for a single allocation. For the full status vocabulary, including 3DS and cancellation states, see Payment Lifecycle.

Webhook Events​

Single-allocation webhook events
EventWhen Triggered
PAYMENT_SUCCEEDEDCard completed
PAYMENT_FAILEDCard failed
caution

PAYMENT_FAILED is not final if retries remain. It becomes final only after the 5th failure or when the merchant stops retrying.

FAQ​

Q: Can I poll individual allocation IDs?

  • No. Always use the parent paymentId or merchantTransactionId.

Split Tender Payments​

Split tender uses two payment allocations on one payment and is available through the Convenient Checkout UI/widget for every product, including Optum Wallet. Direct-API split-tender creation (POST v2/payments with two allocations) is CCG-only — see Split Tender Payments API for that walkthrough. The response shape, status mapping, webhooks, and errors apply regardless of which product or path created the payment.

Split-payment outcomes

For card + card, if either allocation fails, CCG rolls back the other allocation and the parent payment ends as FAILED. For a split payment with an HSA allocation, a completed HSA allocation and a failed sibling can instead produce PARTIAL_SUCCESS (HTTP 207); the completed allocation is not rolled back. Check each paymentAllocations[] entry before treating a split payment as fully failed or fully completed.

API Response Catalog​

The examples omit optional fields. See the Get Payment API Spec for the complete response.

Sample Response — COMPLETED
{
"url": "https://api-stg.uhg.com/api/financial/commerce/nonprodcheckout/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",
"statementDescriptorSuffix": "splitTheTe",
"paymentDateUtc": "2026-03-21T00:24:01.741688Z",
"metadata": {
"orderId": "123",
"orderType": "prescription"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 82,
"qualifiedAmountDetails": {
"prescriptionAmount": 42
}
},
"visionAmount": 8
}
},
"paymentAllocations": [
{
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"amount": 100,
"status": "COMPLETED",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
},
"paymentDetails": {
"healthcare": {
"iias": {
"qualifiedAmount": 41,
"qualifiedAmountDetails": {
"prescriptionAmount": 21
}
},
"visionAmount": 4
}
}
},
{
"id": "777373ac-dccf-499f-8c77-1d5e198508ad",
"amount": 100,
"status": "COMPLETED",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
},
"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"
}
}
}

When an HSA allocation completes and a sibling allocation fails, GET /v2/payments/{paymentId} can return HTTP 207 with parent status PARTIAL_SUCCESS. This is a condensed example; use the Get Payment schema for all fields.

Sample Response — PARTIAL_SUCCESS (HTTP 207)
{
"data": {
"id": "3222ac8a-c8fa-4426-bd99-e96a909569b0",
"amount": 200,
"currencyCode": "USD",
"status": "PARTIAL_SUCCESS",
"paymentAllocations": [
{
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"amount": 100,
"status": "COMPLETED",
"paymentMethod": {
"paymentMethodDetails": { "type": "HEALTH_SAVINGS_ACCOUNT" }
}
},
{
"id": "777373ac-dccf-499f-8c77-1d5e198508ad",
"amount": 100,
"status": "FAILED",
"paymentMethod": {
"paymentMethodDetails": { "type": "CARD" }
}
}
]
}
}

For a failed split payment, read the affected allocation's error. A rolled-back card has a remediation object. A business-rule rejection can have no paymentAllocations[] because processing never started. For processor detail, compare error.detail with error.errorDetails when present.

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",
"paymentDateUtc": "2026-03-21T00:24:59.102492Z",
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"customer": {
"id": "a903448b-7090-4f37-8400-26eac6b0a13b"
}
}
}
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",
"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": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
},
"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": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
},
"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"
}
}
}
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",
"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": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
},
"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": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
},
"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 depends on the allocation types and their outcomes:

  • All allocations succeed: Parent status is COMPLETED.
  • Card + card, one fails: The other allocation is rolled back and the parent status becomes FAILED.
  • HSA split, HSA succeeds and a sibling fails: Parent status is PARTIAL_SUCCESS (HTTP 207); the completed HSA allocation remains completed.
  • Processing: Parent status is PENDING while any allocation is still processing.

Status Mapping Table​

Split-tender parent status
Allocation 1Allocation 2Parent StatusApplies to
PENDINGPENDINGPENDINGProcessing allocations
COMPLETEDCOMPLETEDCOMPLETEDBoth allocations succeeded
ROLLED_BACKFAILEDFAILEDCard + card; rollback completed
FAILEDFAILEDFAILEDBoth allocations failed
HSA COMPLETEDSibling FAILED or PAYMENT_METHOD_FAILEDPARTIAL_SUCCESSHSA split; no rollback of the completed HSA allocation

The HSA mixed-outcome rule is defined in the V2 Get Payment response and partial-success webhook. A card + card rollback can remain PENDING while cancellation completes; poll the parent payment for its final status.

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​

Split-tender webhook events
EventWhen Triggered
PAYMENT_SUCCEEDEDBoth cards completed successfully
PAYMENT_FAILEDOne or both cards failed
PAYMENT_PARTIALLY_SUCCEEDEDCompleted HSA allocation and failed sibling
caution

PAYMENT_FAILED is not final if retries remain. It becomes final only after the 5th failure or when the merchant stops retrying. PAYMENT_PARTIALLY_SUCCEEDED requires allocation-level reconciliation. Always check the parent and allocation statuses before taking irreversible actions.

Split Tender–Specific Errors​

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

  • Card + card 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. An HSA split can instead return PARTIAL_SUCCESS as described above.
  • 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:

3DS support by allocation type
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

In a user or guest session, the widget handles any required 3DS challenge before the split payment completes.

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). This is the setting that enables split tender in a session — see Enable Split Tender in a Session.

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.
  • For card + card, 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 card + card split tender payment?

  • No. Card + card retries include both allocations after rollback. For an HSA PARTIAL_SUCCESS, reconcile the completed and failed allocations before initiating another payment.

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.

Q: Is split tender available in Optum Wallet?

  • Through the UI/widget, yes. Direct-API split-tender creation (POST v2/payments with two allocations) is CCG-only. See Enable Split Tender in a Session for how to turn it on, and poll or webhook against this same reference to read the result either way.