On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/cybs/en-us/visa-agentic-platform/developer/all/rest/intelligent-commerce/intelligent-commerce-confirm-trxn-intro.md)  
pilot

Confirm Transaction Events {#intelligent-commerce-confirm-trxn-intro}
=====================================================================

Use the information in this section to verify when a transaction is complete. After your agents use your customer's tokenized card and your payment system to process a transaction, your agents can send the *confirm transaction events* request to know when a payment is done processing.  
A successful payment is indicated by the `COMPLETED` status in the status response field. After verifying the transaction is complete, you can confirm the purchase with the customer.

Endpoints
---------

Send a POST request to one of these endpoints. The *{instructionID}* is the instruction ID from the create a purchase request.  
**Production:** `POST ``https://api.cybersource.com``/acp/v1/instructions/`*{instructionID}*`/confirmations`  
**Test:** `POST ``https://apitest.cybersource.com``/acp/v1/instructions/`*{instructionID}*`/confirmations`

Required Fields for Confirming Transaction Events {#intelligent-commerce-confirm-trxn-req-fields}
=================================================================================================

clientCorrelationId
:

transactionData\[\].clientReferenceInformation.code
:

transactionData\[\].merchantInformation.merchantDescriptor.country
:

transactionData\[\].merchantInformation.merchantDescriptor.url
:

transactionData\[\].merchantInformation.merchantName
:

transactionData\[\].orderInformation.amountDetail.currency
:

transactionData\[\].orderInformation.amountDetail.totalAmount
:

Additional Information
----------------------

For complete descriptions of the request fields, see the [Confirm transaction events](https://apihub.visa.com/cybs/internal/Spec-Branches/DOCRSTAPI_1374_acp_api_spec/acp_rest.md#operation/confirmTransactionEvents "") section in the `Intelligent Commerce` API Hub.

Optional Field for Confirming Transaction Events {#intelligent-commerce-confirm-trxn-opt-fields}
================================================================================================

transactionData\[\].type
:

Example: Confirming Transaction Events {#intelligent-commerce-confirm-trxn-ex-rest}
===================================================================================

Request

```
{
  "clientCorrelationId": "3e1b7943-6567-4965-a32b-5aa93d057d35",
  "transactionData": [
    {
      "clientReferenceInformation": {
        "code": "transactionDatatransactionReferenceId"
      },
      "acquirerInformation": {},
      "type": "PURCHASE",
      "orderInformation": {
        "amountDetail": {
          "totalAmount": "100.00",
          "currency": "USD"
        }
      },
      "merchantInformation": {
        "merchantName": "Test Merchant",
        "merchantDescriptor": {
          "country": "US",
          "url": "https://example.com"
        }
      }
    }
  ]
}
```

Response to a Successful Request

```
{
  "clientCorrelationId": "3e1b7943-6567-4965-a32b-5aa93d057d35",
  "transactionId": " ",
  "status": "COMPLETED",
  "signedPayload": "jws-signed-payload"
}
```

RELATED TO THIS PAGE

* <>

