HTTP Response Codes
Understand system responses clearly to troubleshoot faster and keep payments running smoothly.
When working with APIs, it’s important to understand how the system responds to your requests. HTTP response codes provide clear, standardized feedback that helps developers determine whether a request was successful, needs correction, or failed due to an unexpected issue.
This section explains the most common HTTP status codes you may encounter when using Banking & Treasury APIs, along with guidance on how to interpret them.
HTTP Response Codes
Status codes indicate the outcome of your API request. They help you quickly understand whether the request was successful, requires correction, or failed due to a system-level issue. Familiarity with these codes helps developers build reliable integrations and handle API responses efficiently.
Banking & Treasury APIs use conventional HTTP response codes to indicate the success or failure of an API request and help diagnose issues during integration.
| Code | Description |
|---|---|
2xx range indicates success | Common codes include:
|
4xxrange indicates an error that failed based on the information provided. | Common codes include:
|
5xx indicates an error with PCE services | Common codes include:
|
Tip: Always check the HTTP status code first. If the status code indicates an error, review the error code and message returned in the API response body for more details.