SDKs and examples
The PHP client in integrations/php-sdk and the Node.js client in integrations/node-sdk are the libraries to copy. They are not published on Packagist, npm, Maven, or PyPI. Do not install a package named ssentezo-wallet-sdk; that package is not published.
PHP
Requires PHP 8.2+. Configure it with environment variables and call request(), or the helpers deposit, withdraw, collectByCard, status, balance, and bankTransfer. The client throws on a non-success HTTP status and never logs the API key.
composer config repositories.ssentezo '{"type": "path", "url": "integrations/php-sdk"}'
composer require ssentezo/wallet-client:@dev
For another application, copy the src directory or point Composer at that path. Packagist will not resolve it.
Node.js
Requires Node.js 18+ and has no runtime dependencies. Run it on a server only: the constructor refuses to run in a browser. createPaymentFlow() starts a deposit, reads only the reference from a callback, and confirms with the status API. For React, use integrations/react-ssentezo with this client on your server.
npm install ../ssentezo_wallet/integrations/node-sdk
Other languages
JavaScript, Python, Java, and cURL examples are generated on each endpoint page from the same request body. They use environment variables for the API user, key, and base URL. No package is published on npm or PyPI.
What every example includes
- Basic authentication outside the URL.
- A unique external reference supplied by your application.
- Status verification after a pending response.
- Callback handling that checks the status API, because an unsigned callback is not proof of payment.
Ssentezo Developers