API to add/delete the merchants

POST {{baseUrl}}/merchants

Used to enroll/un-enroll the merchants into DS platform. Once the upload is done, a 'transactionID' is sent in the response that is used to get the status of the enrollment. This endpoint supports maximum payload size of 4MB. Due to the large amount of data, the processing will be done asynchronously and takes time for the completion. After the successful completion, the corresponding acquirers will be notified by an email with the list of merchants that are added or deleted successfully. Also, acquirers can login to ISSM portal and see what merchants are added or deleted under their BINs.

Request Body

{"action"=>"ADD", "processorName"=>"MPGS", "merchantData"=>[{"acquirerBIN"=>"12356", "acquirerCID"=>"10", "acquirerICA"=>"123", "acquirerName"=>"Test Acquirer", "merchantID"=>"123", "merchantName"=>"Test Merchant", "identityCheckExpress"=>"Y", "deleteReason"=>"Data Entry Error"}, {"acquirerBIN"=>"12356", "acquirerCID"=>"10", "acquirerICA"=>"123", "acquirerName"=>"Test Acquirer", "merchantID"=>"123", "merchantName"=>"Test Merchant", "identityCheckExpress"=>"Y", "deleteReason"=>"Data Entry Error"}]}

HEADERS

KeyDatatypeRequiredDescription
Accept-Versionstring(Required) Version of API
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"messageType":"MerchantAddResponse","totalRecords":1,"transactionID":"dbce6d4f-d632-481f-a413-3e8ac1d49304"}