Description

This is the official wowpay api

Demo: https://github.com/MyEcoria/wowswap/blob/main/modules/wallet.mjs

Base URL

The base URL for all API requests is:

https://nanpay.pilou.cc

Header:

auth: api key (https://pay.pilou.cc/apis)

sign : private key (https://pay.pilou.cc/apis)

To manage the sign in the header, you need to sign the body with the sending date. Here's an example in Node.js:

const jsonData = {
    currency: ticket,
    time: Date.now()
};
const withdrawalRequestBody = JSON.stringify(jsonData);
const withdrawalRequestSign = crypto.createHmac('sha256', "private key").update(withdrawalRequestBody).digest('base64');
            
const headers = {
    'Content-Type': 'application/json',
    'auth': "api key",
    'sign': withdrawalRequestSign
};

Endpoints

POST /wallet/deposit

Create a deposit address

Parameters

Response

Returns a JSON object with the following properties: