FSDH Developer Documentation
Create a Support TicketFSDH Merchant Bank
  • Getting Started
    • Overview
    • Quick Start
  • Integration Guide
    • Base URLs
    • Merchant Web Hook
    • Test Parameters
    • Response Codes
    • Authentication
  • Going Live
    • Best Practices
    • Going Live
      • Go-Live Schedule
  • FSDH 360
    • Dynamic Virtual Accounts
      • Assigned dynamic accounts
      • Unassigned dynamic accounts
      • Dynamic accounts by collection account number
      • Dynamic collection account balance
      • Dynamic accounts by BVN
      • Get a dynamic FSDH 360 account
      • Create a Dynamic Virtual Account
      • Update dynamic account
      • Unassign dynamic account
      • Transaction history
    • Static Virtual Accounts
      • Get static FSDH 360 accounts
      • Create static virtual accounts
      • Update static account
      • Get a static account
      • Link static to collection account
      • Query collection account balance
      • Link static accounts to BVN
      • Virtual account transaction history
    • Merchant Virtual Codes
      • Merchant Codes by notification styles
      • Merchant Codes by commission deduction types
      • Merchant Codes by authorization types
      • Account enquiry
      • Create merchant virtual codes
      • Get merchant virtual code
      • Update merchant code
      • Get merchant by code
      • Pending merchant codes
      • Authorized merchant codes
      • Rejected merchant codes
      • Download merchant codes
      • Update authorized merchant codes
      • Update rejected merchant codes
      • Merchant codes for account collection
      • Merchant codes by collection account
      • Update merchant codes for collection account
      • Link merchant codes to collection accounts
      • Pending merchant codes collection account
      • Authorized merchant codes collection account
      • Rejected merchant codes collection account
      • Deleted merchant codes collection account
      • Delete merchant codes for a collection account
      • Authorize merchant codes for a collection account
      • Reject merchant codes for a collection account
      • Get all merchant codes
    • Error Response Codes
  • FSDH Pay
    • FSDH PAY
      • Balance enquiry
      • Banks list
      • Funds Transfer
        • Transfer query
        • Funds Transfer History
        • Perform Transfers
      • Name Enquiry
        • Name enquiry (FSDH)
        • Name enquiry (NIP)
  • FSDH Identity
    • FSDH Identity
      • Multiple BVN
      • Single BVN
        • Send OTP
        • Validate OTP
        • Birthday date
        • Get single BVN
      • BVN watch list check
      • Verify multiple BVN
      • Verify single BVN
        • Verify single BVN using birth date
  • Product Update
    • Upcoming changes
      • Change log
  • Contact Us
    • 📞Contact us
Powered by GitBook
On this page
  1. FSDH 360
  2. Dynamic Virtual Accounts

Create a Dynamic Virtual Account

Create a dynamic virtual account

Create a dynamic virtual account

POST https://api-fsdh360-test.fsdhgroup.com/api/v1/virtualaccounts/dynamic

To create a dynamic virtual account the below Parameters should be provided.

Attention should be given to parameters marked *required.

Query Parameters

Name
Type
Description

API-version

String

Request Body

Name
Type
Description

Account name *

String

Clients account name

BVN*

String

Clients bank verification number

Collection Account Number*

String

clients collection account number

Unique Reference*

String

Unique reference code

Currency Code*

String

Currency code e.g NGN

Valid till*

String

Specify valid till e.g 2022-11-30T09:42:29.755Z

Valid for*

String

Specify the following "Years" "Months" "Days" "Hours" "Minutes"

Is One Time Payment*

String

Specify "true"

Expected amount

String

Specify expected amount

{
  "accountNumber": "string",
  "accountName": "string",
  "collectionAccountNumber": "string",
  "bvn": "string",
  "accountType": 1,
  "accountCurrency": "string",
  "hasExpired": true,
  "expires": "2022-12-07T10:21:13.041Z",
  "uniqueReference": "string",
  "isOneTimePaymentAccount": true,
  "expectedAmount": "string"
}

Request body

To create a dynamic virtual account, the below details are *required in the request body.

{
  "accountName": "string",
  "bvn": "string",
  "collectionAccountNumber": "string",
  "uniqueReference": "string",
  "currencyCode": "string",
  "validTill": "2022-04-11T15:26:47.140Z",
  "validFor": {
    "years": 0,
    "months": 0,
    "days": 0,
    "hours": 0,
    "minutes": 0
  },
  "isOneTimePaymentAccount": true
}
Curl
curl -X POST "https://api-fsdh360-test.fsdhgroup.com/api/v1/virtualaccounts/dynamic" -H  "accept: application/json" -H  "Content-Type: application/json" -d "{\"accountName\":\"string\",\"bvn\":\"string\",\"collectionAccountNumber\":\"string\",\"uniqueReference\":\"string\",\"currencyCode\":\"string\",\"validTill\":\"2022-04-26T10:42:02.951Z\",\"validFor\":{\"years\":0,\"months\":0,\"days\":0,\"hours\":0,\"minutes\":0},\"isOneTimePaymentAccount\":true}"

Response body

Inputting the correct parameters should give you a 201: Success response which will populate the below Success details. Also specified are possible responses from the request.

{
  "accountNumber": "string",
  "accountName": "string",
  "collectionAccountNumber": "string",
  "bvn": "string",
  "accountType": 1,
  "accountCurrency": "string",
  "hasExpired": true,
  "expires": "2022-11-30T09:54:21.389Z",
  "uniqueReference": "string",
  "isOneTimePaymentAccount": true,
  "expectedAmount": "string"
}
{
  "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
  "title": "One or more validation errors occurred.",
  "status": 400,
  "traceId": "00-2994c1d099296b42b38997e5ca0a0ece-c7c80751830f0444-00",
  "errors": {
    "CollectionAccountNumber": [
      "The field CollectionAccountNumber must be a string with a minimum length of 10 and a maximum length of 10."
    ]
  }
}
PreviousGet a dynamic FSDH 360 accountNextUpdate dynamic account

Last updated 2 years ago