Get started
Public entry points
Direct public entry points for the production merchant API and SDKs.
Reference quality
Concrete examples, not placeholder docs
Use the public merchant API, `@accrupay/node`, and `@accrupay/react` with short examples that map directly to the current code.
import AccruPay, { CURRENCY, COUNTRY_ISO_2 } from '@accrupay/node';
const sdk = new AccruPay({
apiSecret: process.env.ACCRUPAY_API_SECRET,
});
const session = await sdk.transactions.clientSessions.payments.start({
merchantTransactionProviderId: process.env.ACCRUPAY_PROVIDER_ID,
data: {
merchantInternalTransactionCode: 'order_123',
amount: 10000n, // BigInt — 10000n = $100.00
currency: CURRENCY.USD,
storePaymentMethod: false,
customer: { merchantInternalCustomerCode: 'customer_abc' },
billing: {
billingFirstName: 'Jane',
billingLastName: 'Doe',
billingEmail: 'jane@example.com',
billingAddressCountry: COUNTRY_ISO_2.US,
},
},
});Explore
API, SDKs, and guides
Browse the public surface by integration layer instead of hunting through generic docs sections.
Need a path
Start with the supported flow
Use the Node SDK on your backend, the React SDK on your checkout frontend, and raw GraphQL only when you need direct query control.