Merchant Management
API's to create and manage merchants
Last updated
API's to create and manage merchants
Last updated
Merchants (mid) in TxShield are treated as the parent node of a Tree. The layer underneath the Merchant is the Retailer (rid) and the lowest node is a Site (sid).
Merchant --> Retailer --> Site
A Site is the object that actions / transactions are done on, in the system. If I wanted to process cred card transaction, i would create a payment Site, and use the credentials for that site to process payments. If I wanted to 3ds Authentications, I would create a 3ds Site and use those credentials to do 3ds Authentications with the
To create a Merchant, you will need to call the merchant create endpoint. This will return a Merchant id (mid). You can then use this mid to create a Retailer by call the retailer create endpoint. This will return a Retailer Id (rid). Using the rid you can then create a Site by calling the site create endpoint. This will return a Site Id (sid).
Every call on this page requires a Bearer token to be sent in the Authorization header. You can obtain a Bearer token from the System Administrator.
Create a new merchant in the system. This call will return a MID that can be used to create Retailers. list of available themes can be retrieved from the themes endpoint.
Example JSON data.
Returns the details of a Merchant, doesn't have any body parameters.
Creates a new Retailer, you will need the mid of the Merchant that you want to attach the retailer too. A list of available currencies can be found at the currency endpoint. Example JSON data
Returns the details of a Retailer
Create a new Site, You will need the mid and rid of the merchant/retailer you want this site attached too. A list of available resellers can be found at the reseller endpoint. A list of available support groups can be found at the support group endpoint. A list of available categories can be found at the categories endpoint. Example JSON data:
Returns the details of a site. Doesn't have any body params.
Returns a list of sites. Doesn't have any body params.
Marks a site as a Payment site. Once set to payment, the site can never be changed to 3ds or Alert. A list of available fraud templates can be retrieved from the fraud template endpoint. Example JSON data.
Mark a site as a 3ds site. Once set to 3ds, the site can never be changed to Payment or Alert. Example JSON data
Set a site as an Alert site. Once set to Alert it can never be changed to Payment or 3ds. Example JSON data
List of countries and their country codes.
A list of supported currency and their currency codes.
A list of currently setup Fraud Templates.
A list of available resellers.
A list of support groups.
A list of available themes.
A list of available site categories.
A list of supported Payment Methods.
/merchant/create
/merchant/{mid}/details
Merchant Id for get merchant details
/retailer/{rid}/details
Retailer Id for get retailer details
/site/mid/{mid}/rid/{rid}/create
Merchant Id that related to retailer and retailer site
Retailer Id that related to retailer site
support_group(id) is required field and not allowed for 0, for more information about support_group please see the endpoint /api/v3/datasource/supportgroup
cat_id is required field and not allowed for 0, for more information about cat_id please see the endpoint /api/v3/datasource/sitecategory
/site/mid/{mid}/rid/{rid}/sid/{sid}/payment
Merchant Id that related to retailer and retailer site
Retailer Id that related to retailer site
Retailer Site Id that related retailer site proceed to setup payment info
allowed for 0 or 1 only
allowed for 0 or 1 only
allowed for 0 or 1 only
allowed for 0 or 1 only
allowed for 0 or 1 only
allowed for 0 or 1 only
allowed for 0 or 1 only
for more information about Fraud Template (ftid) please see the endpoint /api/v3/datasource/fraudtemplate
one of the value from [0,10,25,50,100,200,500,-1] per day; 0 = Never, -1 = Unlimited
one of the value from [0,1,2,3,4,5,6,7,8,9,10,15,20] Day(s); 0 = Not Active
/site/mid/{mid}/rid/{rid}/sid/{sid}/3ds
Merchant Id that related to retailer and retailer site
Retailer Id that related to retailer site
Retailer Site Id that related retailer site proceed to setup payment info
/site/mid/{mid}/rid/{rid}/sid/{sid}/alert
Merchant Id that related to retailer and retailer site
Retailer Id that related to retailer site
Retailer Site Id that related retailer site proceed to setup alert info
allowed for 0 or 1 only
one of the value from [match,match_n_refund]
/retailer/mid/{mid}/create
Merchant Id that related to retailer and retailer site
/site/{sid}/details
Retailer Site Id for get site details