Getting Started
Brief Integration Overview
There is a set of libraries for working with the platform, it is located in, available in the official project repository.
The SDKs offer several advantages over the “bare” documentation.
Ready-to-use methods: Integration method functions are implemented, allowing you to start working quickly without the need to wrap API requests and handle errors manually.
Automation: Some parameters and settings are filled automatically, reducing integration time. They also automatically create signatures for requests. However, flexible settings are always available if desired.
The libraries include a set of all the methods necessary for integration.
Some of the methods necessary for a quick start:
Payment acceptance 1.1 Invoices or orders 1.2 Personal static addresses
Commission token retrieval
Withdrawals. Payouts.
Retrieving the list of all payments.
Integration using the SDK libraries.
Library Python
Make sure you have Python (version 3.6 or higher) installed.
Install the OnchainPay API library using pip through Terminal or Command Prompt.
Installation command
Library Node.JS
Make sure you have Node.js (version 12.x or higher) installed.
Install the OnchainPay SDK library using npm or yarn.
Installation command via npm:
Installation command via yarn:
Library Go Lang
Make sure you have Go (version 1.13 or higher) installed.
Install the OnchainPay SDK library using “go get”.
Installation command:
Library PHP
Install the OnchainPay API library using Composer.
Installation command:
These instructions will help you quickly and easily install the OnchainPay library for various programming languages.
Last updated