@finap/sdk-node
v0.1.0
Published
Official FINAP Node.js SDK — BIN Check, Currency Rates, IBAN Validation
Maintainers
Readme
@finap/sdk-node
Official FINAP Node.js SDK for BIN Check, Currency Rates, and IBAN Validation.
Install
npm install @finap/sdk-nodeQuick start
import { FinapClient } from "@finap/sdk-node";
const client = new FinapClient({
apiKey: process.env.FINAP_API_KEY!,
});
const bin = await client.bin.check("424242");
const rates = await client.currency.rates("USD");
const iban = await client.iban.validate("EE471000001020145685");API
| Service | Method | Description |
|---------|--------|-------------|
| BIN Check | client.bin.check(bin) | Card issuer, scheme, type, country |
| Currency | client.currency.rates(base, quote?) | Exchange rates |
| IBAN | client.iban.validate(iban) | IBAN validation and bank details |
Options
new FinapClient({
apiKey: "fn_...",
baseUrl: "https://api.finap.com",
timeout: 10_000,
});Docs
https://finap.com/dashboard/docs
