Update dynamic account

Updates a dynamic account

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

To update a dynamic account the below Parameters should be provided.

Query Parameters

Name
Type
Description

API-version

String

The version of API

Request Body

Name
Type
Description

Account Name

String

Clients account name

BVN

String

Bavnk verification number

Account Number

String

Account number

Collection Account Number

String

Clients collection account number

Unique Reference

String

Unique reference code

Valid till

String

Specify valid till details; 2022-11-30T10:23:13.101Z

Valid for

String

Specify valid for details; "Years" "Months" "Days" "Hours" "Minutes"

{
  "accountNumber": "string",
  "accountName": "string",
  "collectionAccountNumber": "string",
  "bvn": "string",
  "accountType": 1,
  "accountCurrency": "string",
  "hasExpired": true,
  "expires": "2022-06-08T10:44:19.057Z",
  "uniqueReference": "string",
  "isOneTimePaymentAccount": true
}

Request body

{
  "accountName": "string",
  "bvn": "string",
  "accountNumber": "string",
  "collectionAccountNumber": "string",
  "uniqueReference": "string",
  "validTill": "2022-04-26T11:01:08.525Z",
  "validFor": {
    "years": 0,
    "months": 0,
    "days": 0,
    "hours": 0,
    "minutes": 0
  }
}

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-06-08T10:44:19.057Z",
  "uniqueReference": "string",
  "isOneTimePaymentAccount": true
  }

Last updated