SDK for Work with API
The SDK is a set of ready-made functions for calling the Trybit API: it handles request building, passing the authorization key and parsing responses. Using the SDK is optional — you can integrate directly via the API using the code examples in the API Reference V2 section.
Where to download the SDK
The SDK archive is built for API V2.
How to connect the SDK
Download the SDK.zip archive on this page.
Add the SDK files to your project and include them in your code.
Specify the API KEY, SHOP ID and SECRET KEY — preferably via environment variables. → Getting API Keys
Check that it works: create a test invoice and process the POSTBACK. → Testing the Integration
How to integrate without the SDK
All API V2 methods are described with request examples in cURL, Python, JavaScript and PHP. Start with these pages:
Request Authorization — the Authorization header format.
Create Invoice — request and response parameters.
Automatic POSTBACK — notification parameters and handler examples.
Where to report an SDK error
If the SDK does not work correctly or you need an SDK for another language, contact our support chat on the website and in the dashboard, or reach us on Telegram. Support contacts are listed on our website.
Last updated
Was this helpful?
