Accounting
Eliminate manual reconciliation and close your books faster with WAPI’s ledgering system, featuring built-in validations to ensure an airtight, audit-ready trail for every transaction.
Use Case: Accounting
1// Map your system's identifiers and custom metadata2await wapi.createWallet({3 foreign: 'user1',4 metadata: {5 industry: 'manufacturing',6 }7});89// Create a group: fund the wallet and move to a sub-account instantly10await wapi.createTransferGroup({11 identifier: 'bill1',12 transfer_status: 'finished',13 children: [14 {15 wallet: 'user1',16 type: 'deposit',17 amount: 100,18 token: 'EUR'19 },20 {21 from_wallet: 'user1',22 to_wallet: 'user1:account1',23 type: 'transfer',24 amount: 10025 }26 ]27}, { create_to_wallet_if_not_exists: true });2829// Create target wallets on the fly30await wapi.createTransferGroup({31 identifier: 'bill2',32 children: [33 {34 wallet: 'user1',35 type: 'deposit',36 amount: 10,37 token: 'EUR'38 },39 {40 from_wallet: 'user1',41 to_wallet: 'user1:account2',42 type: 'transfer',43 amount: 1044 }45 ]46}, { create_to_wallet_if_not_exists: true });4748// Fetch all sub-accounts starting with 'user1:'49const balances = await wapi.findBalances()50 .where('wallet', 'ilike', 'user1:%')51 .where('token', 'EUR')52 .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.
Leave your email, we will get in touch with you as soon as possible.