post https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/deleteExternalAccount
This method is used to delete a particular external bank account (createExternalAccount) that was created for an account (createAccount). The Account ID must be specified as a request parameter to delete the external account.
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
clientID | yes | string | TransactAPI Client ID |
developerAPIKey | yes | string | TransactAPI Developer Key |
types | yes | string | Account |
accountId | yes | string | Account ID or Issuer ID that is generated by the API when an Account is created (createAccount). |
Sample Request
curl --request POST \
--url https://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/deleteExternalAccount \
--header 'content-type: application/json' \
--data '
{
"accountId": "A123456",
"types": "Account",
"clientID": "someClientID",
"developerAPIKey": "someDeveloperAPIKey"
}
'
Response Parameters
Parameter | Type | Description |
---|---|---|
statusCode | string | API Status Code |
statusDesc | string | API Status Description |
accountId | string | Account ID |
Ext_Status | string | External account status deleted or not |
Sample Response
{
"statusCode": "101",
"statusDesc": "Ok",
"Account External Account Details": [
true,
[
{
"accountId": "A123456",
"Ext_status": "Deleted"
}
]
]
}