Introduction
The Fizen Pay API provides a simple and powerful REST API to integrate CryptoCurrencies payments into your business or application.
Authentication
Most requests to the Payment API must be authenticated with an API key. You can create an API key in your Settings page after creating a Fizen Pay account.
Authenticated API requests should be made with a X-FP-API-KEY
header. Your secret API key should be passed as the value.
If authentication fails, a JSON object with an error message will be returned as a response along with HTTP status 401 Unauthorized.
Pagination
All GET endpoints which return an object list support pagination with pagination information inside the URL queries. This means that to get all objects, you need to paginate through the results. Default limit is set to 10 but values up to 100 are permitted.
Query | Description | Default |
---|---|---|
page | The page number | 1 (first page) |
limit | The number of items in page. Up to 100 items | 10 |
search | Search some fields of items by given text | empty |
Errors
All error messages include a statusCode
identifier and a pre-definedmessage
. , which is used for address the error and localize a human readable message. For example:
{ "message": "SECURITY.INVALID_OTP", "statusCode": 401 }
Last updated