@bloxpay/sdk-js
v0.1.0
Published
JavaScript SDK for integrating with Blox Pay APIs
Downloads
103
Maintainers
Readme
@bloxpay/sdk-js
TypeScript client for interacting with Blox payment APIs.
Quick Start
import { createPaymentsClient } from '@bloxpay/sdk-js';
const client = createPaymentsClient({ baseUrl: 'https://api.bloxpay.com', apiKey: 'sk_test' });
const intents = await client.listPaymentIntents();Scripts
pnpm build– bundle SDK outputpnpm test– run Vitest suitepnpm lint– lint the codepnpm typecheck– verify TypeScript types
Mocks
Use @bloxpay/api-mock to inject mock adapters into the client for local development.
