Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
node-payeer-api
Advanced tools
node-payeer-api ================ Official [documentation](http://docs.payeercom.apiary.io/#introduction/) for Payeer api.
Official documentation for Payeer api.
npm install node-qiwi-api
Init payeer client
var Payeer = require('node-payeer-api').Payeer;
var accountData = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty'
}
var Client = new Payeer(accountData);
Parameter | Description | Example |
---|---|---|
account | Your account number in the Payeer system. | P1000000 |
apiId | The API user’s ID; given out when adding the API. | 12345 |
apiPass | The API user's secret key. | qwerty |
[getPS]:Get Payment Systems
Client.getPaymentSystems((err, systems) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
var requestOptions = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty',
ps: '26808',
sumIn: '10.00',
curIn: 'RUB',
curOut: 'RUB',
accountNumber: '79191234567'
}
Client.payoutCheck(requestOptions, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
Parameter | Description | Example |
---|---|---|
account | Your account number in the Payeer system. | P1000000 |
apiId | The API user’s ID; given out when adding the API. | 12345 |
apiPass | The API user's secret key. | qwerty |
ps | ID of selected payment system. | 1136053 |
sumIn | Amount withdrawn (the amount deposited will be calculated automatically, factoring in all fees from the recipient). | 1.00 |
curIn | Currency with which the withdrawal will be performed. | USD, EUR, RUB |
curOut | deposit currency (if the withdrawal currency is different from the deposit currency, the conversion will be performed automatically based on the Payeer system’s exchange rate when the transfer takes place). | USD, EUR, RUB |
accountNumber | recipient's account number in the selected payment system ps | P1000441 |
var requestOptions = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty',
ps: '26808',
sumIn: '10.00',
curIn: 'RUB',
curOut: 'RUB',
accountNumber: '79191234567'
}
Client.payout(requestOptions, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
var requestOptions = {
account: 'P1000000',
apiId: '12345',
apiPass: 'qwerty',
sum: '1.00',
curIn: 'RUB',
curOut: 'RUB',
to: 'qwerty@gmail.com',
comment: 'hello'
}
Client.transfer(requestOptions, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
Parameter | Description | Example |
---|---|---|
to | User’s Payeer account number or email address (if the email address was not registered before the transfer, the registration will be performed automatically) | P1000000 |
comment | Comments on the transfer (this should preferably show the transaction ID in your accounting system) | Transfer #1365 |
Client.getCommission(ps, currency, (err, result) => {
if(err) {
/*hanle error*/
}
/*some actions*/
}
Parameter | Description | Example |
---|---|---|
ps | ID of selected payment system. | 1136053 |
currency | Currency | USD, EUR, RUB |
FAQs
node-payeer-api ================ Official [documentation](http://docs.payeercom.apiary.io/#introduction/) for Payeer api.
The npm package node-payeer-api receives a total of 4 weekly downloads. As such, node-payeer-api popularity was classified as not popular.
We found that node-payeer-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.