ballerinax/nowpayments Ballerina library
This is a generated connector from NOWPayments API v1 OpenAPI Specification.
NOWPayments is a non-custodial cryptocurrency payment processing platform. Accept payments in a wide range of cryptos and get them instantly converted into a coin of your choice and sent to your wallet. Keeping it simple – no excess. More about the NOWPayments API can be find at NOWPayments
This module supports NOWPayments API version v1.
Before using this connector in your Ballerina application, complete the following:
- Create NOWPayments account
- Obtain tokens - Navigate to the NOWPayments Profile,and obtain tokens by following this guide
To use the NOWPayments connector in your Ballerina application, update the .bal file as follows:
Step 1: Import connector
First, import the ballerinax/nowpayments module into the Ballerina project.
Step 2: Create a new connector instance
You can now intantiate the client.
Step 3: Invoke an operation
- Now you can use the operations available within the connector. Following code demonstrate how to calculating the approximate price in cryptocurrency for a given value in Fiat currency.
bal runcommand to compile and run the Ballerina program.
Released date: 10 months ago
Ballerina version: 2201.4.1
GraalVM compatible: Yes
Current verison: 0