pilot

Confirm Transaction Events

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

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 section in the
Intelligent Commerce
API Hub.

Optional Field for Confirming Transaction Events

transactionData[].type

Example: Confirming Transaction Events

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" }