Accept crypto payments with PHP-SDK
A typed PHP client for the 2328 REST API when you build the checkout yourself. Covers invoices, payment status, currencies, rates and webhook signature verification.
- PHP 8.0+
- ext-curl and ext-json
- Composer (recommended)
How to install
- 01Download the SDK or add it to your project dependencies.
- 02Create an API key in my.2328.io.
- 03Initialise the client with your key.
- 04Create an invoice and redirect the customer to the payment page.
- 05Handle the webhook and verify its signature before fulfilling the order.
Our features
Auto-conversion
Customers pay in any crypto they like. You receive stablecoins, automatically converted at the market rate
Smart payment matching
If a payer sends the wrong asset, or chooses the wrong network among EVM chains, we still credit the invoice as paid.
Underpayment tolerance
If a payer sends slightly less than the invoice amount, we still mark it as paid within the tolerance you set.
Static wallets
A permanent wallet address instead of generating a new invoice each time. Perfect for SaaS — recurring payments, subscriptions, and donations.
Event notifications
Webhooks, email and Telegram alerts with per-event rules: created, paid, underpaid, expired or converted.
Team access
Invite teammates into a project with personal accounts and role-based permissions.
Payment Gateway fees
No setup or monthly fees — only a per-transaction commission tailored to your business.
Step 1 of 3