# Card Payment Status Update
source: https://developer.mastercard.com/payment-initiation-api/documentation/use-cases/card-payment-status-update/index.md

This section outlines how a Debtor Agent submits and tracks a payment cancellation request using the **Update transaction status** API. It explains how Commercial Direct Payments (CDP) validates the request, coordinates with the Creditor Agent when applicable, and returns the final cancellation outcome.
Diagram cancel-reg

1. The Debtor Agent submits a cancellation request to CDP using the **Update transaction status** PUT call.
   API Reference: `PUT /debtor-agents/{ica}/payment-initiations/{instruction_identification}`

#### Scenario 1: When the requestedExecutionDate is today or in the future {#scenario-1-when-the-requestedexecutiondate-is-today-or-in-the-future}

2. CDP validates the cancellation request.
3. CDP sends an acknowledgment of the request to the Debtor Agent.
4. CDP sends the **CANCELLATION_REQUESTED** status to the Creditor Agent through a POST webhook call.
5. The Creditor Agent sends an acknowledgment to CDP.
6. The Creditor Agent sends the **CANCELLATION_ACCEPTED** or **CANCELLATION_REJECTED** status to CDP through the **Update transaction status** PUT call.
7. CDP forwards the **CANCELLATION_ACCEPTED** or **CANCELLATION_REJECTED** status to the Debtor Agent.

#### Scenario 2: When the requestedExecutionDate is in the past {#scenario-2-when-the-requestedexecutiondate-is-in-the-past}

8. CDP validates the cancellation request.
9. CDP rejects the cancellation request and sends a **CANCELLATION_REJECTED** status to the Debtor Agent.
