Retrieve a Transaction

This section describes how to retrieve the current status of a sale or refund.
You can send the retrieve a transaction request any time after sending sale or refund request. When you send a retrieve a transaction,
Cybersource
responds with the transaction's current status in the
applicationInformation.status
response field.
Cybersource
recommends sending a retrieve a transaction request every 60-minutes for e-commerce transactions and every 3-minutes for in-store transactions until the payment is complete.

Shipping Information

Cybersource
recommends that you do not ship purchased items until the sale is in the completed status.

Endpoints

Production:
GET
https://api.cybersource.com
/tss/v2/transactions/
{id}
Test:
GET
https://apitest.cybersource.com
/tss/v2/transactions/
{id}
Set the
{id}
to the request ID of the original transaction.

Response Statuses

Cybersource
responds to your request with one of these possible statuses in the
status
response field.
  • COMPLETED
    : The customer has completed the checkout using the redirect URL and the sale is complete. No further action is needed.
  • FAILED
    : The request is not successful due to the PPRO supported payment method declining the request. Send a new request.
  • PENDING
    : The customer has not yet completed checking out using the redirect URL. Continue sending periodic retrieve a transaction requests until the status updates.
  • SERVER_ERROR
    : The request is not successful due to a system timeout error. Resend the request.