Integrations
Node.js SDK
Official Node.js SDK for integrating with the Payvra API
Installation
Install the Payvra SDK using npm:
View the package on npm.
Usage
Import and initialize the Payvra client:
Fetch Available Currencies
Get a list of supported cryptocurrencies and their networks:
Success response:
Create Invoice
Generate a new payment invoice:
Success response:
Fetch Invoice Details
Retrieve details of an existing invoice:
Create Payout
Initiate a cryptocurrency withdrawal:
Fetch Exchange Rates
Get current exchange rates between supported pairs:
Webhook Events
The SDK includes TypeScript types for webhook events. Handle incoming webhooks:
For more detailed information about the API endpoints and response types, please refer to the API Reference.