---
schema_version: "1"
id: 1a4d64e38f941ebdfd2248079130fb27f9a63acfa86e4c039d8896ff9e9d5b08
title: Delete 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_delete_claim_coverage_payment_detail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_delete_claim_coverage_payment_detail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7188d5f91ec1cf4eb159ed9fb6e9ab4b1f2eddbff4295d965189ccb188ea94f9
description: Remove unpaid claim coverage payment details by updating the status of the claim coverage payment detail record to Deleted.
---
# Delete Claim Coverage Payment Detail Action

Remove unpaid claim coverage payment details by updating the status of the claim coverage payment detail record to Deleted.

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/deleteClaimCvrPaymentDetail

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 |
| --- | --- | --- |
| deleteClaimCvrPymtDtlInputRep | Apex-defined | Required. An Apex [ConnectApi.DeleteClaimCvrPymtDtlInputRep](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_delete_claim_cvr_pymt_dtl_input_re.htm "Input representation for deleting claim coverage payment detail operations") record that contains the details of the claim coverage payment detail record to be marked for deletion by updating the status. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| paymentDetailId | string | ID of the payment detail record that's deleted. |

## Example

Sample Request

{
  "inputs": \[
    {
      "deleteClaimCvrPymtDtlInputRep": {
        "claimId": "0Zkxx000000001dEAA",
        "coverageId": "0kPxx000000002fEAA",
        "paymentDetailId": "5pdS70000004oVfIAI"
      }
    }
  \]
}

Sample Response

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