Unassign dynamic account

Unassign a dynamic account

Unassign a dynamic account

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

Query Parameters

Name
Type
Description

Account number*

String

Account number

API-version

String

The version of API

{
    "accountNumber": "string",
  "accountName": "string",
  "collectionAccountNumber": "string",
  "bvn": "string",
  "accountType": 1,
  "accountCurrency": "string",
  "hasExpired": true,
  "expires": "2022-06-15T13:58:53.124Z",
  "uniqueReference": "string",
  "isOneTimePaymentAccount": truejs
}
Curl
Request URL
https://api-fsdh360.fsdhgroup.com/api/v1/virtualaccounts/dynamic?AccountNumber=7000000441&api-version=1
Request body
{
  "accountName": "string",
  "bvn": "string",
  "accountNumber": "string",
  "collectionAccountNumber": "string",
  "uniqueReference": "string",
  "validTill": "2022-06-15T13:58:53.122Z",
  "validFor": {
    "years": 0,
    "months": 0,
    "days": 0,
    "hours": 0,
    "minutes": 0
  }
}

Response body

Inputting the correct parameters should give you a 204: 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-15T13:58:53.124Z",
  "uniqueReference": "string",
  "isOneTimePaymentAccount": true
}

Last updated