SDKs
Official Aventopay libraries for Node.js, PHP, Python, Ruby and Go.
Aventopay SDKs are lightweight wrappers around the REST API. They handle auth, HMAC signature, retries. Source code is open on GitHub.
Available libraries
Node.jsv1 stable
@aventopay/nodenpm install @aventopay/nodePHPv1 stable
aventopay/aventopay-phpcomposer require aventopay/aventopay-phpPythonv1 stable
aventopaypip install aventopayRubyBeta
aventopay-rubygem install aventopayGoBeta
github.com/aventopay/aventopay-gogo get github.com/aventopay/aventopay-goNode.js example
import { Aventopay } from '@aventopay/node';
const client = new Aventopay({
apiKey: process.env.AVENTOPAY_API_KEY,
apiSecret: process.env.AVENTOPAY_API_SECRET,
});
const session = await client.sessions.create({
merchant_id: 'your_merchant_id',
user_id: 'client_123',
amount: 5000,
currency: 'EUR',
});
console.log(session.payment_url);Contributing
GitHub repos accept PRs. Stable SDKs follow semver; breaking changes go through a 90-day notice.
