Integrate the payment flow
Follow the complete path from API credentials to production launch.
Start from an example
Create an invoice, handle a callback, and retrieve invoices from the API.
Choose an SDK
Use the TypeScript, Python, or PHP SDK to integrate the Billions API.
Explore the Public API
Review environments, authentication, request signing, withdrawals, and
refunds.
Connect a platform
Add Billions to WooCommerce or BILLmanager with an official module.
How the integration works
1
Create an invoice
Your backend sends the amount, currency, order reference, callback URL,
and an idempotency key to Billions.
2
Redirect the customer
Open the returned
invoice_url. The customer completes payment on the
Billions-hosted page.3
Receive a callback
Billions notifies your callback endpoint that the invoice may have changed.
4
Verify with the API
Retrieve the invoice from the authenticated API and update the order only
from that response.
Choose an integration path
- Building a custom application? Start with the integration guide.
- Using Node.js or another TypeScript runtime? See the TypeScript SDK.
- Building with Python 3.10 or newer? See the Python SDK.
- Building with PHP 8.1 or newer? See the PHP SDK.
- Running WooCommerce? Install the WooCommerce integration.
- Running BILLmanager 6? Install the BILLmanager integration.
- Running WHMCS? Install the WHMCS integration.
- Using Tilda? Follow the Tilda Custom Payment Gateway guide.