Balance

The balance is returned in cents

GET https://getnude.app/api/mch/balance

Name
Type
Required
Description

timestamp

String

Yes

Current timestamp

sign

String

Yes

Refer to the sign page

merchant_no

String

Yes

Merchant no

Response

{
    "code": 0,
    "message": "",
    "data": {
        "balance": 79
    }
}

const axios = require('axios');
let data = JSON.stringify({
  "timestamp": "xxxx",
  "sign": "xxxx",
  "merchant_no": "xxx"
});

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: 'https://getnude.app/api/mch/balance',
  headers: { 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

Last updated