WemX API
  • Overview
  • Authentication
  • Ratelimits
  • Errors
  • Parameters
  • API Reference
    • Users
    • Orders
    • Payments
    • Emails
    • Categories
    • Packages
    • Coupons
    • Gateways
    • OAuth Connections
Powered by GitBook
On this page

Was this helpful?

Errors

WemX follows standard HTTP response code to indicate success or failures.

HTTP Codes:

  • Codes in range 2xx indicate a successful response

  • Codes in range 4xx indicate invalid, incorrect or incomplete parameters, permission errors or authentication errors.

  • Codes in range 5xx indicate server side errors

WemX always responds with a success parameter to determine if the response was a success. If the response is false, an additional errors parameter is passed with an array of errors giving a more detailed error as to what went wrong.

{
    "success": false,
    "errors": [
        "Username is already taken"
    ]
}

PreviousRatelimitsNextParameters

Last updated 1 year ago

Was this helpful?