Skip to main content
This guide provides a detailed overview of all possible HTTP status codes returned by the Revolv3 API, including success responses, client errors, server errors, and infrastructure-related issues from Revolv3.

Success Response Codes

These codes indicate successful operations.

Error Response Codes

These codes signal issues with the request or server-side problems. Always check the response body for detailed error messages where applicable.

Handling Validation Errors (400 Bad Request)

For incorrect data formatting or validation failures, the API returns a 400 status with an array of errors in the response body. Example for an invalid expiration date format:

Handling Processor Failures (200 OK with Failure Status)

Even on a successful API call (200 OK), the payment processor may decline the transaction. The response includes a “Fail” status and a message. To include the full raw processor response, add "includeRawProcessorResponse": true to your payload. Example response:

Retrieving Additional Invoice Details

For more information on a failed or successful invoice, use a GET request to the invoice endpoint: {{Api Root}}/api/Invoices/{{Active Invoice Id}} Example response:

Best Practices for Error Handling

  • Retry Logic: For 429, 502, 503, and 504 errors, implement exponential backoff retries.
  • Logging: Capture response codes and bodies for debugging.
  • User Feedback: Translate technical errors into user-friendly messages in your application.
  • Monitoring: Track error rates to identify integration issues early.
For further assistance, contact Revolv3 support.