Getting Started With Your API

This page will help you get started with Cafe One Wallet API.

Welcome to the Cafe One Wallet API. Our API empowers developers to create innovative and secure fintech solutions, bringing financial capabilities directly to your users' fingertips.

Base URL

The base URL for our API is: https://api.cafeone.dev/

Authentication

Before using our API, you need to obtain an API key. You can generate an API key by signing up on our developer portal. Include the API key in the request headers as follows:

Authorization: Bearer YOUR_API_KEY

Making Requests

Our API uses the HTTP protocol, and requests are made using the appropriate HTTP methods. The data is typically sent and received in JSON format.

Error Handling

Our API returns standard HTTP status codes to indicate the outcome of a request. Additionally, the response body may include an error object with more details.

Here are some standard error status codes and their meanings:

Status codeStatus nameDescription
400Bad RequestThe request was malformed or had invalid parameters.
401UnauthorizedThe request lacks valid authentication credentials.
403ForbiddenThe authenticated user does not have permission to access the requested resource.
404Not FoundThe requested resource was not found.
500Internal Server ErrorAn unexpected error occurred on the server.

Getting Started:

To use our API, developers must sign up to get an access token. This token will grant access to API endpoints and is essential for authenticating API requests.