---
updatedAt: 2026-10-16T07:08:18.000Z
agentTools:
  projectIndex: https://docs.walapay.io/llms.txt
---

# Responses

## HTTP Status Codes

Walapay API calls return HTTP status codes. Some API calls also return JSON response bodies that include information about the resource, including one or more contextual HATEOAS links. Use these links to request more information about and construct an API flow that is relative to a specific request. Each REST API request returns an HTTP status code.

### Successful Requests

For successful requests, Walapay returns HTTP `2XX` status codes.

| Status Code        | Description                                                                                                                                                                                     |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **200 OK**         | The request succeeded.                                                                                                                                                                          |
| **201 Created**    | A `POST` method successfully created a resource. If the resource was already created by a previous execution of the same method, for example, the server returns the HTTP `200 OK` status code. |
| **202 Accepted**   | The server accepted the request and will execute it later.                                                                                                                                      |
| **204 No Content** | The server successfully executed the method but returns no response body.                                                                                                                       |

***

### Failed Requests

For failed requests, Walapay returns HTTP `4XX` status codes if something passed in the request has an error or `5XX` status codes when something is wrong on our end with a server or service.

#### HTTP 4XX Status Codes

<Table>
  <thead>
    <tr>
      <th>
        **Status Code**
      </th>

      <th>
        **Description**
      </th>

      <th>
        **Possible Causes and Solutions**
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **400 Bad Request**
      </td>

      <td>
        * \*INVALID_REQUEST\*\*. Request is not well-formed, syntactically incorrect, or violates schema.
      </td>

      <td>
        The server could not understand the request. Indicates one of these conditions: <br /> • The API cannot convert the payload data to the underlying data type. <br /> • The data is not in the expected data format. <br /> • A required field is not available. <br /> • A simple data validation error occurred.
      </td>
    </tr>

    <tr>
      <td>
        **401 Unauthorized**
      </td>

      <td>
        * \*INVALID_REQUEST\*\*. API Key is missing from request header.
      </td>

      <td>
        API Key is missing from request header.
      </td>
    </tr>

    <tr>
      <td>
        **403 Forbidden**
      </td>

      <td>
        * \*ACCESS_DENIED\*\*. The specified resource does not belong to you.
      </td>

      <td>
        The request requires access to a resource that does not belong to the requestor.
      </td>
    </tr>

    <tr>
      <td>
        **404 Not Found**
      </td>

      <td>
        * \*RESOURCE_NOT_FOUND\*\*. The specified resource does not exist.
      </td>

      <td>
        The server did not find anything that matches the request URI. Either the URI is incorrect or the resource is not available. For example, no data exists in the database at that key.
      </td>
    </tr>

    <tr>
      <td>
        **406 Not Acceptable**
      </td>

      <td>
        * \*MEDIA_TYPE_NOT_ACCEPTABLE\*\*. The server does not implement the media type acceptable to the client.
      </td>

      <td>
        The server cannot use the client-request media type to return the response payload. For example, this error occurs if the client sends an `Accept: application/xml` request header but the API can generate only an `application/json` response.
      </td>
    </tr>

    <tr>
      <td>
        **409 Conflict**
      </td>

      <td>
        * \*RESOURCE_CONFLICT\*\*. Request cannot be processed as it conflicts with another request.
      </td>

      <td>
        The API cannot complete the requested action as it conflicts with another request that is currently being processed.
      </td>
    </tr>

    <tr>
      <td>
        **415 Unsupported Media Type**
      </td>

      <td>
        * \*UNSUPPORTED_MEDIA_TYPE\*\*. The server does not support the request payload's media type.
      </td>

      <td>
        The API cannot process the media type of the request payload. For example, this error occurs if the client sends a `Content-Type: application/xml` request header but the API can only accept `application/json` request payloads.
      </td>
    </tr>

    <tr>
      <td>
        **422 Unprocessable Entity**
      </td>

      <td>
        * \*UNPROCESSABLE_ENTITY\*\*. The API cannot complete the requested action, or the request action is semantically incorrect or fails business validation.
      </td>

      <td>
        The API cannot complete the requested action and might require interaction with APIs or processes outside of the current request. No systemic problems limit the API from completing the request. For example, this error occurs for any business validation errors, including errors that are not usually of the `400` type.
      </td>
    </tr>

    <tr>
      <td>
        **429 Too Many Requests**
      </td>

      <td>
        * \*RATE_LIMIT_REACHED\*\*. Too many requests. Blocked due to rate limiting.
      </td>

      <td>
        The rate limit for the user, application, or token exceeds a predefined value.
      </td>
    </tr>
  </tbody>
</Table>

***

#### HTTP 5XX Status Codes

| **Status Code**               | **Description**                                                     | **Possible Causes and Solutions**                                                                                                              |
| ----------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| **500 Internal Server Error** | **INTERNAL\_SERVER\_ERROR**. An internal server error has occurred. | A system or application error occurred. Although the client appears to provide a correct request, something unexpected occurred on the server. |
| **503 Service Unavailable**   | **SERVICE\_UNAVAILABLE**. Service Unavailable.                      | The server cannot handle the request for a service due to temporary maintenance.                                                               |