Installation
Install the swervpay-node SDK in your Node.js application using your preferred package manager.Shell
Usage
Create the client with your business ID and secret key. Load both values from your server’s environment or secret manager; do not commit them to source control or expose them in browser code.NodeJS
Create a Payout
Create a new payoutNodeJS
Get payout
Get a payoutNodeJS
Get transactions
Retrieve all transactionsNodeJS
Get transaction
Get a transactionNodeJS
Create a customer
Create a new customerNodeJS
Update a customer
Update a customerNodeJS
Complete customer KYC
Create/Update customer KYCNodeJS
Get customers
Retrieve all customersNodeJS
Get customer
Get a customerNodeJS
Create a card
Create a new cardNodeJS
Get cards
Retrieve all cardsNodeJS
Get card
Get a cardNodeJS
Webhook test
Send a test webhookNodeJS
Webhook retry
Retry a webhook logNodeJS
Get banks
Retrieve all banksNodeJS
Resolve account number
Resolve an account numberNodeJS
FX rate
Get the current exchange rateNodeJS
FX Exchange
Create a swap transactionNodeJS
Get wallet
Get a walletNodeJS
Get wallets
Retrieve all walletsNodeJS