---
schema_version: "1"
id: acf57e7781e068207ba6df402fb195853c3ec82e45702be476bf114deb581dca
title: Cancel Claim Coverage Payment Detail Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_cancel_claim_coverage_payment_detail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_cancel_claim_coverage_payment_detail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2b17161c7bb3aa76f4f6918da21f72bcfa6ac87e9d0fdf511c3b0d4558804666
description: Cancel payment for a claim coverage payment detail record.
---
# Cancel Claim Coverage Payment Detail Action

Cancel payment for a claim coverage payment detail record.

When the coveragePaymentType is Loss, this action reverses the insurance policy limit tracking data to roll back consumption. This action is available in API version 65.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/cancelClaimCvrPaymentDetail

Where XX.X is the latest API version.

**Formats**: JSON

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| cancelClaimCvrPymtDtlInputRep | Apex-defined | Required. An Apex ConnectApi.CancelClaimCvrPymtDtlInputRep record that contains the details to cancel the payment for the claim coverage payment detail record. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| paymentDetailId | string | ID of the payment detail record for which the payment is canceled. |

## Example

Sample Request

{
  "inputs": \[
    {
      "cancelClaimCvrPymtDtlInputRep": {
        "claimId": "0clS70000004p9XIAQ",
        "coverageId": "0kPxx000000002fEAA",
        "paymentDetailId": "0l2xx000000003gEAA"
      }
    }
  \]
}

Sample Response

{
  "actionName": "cancelClaimCvrPaymentDetail",
  "errors": null,
  "invocationId": null,
  "isSuccess": true,
  "outcome": null,
  "outputValues": {
    "paymentDetailId": "5pdS70000004oVfIAI"
  },
  "sortOrder": -1,
  "version": 1
}