{"id":15044264,"url":"https://github.com/eriknakata/advcash","last_synced_at":"2025-10-24T05:30:36.330Z","repository":{"id":57137150,"uuid":"88555230","full_name":"eriknakata/advcash","owner":"eriknakata","description":"node.js wrapper for advcash cryptocurrency exchange","archived":false,"fork":false,"pushed_at":"2017-12-25T18:37:57.000Z","size":95,"stargazers_count":16,"open_issues_count":2,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-08T19:41:24.407Z","etag":null,"topics":["advcash","bitcoin","btc","cryptocurrency","merchant-api","wrapper"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/advcash","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriknakata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-17T22:11:43.000Z","updated_at":"2025-02-06T15:06:12.000Z","dependencies_parsed_at":"2022-09-01T04:01:07.597Z","dependency_job_id":null,"html_url":"https://github.com/eriknakata/advcash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknakata%2Fadvcash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknakata%2Fadvcash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknakata%2Fadvcash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknakata%2Fadvcash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriknakata","download_url":"https://codeload.github.com/eriknakata/advcash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237915422,"owners_count":19386724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advcash","bitcoin","btc","cryptocurrency","merchant-api","wrapper"],"created_at":"2024-09-24T20:50:21.407Z","updated_at":"2025-10-24T05:30:36.010Z","avatar_url":"https://github.com/eriknakata.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/eriknakata/advcash.svg?branch=master)](https://travis-ci.org/eriknakata/advcash)\n[![Code Climate](https://codeclimate.com/github/eriknakata/advcash/badges/gpa.svg)](https://codeclimate.com/github/eriknakata/advcash)\n[![Test Coverage](https://codeclimate.com/github/eriknakata/advcash/badges/coverage.svg)](https://codeclimate.com/github/eriknakata/advcash/coverage)\n[![dependencies Status](https://david-dm.org/eriknakata/advcash/status.svg)](https://david-dm.org/eriknakata/advcash)\n\n# Advcash\n\nnode.js wrapper for [advcash](http://wallet.advcash.com/referral/d3bd61a9-5950-4d1b-8607-ec4c0f7a3576) cryptocurrency exchange\n\n### Documentation\n\nThe official documentation can be found [here](https://advcash.com/files/documents/advcash.merchantapi-1.9_en.pdf)\n\n### Prerequisites\n\n\n- Node 6.0\n- Advcash account ([click here](http://wallet.advcash.com/referral/d3bd61a9-5950-4d1b-8607-ec4c0f7a3576) to register)\n- Advcash api key\n\n\n### Installing\n\n```\nnpm install --save advcash\n```\n\n## Examples\n\nAll methods returns a promise as result\n\n### client\n\n```js\nvar advcash = require('advcash');\n\nvar options = {\n  password: 'password created previously',\n  apiName: 'api created previously',\n  accountEmail: 'email used to create the advcash account'\n};\n\nadvcash(options).then(function(client) {\n  // client is ready\n})\n\n```\n\n### checkCurrencyExchange\n\nGetting the currency exchange rate\n\n#### Arguments\n\n| Name     | Type    | Description                                                         |\n|----------|---------|---------------------------------------------------------------------|\n| from     | String  | [Transfer currencies](#transfer-currencies)                         |\n| to       | String  | [Transfer currencies](#transfer-currencies)                         |\n| action   | String  | BUY, SELL                                                           |\n| amount   | Float   | Transaction amount (accuracy – up to two digits after decimal point)|\n\n```js\n\nvar arguments = {\n  from: \"BTC\",\n  to: \"USD\",\n  action: \"SELL\",\n  amount: 0.5\n};\n\nclient.checkCurrencyExchange(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n{\n  \"amountExchanged\": 636.32,\n  \"rate\": 1272.63,\n  \"from\": \"BTC\",\n  \"to\": \"USD\",\n  \"action\": \"SELL\",\n  \"amount\": 0.5\n}\n\n```\n\n### getBalances\n\nGet Balance per User’s Wallets\n\n```js\n\nclient.getBalances().then(function(balances) {\n  console.log(balances)\n})\n\n```\n\n\u003e Response\n\n```json\n\n[\n  {\n    \"amount\": 0.55,\n    \"id\": \"U768564323906\"\n  },\n  {\n    \"amount\": 0.80,\n    \"id\": \"E527005319826\"\n  }\n]\n\n```\n\n### validateAccount\n\nChecking matching the  first and last name of the user in the Advanced Cash system with the name and last name in a third-party system\n\n```js\n\nvar arguments = {\n  email: \"email@example.com\",\n  firstName: \"First name example\",\n  lastName: \"Last name example\"\n};\n\nclient.validateAccount(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n{\n  \"firstNameMatchingPercentage\": 90.55,\n  \"rate\": 55.56\n}\n\n```\n\n\n### validateAccounts\n\nValidation of Account’s Existence\n\n```js\n\nvar emails = ['email1@example.com', 'email2@example.com']\n\nclient.validateAccounts(emails).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n[\n  {\n    \"present\": false,\n    \"accountEmail\": \"email1@example.com\"\n  },\n  {\n    \"present\": true,\n    \"accountEmail\": \"email2@example.com\"\n  }\n]\n\n```\n\n### history\n\nTransaction History\n\n#### Arguments\n\n| Name                | Type    | Description                                                         |\n|---------------------|---------|---------------------------------------------------------------------|\n| from                | Int     | Ordinal number of transaction to start displaying with              |\n| count               | Int     | The number of transactions for disiplaying                          |\n| sortOrder           | String  | ASC, DESC                                                           |\n| startTimeFrom       | Date    | Start date for transactions to be selected                          |\n| startTimeTo         | Date    | End date for transactions to be selected                            |\n| transactionName     | String  | [Transaction Names](#transaction-names)                             |\n| transactionStatus   | String  | [Transaction Statuses](#transaction-statuses)                       |\n| walletId            | String  | Wallet                                                              |\n\n```js\n\nvar arguments = {\n  from: 1,\n  count: 5,\n  sortOrder: \"ASC\",\n  startTimeFrom: new Date('2017-01-02'),\n  startTimeTo: new Date(),\n  transactionName: 'CURRENCY_EXCHANGE',\n  transactionStatus: 'COMPLETED'\n};\n\nclient.history(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n{ \n  \"id\": \"8d088e53-462c-4eb5-b596-70060db6b66d\",\n  \"activityLevel\": 0,\n  \"amount\": 10.24,\n  \"comment\": \"\",\n  \"currency\": \"EUR\",\n  \"direction\": \"OUTGOING\",\n  \"fullCommission\": 0.00,\n  \"receiverEmail\": \"receiver@example.com\",\n  \"sci\": false,\n  \"senderEmail\": \"sender@example.com\",\n  \"startTime\": \"2017-03-25T19:46:56.843Z\",\n  \"status\": \"COMPLETED\",\n  \"transactionName\": \"CURRENCY_EXCHANGE\",\n  \"walletDestId\": \"U768564448973\",\n  \"walletSrcId\": \"E5270053223408\"\n}\n\n```\n\n### validationSendMoney\n\nValidation of Intrasystem Transfer\n\n#### Arguments\n\n| Name                 | Type    | Description                                                           |\n|----------------------|---------|-----------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)  |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                           |\n| email                | String  | Recipient’s email (Required if “walletId” is empty)                   |\n| walletId             | String  | Recipient’s wallet (Required if “email” is empty)                     |\n| note                 | String  | Note to transaction                                                   |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                      |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 0.10,\n  currency: \"USD\",\n  email: \"example@example.com\",\n  note: \"testing\",\n  savePaymentTemplate: true\n}\n\nclient.validationSendMoney(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### validationSendMoneyToAdvcashCard\n\nValidation of Funds Transfer to Advanced Cash Card\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                    |\n|----------------------|---------|--------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)           |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                    |\n| email                | String  | Email of the user that owns the card                                           |\n| cardType             | String  | [Card type which will be used for the transfer of funds](#advcash-cards-types) |\n| note                 | String  | Note to transaction                                                            |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                               |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 0.10,\n  currency: \"USD\",\n  email: \"example@example.com\",\n  cardType: \"PLASTIC\",\n  note: \"testing\",\n  savePaymentTemplate: true\n}\n\nclient.validationSendMoneyToAdvcashCard(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### validationSendMoneyToEcurrency\n\nValidation of Withdrawal to a third-party payment system\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                    |\n|----------------------|---------|--------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point). Required if ecurrency is not BITCOIN  |\n| btcAmount            | Float   | Transaction amount in BTC currency when you need to withdraw exact BTC amount (accuracy – up to six digits after decimal point). Required if ecurrency is BITCOIN   |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                    |\n| ecurrency            | String  | [Ecurrencies](#ecurrencies)                                                    |\n| receiver             | String  | ID or wallet of the recipient in the third-party payment system                |\n| note                 | String  | Note to transaction                                                            |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                               |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 1.00,\n  currency: \"USD\",\n  ecurrency: \"ECOIN\",\n  receiver: \"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp\",\n  note: \"testing\",\n  savePaymentTemplate: false  \n}\n\nclient.validationSendMoneyToEcurrency(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### findTransaction\n\nTransaction Search by ID\n\n#### Arguments\n\n| Name           | Type    | Description       |\n|----------------|---------|-------------------|\n| transactionId  | String  | Transaction ID    |\n\n```js\n\nclient.findTransaction(\"e5383553-f66c-4073-b81d-86e7c3756cdb\").then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n{ \n  \"id\": \"e5383553-f66c-4073-b81d-86e7c3756cdb\",\n  \"activityLevel\": 0,\n  \"amount\": 10.24,\n  \"comment\": \"\",\n  \"currency\": \"EUR\",\n  \"direction\": \"OUTGOING\",\n  \"fullCommission\": 0.00,\n  \"receiverEmail\": \"receiver@example.com\",\n  \"sci\": false,\n  \"senderEmail\": \"sender@example.com\",\n  \"startTime\": \"2017-03-25T19:46:56.843Z\",\n  \"status\": \"COMPLETED\",\n  \"transactionName\": \"INNER_SYSTEM\",\n  \"walletDestId\": \"U768564448973\",\n  \"walletSrcId\": \"E5270053223408\"\n}\n\n```\n\n### currencyExchange\n\nIntrasystem Currency Exchange\n\n#### Arguments\n\n| Name   | Type    | Description                                                           |\n|--------|---------|-----------------------------------------------------------------------|\n| from   | String  | [Transfer currencies](#transfer-currencies)                           |\n| to     | String  | [Transfer currencies](#transfer-currencies)                           |\n| action | String  | BUY, SELL                                                             |\n| amount | Float   | Transaction amount (accuracy – up to two digits after decimal point)  |\n| note   | String  | Note to transaction                                                   |\n\n```js\n\nvar arguments = {\n  from: \"USD\",\n  to: \"EUR\",\n  action: \"SELL\",\n  amount: 1.00,\n  note: \"testing\"\n}\n\nclient.currencyExchange(arguments).then(function(transactionId) {\n  console.log(transactionId)\n})\n\n```\n\n\u003e Response\n\n```json\n\n\"1575948b-6ead-426f-8ecf-ee7 aa3969c\"\n\n```\n\n### sendMoneyToEmail\n\nTransfer of Funds to Unregistered User via E-mail\n\n#### Arguments\n\n| Name      | Type    | Description                                                           |\n|-----------|---------|-----------------------------------------------------------------------|\n| currency  | String  | [Transfer currencies](#transfer-currencies)                           |\n| email     | String  | E-mail address of the payment recipient unregistered in Advanced Cash system (Immediate after registration in Advanced Cash system, user will receive funds transfer)  |\n| amount    | Float   | Transaction amount (accuracy – up to two digits after decimal point)  |\n| note      | String  | Note to transaction                                                   |\n\n```js\n\nvar arguments = {\n  amount: 0.10,\n  currency: 'USD',\n  email: 'example@example.com',\n  note: \"testing\"\n}\n\nclient.sendMoneyToEmail(arguments).then(function(transactionId) {\n  console.log(transactionId)\n})\n\n```\n\n\u003e Response\n\n```json\n\n\"1575948b-6ead-426f-8ecf-ee7 aa3969c\"\n\n```\n\n### validationCurrencyExchange\n\nValidation of Currency Exchange\n\n#### Arguments\n\n| Name    | Type    | Description                                                            |\n|---------|---------|------------------------------------------------------------------------|\n| amount  | Float   | Transaction amount (accuracy – up to two digits after decimal point).  |\n| from    | String  | [Outgoing currency](#transfer-currencies)                              |\n| to      | String  | [Incoming currency](#transfer-currencies)                              |\n| action  | String  | SELL, BUY                                                              |\n| note    | String  | Note to transaction                                                    |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 1.10,\n  from: \"USD\",\n  to: \"EUR\",\n  action: \"SELL\",\n  note: \"testing\"\n}\n\nclient.validationCurrencyExchange(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n### validationSendMoneyToEmail\n\nValidation of Funds Transfer to Unregistered User via E-mail\n\n#### Arguments\n\n| Name    | Type    | Description                                                             |\n|--------- |---------|------------------------------------------------------------------------|\n| amount   | Float   | Transaction amount (accuracy – up to two digits after decimal point).  |\n| currency | String  | [Transaction currency](#transfer-currencies)                           |\n| email    | String  | E-mail address of the payment recipient unregistered in Advanced Cash system (Immediately after registration in Advanced Cash system, user will receive funds transfer) |\n| note     | String  | Note to transaction                                                    |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 1.10,\n  currency: \"USD\",\n  email: \"testing@testing.com\",\n  note: \"testing\"\n}\n\nclient.validationSendMoneyToEmail(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\nnull\n```\n\n### sendMoney\n\nIntrasystem Payment\n\n#### Arguments\n\n| Name                 | Type    | Description                                                           |\n|----------------------|---------|-----------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)  |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                           |\n| email                | String  | Recipient’s email (Required if “walletId” is empty)                   |\n| walletId             | String  | Recipient’s wallet (Required if “email” is empty)                     |\n| note                 | String  | Note to transaction                                                   |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                      |\n\n```js\nvar arguments = client.sendMoney({\n  amount: 10.50,\n  currency: \"USD\",\n  email: \"sample@sample.com\",\n  note: \"testing\",\n  savePaymentTemplate: true\n})\n\nclient.sendMoney(arguments).then(function(response) {\n  console.log(response) // null\n})\n```\n\n\u003e Response\n\n```json\n\"1575948b-6ead-426f-8ecf-ee7 aa3969c\"\n```\n\n### sendMoneyToAdvcashCard\n\nTransfer of Funds to Advanced Cash Card\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                    |\n|----------------------|---------|--------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)           |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                    |\n| email                | String  | Email of the user that owns the card                                           |\n| cardType             | String  | [Card type which will be used for the transfer of funds](#advcash-cards-types) |\n| note                 | String  | Note to transaction                                                            |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                               |\n\n```js\n\nvar arguments = {\n  amount: 5.00,\n  currency: \"USD\",\n  email: \"sample@sample.com\",\n  cardType: \"PLASTIC\",\n  note: \"testing\",\n  savePaymentTemplate: true\n}\n\nclient.sendMoneyToAdvcashCard(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n\"1575948b-6ead-426f-8ecf-ee7 aa3969c\"\n\n```\n\n### validationSendMoneyToBankCard\n\nValidation of Funds Transfer to External Card Not Tied to System\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| cardNumber           | String  | External card number for finds withdrawal                                               |\n| expiryMonth          | String  | Two digits that signify the month of the card’s expiration date (e.g. 09 for September) |\n| expiryYear           | String  | Two last digits of the year of the card’s expiration date (e.g. 17 for year 2017)       |\n| note                 | String  | Note to transaction                                                                     |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                                        |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 4.00,\n  currency: \"USD\",\n  cardNumber: \"4532881212776308\",\n  expiryMonth: \"12\",\n  expiryYear: \"18\",\n  note: \"testing\",\n  savePaymentTemplate: false\n}\n\nclient.validationSendMoneyToBankCard(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### sendMoneyToBankCard\n\nTransfer of Funds to External Bank Card\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| cardNumber           | String  | External card number for finds withdrawal                                               |\n| expiryMonth          | String  | Two digits that signify the month of the card’s expiration date (e.g. 09 for September) |\n| expiryYear           | String  | Two last digits of the year of the card’s expiration date (e.g. 17 for year 2017)       |\n| note                 | String  | Note to transaction                                                                     |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                                        |\n\n```js\n\nvar arguments = {\n  amount: 4.00,\n  currency: \"USD\",\n  cardNumber: \"4532881212776308\",\n  expiryMonth: \"12\",\n  expiryYear: \"18\",\n  note: \"testing\",\n  savePaymentTemplate: false\n}\n\nclient.sendMoneyToBankCard(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n\"20931ce4-f4c9-4cc5-84f7-f7efb38c939c\"\n\n```\n\n### sendMoneyToEcurrency\n\nWithdrawal to a third-party payment system\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| btcAmount            | Float   | Transaction amount in BTC currency when you need to withdraw exact BTC amount (accuracy – up to six digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| ecurrency            | String  | [Ecurrencies](#ecurrencies)                                                             |\n| cardNumber           | String  | External card number for finds withdrawal                                               |\n| receiver             | String  | ID or wallet of the recipient in the third-party payment system                         |\n| note                 | String  | Note to transaction                                                                     |\n| savePaymentTemplate  | Boolean | Indicator of saving the current payment template                                        |\n\n```js\n\nvar arguments = {\n  amount: 1.00,\n  currency: \"USD\",\n  ecurrency: \"ECOIN\",\n  receiver: address,\n  note: \"testing\",\n  savePaymentTemplate: false\n}\n\nclient.sendMoneyToEcurrency(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n\"d28a6da7-451d-41c4-93f8-cd0084c72f96\"\n\n```\n\n### createBitcoinInvoice\n\nCreating bitcoin invoice\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| sciName              | String  | Shopping Cart Interface name (optional parameter)                                       |\n| orderId              | String  | Id of the order (optional parameter)                                                    |\n| note                 | String  | Note to transaction (optional parameter)                                                |\n\n```js\n\nvar arguments = {\n  amount: 1.0,\n  currency: \"USD\"\n}\n\nclient.createBitcoinInvoice(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\n{ \n  \"bitcoinAddress\": \"1C8jQAkHwE87bTmyDXSKdNyf8B8MnGYhpp\",\n  \"bitcoinAmount\": 0.001388,\n  \"amount\": 1.00,\n  \"currency\": \"USD\",\n  \"sciName\": \"sci_name\",\n  \"orderId\": \"12345\",\n  \"note\": \"Some note\"\n}\n\n```\n\n### register\n\nRegister a new user\n\n#### Arguments\n\n| Name                 | Type    | Description        |\n|----------------------|---------|--------------------|\n| email                | String  | User's email       |\n| firstName            | String  | User's first name  |\n| lastName             | String  | User's last name   |\n| language             | String  | en, ru             |\n\nIf the registration of the user is successful, the response from the server will contain a blank message. If the registration is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  email: \"test@test.com\",\n  firstName: \"First name\",\n  lastName: \"Last name\",\n  language: \"en\"\n}\n\nclient.register(arguments).then(function(response) {\n  console.log(response)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### sendMoneyToExmo\n\nWithdrawal to EXMO\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| note                 | String  | Note to transaction (optional parameter)                                                |\n\n```js\n\nvar arguments = {\n  amount: 1.10,\n  currency: \"USD\",\n  note: \"testing\"\n}\n\nclient.sendMoneyToExmo(arguments).then(function(response) {\n  console.log(response)\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\n\n{\n  \"id\": \"d28a6da7-451d-41c4-93f8-cd0084c72f96\",\n  \"coupon\": \"EX-CODE_22562_USD1d7f906bd79cb8e13200aa55c227a2fe9328bf17\"\n}\n\n```\n\n### validationSendMoneyToBtcE\n\nValidation of Withdrawal to BTC-E\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| note                 | String  | Note to transaction (optional parameter)                                                |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 1.10,\n  currency: \"USD\",\n  note: \"testing\"\n}\n\nclient.validationSendMoneyToBtcE(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### validationSendMoneyToExmo\n\nValidation of Withdrawal to EXMO\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| note                 | String  | Note to transaction (optional parameter)                                                |\n\nIf the validation of the expected payment is successful, the response from the server will contain a blank message. If the validation is not successful, a message with an error contained in its body will be returned.\n\n```js\n\nvar arguments = {\n  amount: 1.10,\n  currency: \"USD\",\n  note: \"testing\"\n}\n\nclient.validationSendMoneyToExmo(arguments).then(function(response) {\n  console.log(response) // null\n})\n.catch(function(error) {\n  console.log(error)\n})\n\n```\n\n\u003e Response\n\n```json\n\nnull\n\n```\n\n### sendMoneyToBtcE\n\nWithdrawal to BTC-E\n\n#### Arguments\n\n| Name                 | Type    | Description                                                                             |\n|----------------------|---------|-----------------------------------------------------------------------------------------|\n| amount               | Float   | Transaction amount (accuracy – up to two digits after decimal point)                    |\n| currency             | String  | [Transfer currencies](#transfer-currencies)                                             |\n| note                 | String  | Note to transaction (optional parameter)                                                |\n\n```js\n\nvar arguments = {\n  amount: 1.10,\n  currency: \"USD\",\n  note: \"testing\"\n}\n\nclient.sendMoneyToBtcE(arguments).then(function(response) {\n  console.log(response)\n})\n.catch(function(error) {\n  console.log(error)\n})\n```\n\n\u003e Response\n\n```json\n\n{\n  \"id\": \"d28a6da7-451d-41c4-93f8-cd0084c72f96\",\n  \"coupon\": \"EX-CODE_22562_USD1d7f906bd79cb8e13200aa55c227a2fe9328bf17\"\n}\n\n```\n\n\n### Transaction Statuses\n\n| Value      | Description                        |\n|------------|------------------------------------|\n| PENDING    | Transaction processing is pending  |\n| PROCESS    | Transaction is being processed     |\n| COMPLETED  | Transaction is completed           |\n| CANCELED   | Transaction is cancelled           |\n| CONFIRMED  | Transaction is confirmed           |\n\n### Transaction Names\n\n| Value                       | Description                                |\n|-----------------------------|--------------------------------------------|\n| ALL                         | All transactions regardless of their type  |\n| CHECK_DEPOSIT               | Funds deposit by bank check                |\n| WIRE_TRANSFER_DEPOSIT       | Funds deposit from bank account            |\n| WIRE_TRANSFER_WITHDRAW      | Funds withdrawal to bank account           |\n| INNER_SYSTEM                | Intrasystem funds transfer                 |\n| CURRENCY_EXCHANGE           | Currency exchange within account           |\n| BANK_CARD_TRANSFER          | Funds withdrawal to external bank card     |\n| ADVCASH_CARD_TRANSFER       | Funds transfer to Advanced Cash card       |\n| EXTERNAL_SYSTEM_DEPOSIT     | Deposit funds through third-party system   |\n| EXTERNAL_SYSTEM_WITHDRAWAL  | Withdrawal through third-party system      |\n| REPAYMENT                   | Funds repayment                            |\n\n### Transfer Currencies\n\n| Value | Description        |\n|-------|--------------------|\n| USD   | US Dollar          |\n| EUR   | Euro               |\n| RUR   | Russian Rouble     |\n| GBP   | Pound Sterling     |\n| UAH   | Ukrainian Hryvnia  |\n| BTC   | Bitcoin            |\n\n### ADVCash cards Types\n\n| Value    | Description        |\n|----------|--------------------|\n| VIRTUAL  | Virtual card       |\n| PLASTIC  | Plastic card       |\n\n### Ecurrencies\n\n| Value          | Description                   |\n|----------------|-------------------------------|\n| BITCOIN        | Withdrawal to BTC             |\n| CAPITALIST     | Capitalist payment system     |\n| ECOIN          | Ecoin payment system          |\n| OKPAY          | OkPay payment system          |\n| PAXUM          | Paxum payment system          |\n| PAYEER         | Payeer payment system         |\n| PERFECT_MONEY  | Perfect Money payment system  |\n| WEB_MONEY      | WebMoney payment system       |\n| QIWI           | QIWI payment system           |\n| YANDEX_MONEY   | Yandex.Money payment system   |\n\n\n## Contributing\n\n- Erik Nakata\n- Leonardo Cadastro\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriknakata%2Fadvcash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriknakata%2Fadvcash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriknakata%2Fadvcash/lists"}