Response Codes

To better understand the CyberSource REST API response codes, enter the returned Status, Reason, Service, or HTTP code below, or download the latest version of the response codes JSON file.

The value that was entered is not a valid response code. Please try again

Status Field

The status field displays the status of the requested transaction. For successful transactions, ‘status’ is the only field returned in the response.

Reason Field

The reason field displays the reason for a failed or declined Payments API request. In declined or unsuccessful transactions, the API reply includes an ‘errorInformation’ object and a ‘status’ field. The 'errorInformation' object contains a 'reason' field.

Services

A service is the REST API resource that you use to request a transaction. REST services include:

  • Payments
  • Capture
  • Reversal
  • Refund
  • Credit
  • Void

HTTP Status Codes

The Payments API responds with the standard HTTP status codes, which include, 201, 400, or 502.

201 - This HTTP status code confirms that the CyberSource API created a transaction resource ID. If you get this HTTP status code for an unsuccessful transaction, CyberSource or the merchant's processor probably marked it as under review, declined or failed.

400 - This HTTP status code indicates something is wrong or missing in the Merchant's request. Try to correct the request and resubmit it.

502 - This HTTP status code indicates either a server error or timeout. Retry the transaction, and contact customer support if you need to investigate further.

Search Results

Service HTTP Code Status Reason Message Action
{{x.serviceType}} {{x.statusCode}} {{x.status}} {{x.reason}} {{x.message}} {{x.action}}