Checking access…

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

Refund β€” Status, Response & Error Reference

Use this page to read a refund result. Start with the parent status, then check refundAllocations[] to see which payment methods received a refund.

Refund outcomes at a glance​

Compare refund outcomes
RefundAllocation resultParent result
One allocationThe one refund succeeds or failsCOMPLETED or FAILED
Split tenderBoth refunds succeed or both failCOMPLETED or FAILED
Split tenderOne succeeds and one failsPARTIAL_SUCCESS; the successful refund stays completed

Refunds do not roll back a completed allocation when another fails. Use the webhook events for notifications. For request and recovery steps, see Issue a Refund.

Single Allocation Refunds​

A single allocation refund always resolves to COMPLETED or FAILED β€” there's only one card, so there's no PARTIAL_SUCCESS to roll up.

API Response Catalog​

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

Sample Response β€” COMPLETED (HTTP 200)
{
"url": "https://api-stg.uhg.com/api/financial/commerce/nonprodcheckout/v2/refunds/6a90c43d-7904-4744-9741-290a93b9bb95",
"data": {
"id": "6a90c43d-7904-4744-9741-290a93b9bb95",
"status": "COMPLETED",
"reason": "REQUESTED_BY_CUSTOMER",
"merchantTransactionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"metadata": {},
"payment": {
"amount": 100,
"capturedAmount": 100,
"authorizedAmount": 0,
"description": "Single Allocation Payment",
"id": "3222ac8a-c8fa-4426-bd99-e96a909569b0",
"merchantTransactionId": "30d279fa-9d7d-48c9-8e61-c3783eecf18c",
"paymentDateUtc": "2026-03-21T00:24:01.741688Z"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"refundAllocations": [
{
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"amount": 100,
"status": "COMPLETED",
"paymentAllocation": {
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
}
]
}
}
Sample Response β€” FAILED (HTTP 422)
{
"title": "REFUND_ERROR",
"detail": "This payment is already refunded",
"status": 422,
"refund": {
"id": "9cbecc7b-6401-4f1b-bc1d-c2769d466e7f",
"status": "FAILED",
"reason": "DUPLICATE",
"merchantTransactionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"payment": {
"amount": 100,
"capturedAmount": 100,
"id": "3222ac8a-c8fa-4426-bd99-e96a909569b0",
"merchantTransactionId": "30d279fa-9d7d-48c9-8e61-c3783eecf18c"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"refundAllocations": [
{
"id": "99407904-f239-4a50-9968-c75fa4d99623",
"amount": 100,
"status": "FAILED",
"error": {
"title": "REFUND_ERROR",
"detail": "This payment is already refunded"
},
"paymentAllocation": {
"id": "8cd647c5-f9ff-42a0-b7d9-084c7f5d7d47",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
}
]
}
}

Status Definitions​

Single-allocation refund status values
LevelStatusDescription
RefundINITIATEDRefund request accepted; async validation and submission started
PENDINGThe payment processor is actively processing the refund
COMPLETEDRefund processed successfully; funds returned
FAILEDRefund failed; no funds returned

Webhook Events​

Single-allocation refund webhooks
EventWhen Triggered
REFUND_SUCCESSRefund completed
REFUND_FAILEDRefund failed

FAQ​

Q: Can I refund less than the full captured amount?

  • Yes. Include exactly one refundAllocations[] item with the amount to refund β€” it cannot exceed the captured amount minus any previous refunds.

Q: Can I issue more than one partial refund against the same payment?

  • Yes, as long as the combined refunded amount doesn't exceed the original captured amount. Each refund request needs its own unique merchantTransactionId.

Split Tender Refunds​

API Response Catalog​

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

  • The refundAllocations array contains one entry per card, each with its own status and error details if failed.
  • The parent refund status is computed from both allocations.
  • For PARTIAL_SUCCESS, check each allocation for error details and take manual action if needed.
Sample Response β€” COMPLETED (HTTP 200)
{
"url": "https://api-stg.uhg.com/api/financial/commerce/nonprodcheckout/v2/refunds/be7149e8-f286-4c7d-a0ea-a715966965ae",
"data": {
"id": "be7149e8-f286-4c7d-a0ea-a715966965ae",
"status": "COMPLETED",
"reason": "DUPLICATE",
"merchantTransactionId": "e4a42f8b-c668-4fb8-ae09-47c80e0f3cd5",
"metadata": {},
"payment": {
"amount": 1000,
"capturedAmount": 1000,
"authorizedAmount": 0,
"description": "PartialSplitRefundSuccess",
"id": "4266d148-7406-441e-a523-9a2ac81b39d5",
"merchantTransactionId": "9104ea96-5afb-4ea9-a40a-09661afdd706",
"paymentDateUtc": "2026-03-20T00:28:05"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"refundAllocations": [
{
"id": "6f90c43d-7904-4744-9741-290a93b9bb95",
"amount": 150,
"status": "COMPLETED",
"paymentAllocation": {
"id": "ae59cc49-56cc-436c-a99f-4520c82d6263",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
},
{
"id": "f1e46dee-65b2-4d54-a42b-75f7125dbd1b",
"amount": 100,
"status": "COMPLETED",
"paymentAllocation": {
"id": "f7b29404-497c-4447-910b-be25c8eb19e1",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
}
]
}
}
Sample Response β€” PARTIAL_SUCCESS (HTTP 207)
{
"url": "https://api-stg.uhg.com/api/financial/commerce/nonprodcheckout/v2/refunds/6ddd4069-2096-48f1-8394-1fe13953aa5f",
"data": {
"id": "6ddd4069-2096-48f1-8394-1fe13953aa5f",
"status": "PARTIAL_SUCCESS",
"reason": "REQUESTED_BY_CUSTOMER",
"merchantTransactionId": "28402815-8048-4725-b092-809f5fd28470",
"metadata": {},
"payment": {
"amount": 2000,
"capturedAmount": 2000,
"authorizedAmount": 0,
"description": "PartialSplitRefundSuccess",
"id": "620bba81-10d1-4abc-9e4a-c2c1752da349",
"merchantTransactionId": "3c5c2899-fe71-44d8-be9b-bd520e5e6539",
"paymentDateUtc": "2026-03-20T00:27:36"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"refundAllocations": [
{
"id": "f56b5fb8-578b-4ea2-bcf2-66bb4350a6aa",
"amount": 100,
"status": "COMPLETED",
"paymentAllocation": {
"id": "37cf8ca3-4e54-4599-ab36-2c9fd2ad42f4",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
},
{
"id": "b1cc58d4-0e0c-4388-a92f-1869fccb7667",
"amount": 1000,
"status": "FAILED",
"error": {
"title": "REFUND_ERROR",
"detail": "A previous attempt to refund this payment has failed"
},
"paymentAllocation": {
"id": "1ff243ca-e0f3-436f-a5b2-53c205715619",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
}
]
}
}
Sample Response β€” FAILED (HTTP 422)
{
"title": "REFUND_ERROR",
"detail": "Refund allocation processing failed for all records. Check individual records for error details",
"status": 422,
"refund": {
"id": "2aa92c90-3d54-4fb1-8655-19b18eb2e13c",
"status": "FAILED",
"reason": "DUPLICATE",
"merchantTransactionId": "bbc12922-9ebb-4647-869a-63a29e90ddfa",
"metadata": {
"orderId": "123496",
"purpose": "failedRefund"
},
"payment": {
"amount": 1000,
"capturedAmount": 1000,
"authorizedAmount": 0,
"description": "PartialSplitRefundSuccess",
"id": "4266d148-7406-441e-a523-9a2ac81b39d5",
"merchantTransactionId": "9104ea96-5afb-4ea9-a40a-09661afdd706",
"paymentDateUtc": "2026-03-20T00:28:05"
},
"merchant": {
"id": "b955db5e-aef2-47de-bbb9-c80b9cc16e8f"
},
"refundAllocations": [
{
"id": "3d62cf0c-89ea-424d-a637-aa887c5b9fab",
"amount": 2,
"status": "FAILED",
"error": {
"title": "REFUND_ERROR",
"detail": "This payment is already refunded"
},
"paymentAllocation": {
"id": "ae59cc49-56cc-436c-a99f-4520c82d6263",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
},
{
"id": "b7316cf6-8c00-4d30-bcca-a5874e114efe",
"amount": 1,
"status": "FAILED",
"error": {
"title": "REFUND_ERROR",
"detail": "This payment is already refunded"
},
"paymentAllocation": {
"id": "f7b29404-497c-4447-910b-be25c8eb19e1",
"paymentMethod": {
"id": "7b30960f-8a19-4ae0-8d73-46849365f81d", "paymentMethodDetails": { "type": "CARD" }
}
}
}
]
}
}

Status Definitions​

Both the parent refund and each allocation (card) carry their own status. The parent status is computed from both allocation outcomes.

Split-tender refund status values
LevelStatusDescription
Parent RefundINITIATEDRefund request accepted; async validation and submission started
PENDINGAt least one allocation is being processed by the payment processor
COMPLETEDAll allocations succeeded; total refund amount returned
FAILEDAll allocations failed; no funds returned
PARTIAL_SUCCESSOne allocation succeeded, one failed β€” no rollback
Allocation (R1/R2)INITIATEDAllocation created; async validation and submission to processor started
PENDINGProcessor is actively processing this allocation
COMPLETEDAllocation processed successfully; funds returned to card
FAILEDAllocation failed; no funds returned for this card

PENDING is optional β€” allocations may transition directly from INITIATED β†’ COMPLETED or INITIATED β†’ FAILED.

Status Mapping: R1 + R2 β†’ Parent​

Split-tender status mapping
Allocation 1Allocation 2Parent statusMeaning
INITIATEDINITIATEDINITIATEDBoth refunds queued
PENDINGPENDINGPENDINGBoth refunds processing
COMPLETEDCOMPLETEDCOMPLETEDBoth refunds succeeded
COMPLETEDFAILEDPARTIAL_SUCCESSOne succeeded; no rollback
FAILEDCOMPLETEDPARTIAL_SUCCESSOne succeeded; no rollback
FAILEDFAILEDFAILEDNeither refund succeeded

What is PARTIAL_SUCCESS?​

When one card refund succeeds and the other fails (e.g., expired, closed, or disputed card, or transient processor error), the parent status is PARTIAL_SUCCESS. The successful refund is not rolled back. The failed allocation includes an error object with details. Review the refundAllocations array, communicate with the customer if needed, and issue a manual/unlinked refund for the failed card if required. See Recovery Steps for handling.

Status Lifecycle​

Each refund allocation independently moves through these states:

View allocation lifecycle diagram

The parent status is derived from both allocation outcomes once processing completes:

View parent refund lifecycle diagram

Webhook Events​

CCG sends one webhook per refund request β€” not per card.

Split-tender refund webhooks
EventTriggerNotes
REFUND_SUCCESSBoth cards refunded successfullyRefund fully settled
REFUND_PARTIAL_SUCCESSOne payment refunded, one failedCheck per-refund allocation status
REFUND_FAILEDAll cards failed to refundNo funds returned

Recovery Steps for PARTIAL_SUCCESS​

For situation-specific actions and the uncertain-outcome procedure, see Recover a split-tender refund.

V1 vs V2 API Comparison​

Split Tender Refund is a new capability in v2 that extends the single-payment refund model.

Downloadable Field-by-Field Comparison​

A comprehensive comparison workbook is available for detailed field mapping:

πŸ“₯ Refund Payload Comparison v1 to v2

Workbook contents and how to read it
TabCoverage
RequestPOST /refunds (v1) vs POST /v2/refunds (v2)
Success and error responsesFields and HTTP status differences
WebhooksPending, success, partial success, and failure events

Each tab displays v1 JSON on the left and v2 JSON on the right. Field values use type labels (string, int, boolean, null, array, object) rather than actual data.

BadgeMeaning
πŸ”΄ <REMOVED>Field exists in v1 but not in v2
🟒 <ADDED>Field exists in v2 but not in v1
No badgeField exists in both versions

What to look for:

  • πŸ”΄ Removed fields β€” Stop sending these in v2 requests
  • 🟒 Added fields β€” New split tender capabilities (e.g., refundAllocations array)
  • Nested structure changes β€” v2 may nest or flatten fields differently
  • Type changes β€” Field may exist in both but with different type or format

FAQ​

Q: Can I refund the full amount without specifying allocations?

  • Yes. Omit refundAllocations entirely for a full refund. CCG will refund both cards for their original amounts.

Q: Can I poll individual allocation status?

  • No. Always use the parent refundId or merchantTransactionId to poll. Individual allocation IDs are not queryable directly.