Skip to main content

Standard Responses

Successful Responses

The BlockWyre API employs a consistent format for responses across all endpoints. This section outlines the standard response structure for successful and error scenarios.

For successful requests (HTTP status codes 2xx), the API returns a JSON object which typically includes data requested, status information, and metadata. The structure might vary depending on the specific endpoint.

Common HTTP Status Codes for Successful Responses

  • 200 OK: The request has been successfully completed. Commonly used for general successful responses.
  • 201 Created: A resource has been successfully created as a result of the request. Often used to confirm the successful creation of data (e.g., POST requests).
  • 204 No Content: The request has been successfully completed, but there is no content to return. Often used to indicate that an action has been successfully performed, but there is no additional information to present to the client (e.g., DELETE requests).

Example of a successful response:

{
"item1": "value1",
"item2": "value2"
}

Support and Resources

If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.

Stay Updated

Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:

We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!