Learn how to integrate our APIs into your application.
https://staging.api.mavapay.co/api/v1
while the base URL for the live API is https://api.mavapay.co/api/v1
.GET
: Retrieve data from the server.POST
: Send data to the server.PUT
: Update data on the server.DELETE
: Remove data from the server.200 OK
: The request was successful.201 Created
: The resource was created successfully.400 Bad Request
: The request was invalid.401 Unauthorized
: The request was not authorized.404 Not Found
: The resource was not found.500 Internal Server Error
: An error occurred on the server.Authorization
header. Responses from our API are in JSON format. Content-Type should be set to application/json
.
The response body will contain the data you requested or an error message if the request was unsuccessful. Here is an example of a successful response:
status
: The status of the request (success
or error
).message
: A message describing the status of the request.data
: The data returned by the API. Always an object or an array.When sending amounts, please ensure that the amount is in the smallest unit of the currency. For example, if you are sending 100 NGN, you should send
10000
as the amount (100 * 100)
.
Here are the list of currencies our API supports (we’re constantly adding more currencies):