Create Static Accounts

Creates and assigns a static virtual account to a user's wallet.

Method: POST

Endpoint:

{{base_url}}/api/v1/static/account

Authentication

Bearer Token

Include the Bearer token in the Authorization header.

Headers

HeaderValue
AuthorizationBearer <token>
x-merchant-ref<merchant-ref>
Content-Typeapplication/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

FieldRequiredDescription
user_refYesReference of the user the account will be assigned to
wallet_idYesID of the wallet associated with the account
fund_typeYesType of funding source. Use STATIC_VIRTUAL_ACCOUNT
chainYesAccount chain/type. For a fiat account, use FIAT_ACCOUNT
currencyYesCurrency of the static account
account_referenceYesUnique reference for the static account
user_kyc.user_nameYesUser's name
user_kyc.emailYesUser's email address
user_kyc.addressYesUser's address
user_kyc.phoneYesUser's phone number
user_kyc.bvnYesUser's BVN
user_kyc.dobYesUser'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

FieldDescription
statusStatus of the request
messageResponse message
fiat_data.funding_source_idUnique identifier for the assigned fiat funding source
fiat_data.account_numberStatic virtual account number assigned to the user
fiat_data.bank_codeBank associated with the virtual account
fiat_data.currencyCurrency of the assigned account
crypto_data.funding_source_idCrypto funding source ID, if applicable
crypto_data.addressCrypto wallet address, if applicable
crypto_data.chainBlockchain/network, if applicable

Did this page help you?