For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

archive · 5KB
Open

How to connect the SDK

  1. Download the SDK.zip archive on this page.

  2. Add the SDK files to your project and include them in your code.

  3. Specify the API KEY, SHOP ID and SECRET KEY — preferably via environment variables. → Getting API Keys

  4. 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:

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?