Skip to main content
WAPIfor

Credit Institutions

Integrate real-time, third-party validation into your financial workflows without compromising throughput. WAPI delivers a robust ledgering infrastructure designed for speed, transparency, and effortless integration.

1// target wallets can be created on the fly
2await wapi.createDeposit({
3 identifier: 'optionally-my-custom-id',
4 wallet: 'client1',
5 token: 'EUR',
6 amount: 10,
7 status: 'pending',
8}, {
9 crate_to_wallet_if_not_exists: true
10});
11
12// multi stage transfers
13await wapi.updateTransfer({
14 transfer: 'optionally-my-custom-id',
15 status: 'finished'
16});
17
18// transfers will fail by default if debitor balance goes below 0
19await wapi.createTransfer(
20 {
21 from_wallet: 'client1',
22 to_wallet: 'client2',
23 amount: 5,
24 status: 'finished',
25 token: 'EUR',
26 },
27 {
28 create_to_wallet_if_not_exists: true,
29 },
30);
31
32const balances = await wapi.findBalances()
33 .where('token', 'EUR')
34 .where((t) => {
35 return t.where('wallet', 'client1')
36 .orWhere('wallet', 'client2');
37 })
38 .orderBy('wallet_foreign asc');

Frequently Asked Questions

Get started with WAPI.

Leave your email, we will get in touch with you as soon as possible.