payiota
A Node.js wrapper around the Payiota.me API.
☁️ Installation
$ npm i --save payiota
📋 Example
const PayiotaAPI = ; const payiota = "your api key" // Create an invoicepayiota // Create an invoice for a later datepayiota
❓ Get Help
There are few ways to get help:
- Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
- For bug reports and feature requests, open issues. 🐛
📝 Documentation
Payiota(key)
A Node.js wrapper around the Payiota.me API.
Params
- String
key
: The Payiota API key.
buy(options)
Creates an invoice (address/price pair).
Params
- Object
options
: An object containing the following fields:price
(Number): The price in usdcustom
(String): A custom string metadata about the transaction.action
(String): The transaction action. Useupdate
for invoices for a later date.address
(String): The address of saved invoice.
Return
- Promise A promise resolving with the reponse from Payiota.me.
😋 How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].