@useaxra/node
v0.4.2
Published
Axra REST API client for Node.js (OpenAPI-generated + helpers)
Readme
@useaxra/node
Official Axra REST API client for Node.js.
Quick start
import { Axra } from '@useaxra/node';
const axra = new Axra(process.env.AXRA_API_KEY!);
const collection = await axra.collections.create({
amount: 10000,
currency: 'ngn',
country: 'NG',
customer: { name: 'Adaobi Okeke', email: '[email protected]' },
channel: { rail: 'bank' },
idempotencyKey: 'order_123',
});
console.log(collection.instructions);