Using the Public API for transaction and currency

Fee estimate

Endpoint POST /api/public/transaction/fee

POST https://api.cpay.world/api/public/transaction/fee

Endpoint, allows you to estimate transactions. You need to log in with the wallet in conjunction with the merchant.

Request Body

{
  "data": {
    "fee": 0
  }
}

Merchant currency

Endpoint GET /api/public/currency

GET https://api.cpay.world/api/public/currency

The endpoint allows you to get all the currencies that the merchant supports. You need to log in to the merchant.

Query Parameters

{
  "data": {
    "page": 0,
    "pages": 0,
    "countItems": 0,
    "currencies": [
      {
        "_id": "string",
        "name": "string",
        "title": "string",
        "nodeType": "string",
        "currencyType": "string"
      }
    ]
  }
}

Last updated