Generate dedicated, reusable static bank account numbers for your customers via the Billswave API.
🔒 Endpoint
POSThttps://billswave.com/v1-api/static-account
⚡ How It Works
Automatic Caching & Deduplication: Before generating a new bank account, Billswave checks if an account already exists for the given customer email under your merchant ID. If found, it instantly returns the stored details without issuing redundant provider requests.
Smart Routing: Accounts are routed through our payment provider network based on your business verification level registered on your Billswave merchant account.
Flexible Auth: Pass your API secret key via the standard HTTP Authorization: Bearer <secret_key> header or in the JSON request body as secret_key.
Note: Store generated account details in your database to validate incoming transactions during webhook handling.
🔑 Headers & Authentication
Header
Value
Description
Content-Type
application/json
Mandatory header for JSON requests.
Authorization
Bearer {YOUR_SECRET_KEY}
Your active Billswave API Secret Key.
📥 Request Body Parameters
Parameter
Type
Description
emailRequired
string
Customer's email address. Used as the primary lookup index. (Alternative key: customer_email)
first_nameRequired
string
First name of the account holder. Required when creating new virtual accounts.
last_nameRequired
string
Last name of the account holder. Required when creating new virtual accounts.
phoneOptional
string
Customer's phone number.
secret_keyOptional
string
Your API secret key if not provided in the HTTP Authorization header.
Note: If an account already exists for the specified email under your merchant profile, first_name and last_name become optional, as the system retrieves stored details immediately.