API reference

API reference

Core methods currently exposed in the v1 mock SDK:

Wallets and cards

createAgentWallet(agentId, currency?)fundWallet(walletId, amount)issueVirtualCard(input)

Spend and approvals

requestSpend(input)approveSpend(requestId, approverId)rejectSpend(requestId, approverId)

Payments and events

executeMerchantPayment(input)getEvents()
wallet.createdwallet.fundedcard.issuedspend.requestedapproval.granted | approval.rejectedpolicy.blockedpayment.authorizedpayment.settledcard.cancelled