Investor Onboarding
Delete Investors API
5 min
this api allows you to delete a specific investor associated with a given customerid for that, we need to have a hostname and protocol which are as defined in the authentication docid\ eh9zz1kpurwnfb nnniud section sending requests for sending requests the hostname and protocol will be the same as given in the authentication docid\ eh9zz1kpurwnfb nnniud section send a post request to /api/deletemerchants with data as below headers property value content type application/json authorization authorisation header as per the login request request body { "customerid" " customer id ", "merchantid" " merchant to be deleted id " } the below table describes all the properties available in the request body property accepted values/format description customerid string unique id of customer merchantid string unique id of merchant to be deleted expected delete investor response { "customerid" " customerid ", "merchantid" " deleted merchant id ", "id" 1, "result" { "deletereponse" "success" } } the below table describes the properties that are returned in the request property accepted values/format description customerid string the unique id of the customer associated with the merchant merchantid string the id of the merchant that was deleted id number a unique identifier for the response, used for tracking result object contains the result of the delete operation result deletereponse string the status of the delete operation (success or failure)