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
The status field displays the status of the requested transaction. For successful transactions, ‘status’ is the only field returned in the response.
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.
A service is the REST API resource that you use to request a transaction. REST services include:
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.