Create Static Accounts
Creates and assigns a static virtual account to a user's wallet.
Method: POST
Endpoint:
{{base_url}}/api/v1/static/accountAuthentication
Bearer Token
Include the Bearer token in the Authorization header.
Headers
| Header | Value |
|---|---|
| Authorization | Bearer <token> |
| x-merchant-ref | <merchant-ref> |
| Content-Type | application/json |
Request Body
{
"user_ref": "USER-REF-001",
"wallet_id": "WALLET-REF-001",
"fund_type": "STATIC_VIRTUAL_ACCOUNT",
"chain": "FIAT_ACCOUNT",
"currency": "NGN",
"account_reference": "STATIC-ACCOUNT-001",
"user_kyc": {
"user_name": "Test User",
"email": "[email protected]",
"address": "123 Test Street",
"phone": "2348000000000",
"bvn": "00000000000",
"dob": "1990-01-01"
}
}Request Fields
| Field | Required | Description |
|---|---|---|
user_ref | Yes | Reference of the user the account will be assigned to |
wallet_id | Yes | ID of the wallet associated with the account |
fund_type | Yes | Type of funding source. Use STATIC_VIRTUAL_ACCOUNT |
chain | Yes | Account chain/type. For a fiat account, use FIAT_ACCOUNT |
currency | Yes | Currency of the static account |
account_reference | Yes | Unique reference for the static account |
user_kyc.user_name | Yes | User's name |
user_kyc.email | Yes | User's email address |
user_kyc.address | Yes | User's address |
user_kyc.phone | Yes | User's phone number |
user_kyc.bvn | Yes | User's BVN |
user_kyc.dob | Yes | User's date of birth |
Response
{
"status": "success",
"message": "Assigned successfully",
"fiat_data": {
"funding_source_id": "FUNDING-SOURCE-001",
"account_number": "0123456789",
"bank_code": "Test Bank",
"currency": "NGN"
},
"crypto_data": {
"funding_source_id": "",
"address": "",
"chain": ""
}
}Response Fields
| Field | Description |
|---|---|
status | Status of the request |
message | Response message |
fiat_data.funding_source_id | Unique identifier for the assigned fiat funding source |
fiat_data.account_number | Static virtual account number assigned to the user |
fiat_data.bank_code | Bank associated with the virtual account |
fiat_data.currency | Currency of the assigned account |
crypto_data.funding_source_id | Crypto funding source ID, if applicable |
crypto_data.address | Crypto wallet address, if applicable |
crypto_data.chain | Blockchain/network, if applicable |
Updated 24 days ago
Did this page help you?

