For the complete documentation index, see llms.txt. This page is also available as Markdown.

Merchant Management

API's to create and manage merchants

Introduction

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 3ds SDK.

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).

Authentication

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.

Merchant, Retailer, Site.

Merchant Create

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestring · max: 255Required

Letters, numbers, spaces and . , & - ( ) only. Must start with a letter or number and end with a letter, number, period or closing parenthesis. Underscores are not allowed.

paymentsbooleanOptionalDefault: false
threeDSbooleanOptionalDefault: false
alertsbooleanOptionalDefault: false
cbmbooleanOptionalDefault: false
order_insightsbooleanOptional

Enables the Txfind service

Default: false
dashboard_fraudcheck_listingbooleanOptional

Enables the Fraudcheck service

Default: false
oi_merchant_idstring · max: 36Optional

Txfind reseller id or merchant id

remarksstringRequired
themeidintegerOptional
Responses
200

Successfully create merchant

application/json
statusstringOptional
msgstringOptional
midintegerOptional
post/merchant/create
POST /api/v3/merchant/create HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 188

{
  "name": "text",
  "payments": false,
  "threeDS": false,
  "alerts": false,
  "cbm": false,
  "order_insights": false,
  "dashboard_fraudcheck_listing": false,
  "oi_merchant_id": "text",
  "remarks": "text",
  "themeid": 1
}
{
  "status": "text",
  "msg": "text",
  "mid": 1
}

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.

Merchant Details

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
midintegerRequired

Merchant Id for get merchant details

Responses
200

Successfully returned merchant details

application/json
namestringOptional
oi_merchant_idstringOptional
remarksstringOptional
themeidintegerOptional
statusstringOptional
post/merchant/{mid}/details
POST /api/v3/merchant/{mid}/details HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "name": "text",
  "oi_merchant_id": "text",
  "remarks": "text",
  "themeid": 1,
  "status": "text"
}

Returns the details of a Merchant, doesn't have any body parameters.

Retailer Create

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
midintegerRequired

Merchant Id that related to retailer and retailer site

Body
namestringOptional
currencystringOptional
margin_percentageintegerOptional
contact_emailstringOptional
remarksstringOptional
descriptionstringOptional
Responses
200

Successfully create retailer

application/json
statusstringOptional
msgstringOptional
ridintegerOptional
post/retailer/mid/{mid}/create
POST /api/v3/retailer/mid/{mid}/create HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 116

{
  "name": "text",
  "currency": "text",
  "margin_percentage": 1,
  "contact_email": "text",
  "remarks": "text",
  "description": "text"
}
{
  "status": "text",
  "msg": "text",
  "rid": 1
}

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

Retailer Details

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ridintegerRequired

Retailer Id for get retailer details

Responses
200

Successfully returned retailer details

application/json
namestringOptional
rcodestringOptional
remarksstringOptional
descriptionstringOptional
margin_percentagestringOptional
contact_emailstringOptional
currencystringOptional
statusstringOptional
post/retailer/{rid}/details
POST /api/v3/retailer/{rid}/details HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "name": "text",
  "rcode": "text",
  "remarks": "text",
  "description": "text",
  "margin_percentage": "text",
  "contact_email": "text",
  "currency": "text",
  "status": "text"
}

Returns the details of a Retailer

Site Create

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
midintegerRequired

Merchant Id that related to retailer and retailer site

ridintegerRequired

Retailer Id that related to retailer site

Body
namestring · max: 39Required

Letters, numbers, spaces, dots, underscores and hyphens only, and must start and end with a letter or number. Leading/trailing whitespace is trimmed. The selected service label is appended server-side to form the stored site name (e.g. name "test123" + service "alerts" -> "test123 Alerts"); the combined name must be globally unique (site names are not scoped per retailer) and at most 50 characters (a 400 is returned if it would exceed that once the label is appended). maxLength is 39, not the column's 50, because up to 11 characters ("Fraudcheck" + a space) get appended server-side — 39 is safe for every service.

servicestring · enumOptional

Product the site is enrolled for. Must be enabled on the merchant, otherwise the request is rejected with 400. Stored in retailers_sites.service and appended to name (see above).

Default: alertsPossible values:
reseller_idintegerOptional

Defaults to the merchant's assigned reseller, then the "Default" reseller

urlstringOptional

Defaults to http://example.com when omitted

remarksstringOptional

Defaults to "Created by {user} via API" when omitted

descriptionstringOptional
currencystringOptional

Defaults to the resolved reseller's currency when omitted

support_groupintegerOptional

Defaults to the "Default Support Group". See /api/v3/datasource/supportgroup

cat_idintegerOptional

Defaults to the "Non Payment" category. See /api/v3/datasource/sitecategory

Responses
200

Successfully create site

application/json
statusstringOptional
msgstringOptional
sidintegerOptional
rcodestringOptional
post/site/mid/{mid}/rid/{rid}/create
POST /api/v3/site/mid/{mid}/rid/{rid}/create HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 148

{
  "name": "text",
  "service": "alerts",
  "reseller_id": 1,
  "url": "text",
  "remarks": "text",
  "description": "text",
  "currency": "text",
  "support_group": 1,
  "cat_id": 1
}
{
  "status": "text",
  "msg": "text",
  "sid": 1,
  "rcode": "text"
}

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:

Site Details

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
sidintegerRequired

Retailer Site Id for get site details

Responses
200

Successfully returned site details

application/json
namestringOptional
categorystringOptional
emaildomainstringOptional
post/site/{sid}/details
POST /api/v3/site/{sid}/details HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "name": "text",
  "category": "text",
  "emaildomain": "text",
  "payments": {
    "details": {
      "sid": 1,
      "rid": 1,
      "mid": 1,
      "mtid": 1,
      "name": "text",
      "description": "text",
      "remarks": "text",
      "url": "text",
      "tx_notification_email": 1,
      "support_group": 1,
      "support_site": "text",
      "support_email": "text",
      "support_phone": "text",
      "cat_id": 1,
      "status": "text",
      "reseller_id": 1,
      "skip_ccv": 1,
      "currency": "text",
      "creation_date": "text",
      "notify_email": "text",
      "allow_rebilling": 1,
      "allow_refund": 1,
      "allow_refund_time": 1,
      "ftid": 1,
      "first_transaction_alert": 1,
      "cbreportemail": "text",
      "margin_percentage": 1,
      "stop_send_email": 1,
      "tradable": 1,
      "fx_provider_link": "text",
      "fx_provider_auth": "text",
      "smtpsetting": "text",
      "customer_comm": 1,
      "autorefundonCB": 1,
      "auth_expiry_days": "text",
      "bin_currency": 1,
      "shipperid": "text",
      "skip3d2": 1,
      "emaildomain": "text",
      "proceedeveniffail": 1,
      "cart_margin_percentage": 1,
      "shipping_n_tracking": 1
    },
    "balance": 1,
    "accessRecords": [
      {
        "plid": 1,
        "gxsid": 1,
        "tx_actions": "text",
        "mxsid": 1,
        "name": "text",
        "descriptor": "text",
        "currency_code": "text",
        "pay_method": "text",
        "default_gateway": 1,
        "test_mode": 1,
        "max_limit_tx": "text",
        "max_limit_30days": "text",
        "secureplid": 1,
        "reseller_group_id": 1,
        "rates_base_id": 1,
        "paiid": 1
      }
    ]
  },
  "threeDS": {
    "details": {
      "sid": 1,
      "rid": 1,
      "mid": 1,
      "mtid": 1,
      "name": "text",
      "description": "text",
      "remarks": "text",
      "url": "text",
      "tx_notification_email": 1,
      "support_group": 1,
      "support_site": "text",
      "support_email": "text",
      "support_phone": "text",
      "cat_id": 1,
      "status": "text",
      "reseller_id": 1,
      "skip_ccv": 1,
      "currency": "text",
      "creation_date": "text",
      "notify_email": "text",
      "allow_rebilling": 1,
      "allow_refund": 1,
      "allow_refund_time": 1,
      "ftid": 1,
      "first_transaction_alert": 1,
      "cbreportemail": "text",
      "margin_percentage": 1,
      "stop_send_email": 1,
      "tradable": 1,
      "fx_provider_link": "text",
      "fx_provider_auth": "text",
      "smtpsetting": "text",
      "customer_comm": 1,
      "autorefundonCB": 1,
      "auth_expiry_days": "text",
      "bin_currency": 1,
      "shipperid": "text",
      "skip3d2": 1,
      "emaildomain": "text",
      "proceedeveniffail": 1,
      "cart_margin_percentage": 1,
      "shipping_n_tracking": 1
    },
    "settings": {
      "sid": 1,
      "clientMode": "text",
      "enableResult": "text",
      "disableChallenge": "text",
      "enable3ds1Frictionless": "text",
      "enable3DS1Only": "text",
      "requestorName": "text",
      "requestorURL": "text",
      "authenticationInd": "text",
      "challengeInd": "text",
      "acctType": "text",
      "acquirerBin": "text",
      "acquirerMid": "text",
      "acquirerMerchantPwd": "text",
      "mcc": "text",
      "merchantCountryCode": "text",
      "merchantName": "text",
      "messageCategory": "text",
      "purchaseCurrency": "text",
      "transType": "text",
      "verbose": 1,
      "masterAcquirerBin": "text",
      "masterAcquirerMid": "text",
      "JCBAcquirerBin": "text",
      "JCBAcquirerMid": "text",
      "CUPAcquirerBin": "text",
      "CUPAcquirerMid": "text",
      "AMEXAcquirerBin": "text",
      "AMEXAcquirerMid": "text"
    },
    "shieldSettings": {
      "skip3d2": 1,
      "three_ds_provider": "text",
      "threedsprotocolversion": "text",
      "paayauth3d2": "text",
      "gpay_merchant_token": "text",
      "gpay_merchant_id": "text",
      "gpay_base_url": "text",
      "hitrust_account_id": "text",
      "hitrust_password": "text",
      "hitrust_base_url": "text",
      "hitrust_mastercard_prefix": "text"
    }
  },
  "alert": {
    "details": {
      "sid": 1,
      "rid": 1,
      "mid": 1,
      "mtid": 1,
      "name": "text",
      "description": "text",
      "remarks": "text",
      "url": "text",
      "tx_notification_email": 1,
      "support_group": 1,
      "support_site": "text",
      "support_email": "text",
      "support_phone": "text",
      "cat_id": 1,
      "status": "text",
      "reseller_id": 1,
      "skip_ccv": 1,
      "currency": "text",
      "creation_date": "text",
      "notify_email": "text",
      "allow_rebilling": 1,
      "allow_refund": 1,
      "allow_refund_time": 1,
      "ftid": 1,
      "first_transaction_alert": 1,
      "cbreportemail": "text",
      "margin_percentage": 1,
      "stop_send_email": 1,
      "tradable": 1,
      "fx_provider_link": "text",
      "fx_provider_auth": "text",
      "smtpsetting": "text",
      "customer_comm": 1,
      "autorefundonCB": 1,
      "auth_expiry_days": "text",
      "bin_currency": 1,
      "shipperid": "text",
      "skip3d2": 1,
      "emaildomain": "text",
      "proceedeveniffail": 1,
      "cart_margin_percentage": 1,
      "shipping_n_tracking": 1
    },
    "settings": {
      "alertapiurl": "text",
      "descriptorid": "text",
      "username": "text",
      "password": "text",
      "default_dispute_action": "text",
      "max_refund_amount": 1,
      "alert_triggeremail": 1,
      "alert_email": "text",
      "shieldrdr_review_email": "text",
      "statusupdate_url": "text"
    },
    "accessRecords": [
      {
        "plid": 1,
        "gxsid": 1,
        "tx_actions": "text",
        "mxsid": 1,
        "name": "text",
        "descriptor": "text",
        "currency_code": "text",
        "pay_method": "text",
        "default_gateway": 1,
        "test_mode": 1,
        "max_limit_tx": "text",
        "max_limit_30days": "text",
        "secureplid": 1,
        "reseller_group_id": 1,
        "rates_base_id": 1,
        "paiid": 1
      }
    ]
  }
}

Returns the details of a site. Doesn't have any body params.

Site List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned site list

application/json
post/site/list
POST /api/v3/site/list HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "list": [
    {
      "sid": 1,
      "name": "text"
    }
  ]
}

Returns a list of sites. Doesn't have any body params.

Site Payment

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
midintegerRequired

Merchant Id that related to retailer and retailer site

ridintegerRequired

Retailer Id that related to retailer site

sidintegerRequired

Retailer Site Id that related retailer site proceed to setup payment info

Body
stop_send_emailintegerOptional

allowed for 0 or 1 only

ftidintegerOptional

for more information about Fraud Template (ftid) please see the endpoint /api/v3/datasource/fraudtemplate

skip_ccvintegerOptional

allowed for 0 or 1 only

bin_currencyintegerOptional

allowed for 0 or 1 only

allow_rebillingintegerOptional

allowed for 0 or 1 only

proceedeveniffailintegerOptional

allowed for 0 or 1 only

margin_percentagestringOptional
first_transaction_alertintegerOptional

allowed for 0 or 1 only

notify_emailstringOptional
allow_refundintegerOptional

one of the value from [0,10,25,50,100,200,500,-1] per day; 0 = Never, -1 = Unlimited

allow_refund_timeintegerOptional

one of the value from [0,1,2,3,4,5,6,7,8,9,10,15,20] Day(s); 0 = Not Active

emaildomainstringOptional
shipping_n_trackingintegerOptional

allowed for 0 or 1 only

Responses
200

Successfully setup payment site

application/json
msgstringOptional
detailsstringOptional
post/site/mid/{mid}/rid/{rid}/sid/{sid}/payment
POST /api/v3/site/mid/{mid}/rid/{rid}/sid/{sid}/payment HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 263

{
  "stop_send_email": 1,
  "ftid": 1,
  "skip_ccv": 1,
  "bin_currency": 1,
  "allow_rebilling": 1,
  "proceedeveniffail": 1,
  "margin_percentage": "text",
  "first_transaction_alert": 1,
  "notify_email": "text",
  "allow_refund": 1,
  "allow_refund_time": 1,
  "emaildomain": "text",
  "shipping_n_tracking": 1
}
{
  "msg": "text",
  "details": "text"
}

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.

Site 3ds

Mark a site as a 3ds site. Once set to 3ds, the site can never be changed to Payment or Alert. Example JSON data

Site Alert

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
midintegerRequired

Merchant Id that related to retailer and retailer site

ridintegerRequired

Retailer Id that related to retailer site

sidintegerRequired

Retailer Site Id that related retailer site proceed to setup alert info

Body
alertapiurlstringOptional
descriptoridstringOptional
usernamestringOptional
tokenstringOptional
default_dispute_actionstringOptional

one of the value from [match,match_n_refund]

max_refund_amountintegerOptional
alert_triggeremailintegerOptional

allowed for 0 or 1 only

alert_emailstringOptional
shieldrdr_review_emailstringOptional
statusupdate_urlstringOptional
Responses
200

Successfully setup alert site

application/json
msgstringOptional
detailsstringOptional
post/site/mid/{mid}/rid/{rid}/sid/{sid}/alert
POST /api/v3/site/mid/{mid}/rid/{rid}/sid/{sid}/alert HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 233

{
  "alertapiurl": "text",
  "descriptorid": "text",
  "username": "text",
  "token": "text",
  "default_dispute_action": "text",
  "max_refund_amount": 1,
  "alert_triggeremail": 1,
  "alert_email": "text",
  "shieldrdr_review_email": "text",
  "statusupdate_url": "text"
}
{
  "msg": "text",
  "details": "text"
}

Set a site as an Alert site. Once set to Alert it can never be changed to Payment or 3ds. Example JSON data

Supporting Data

County List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned country list

application/json
abrv_twostringOptional
namestringOptional
name_soundexstringOptional
abrv_numericstringOptional
abrv_currencystringOptional
symbolstringOptional
abrv_threestringOptional
post/datasource/country
POST /api/v3/datasource/country HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "abrv_two": "text",
    "name": "text",
    "name_soundex": "text",
    "abrv_numeric": "text",
    "abrv_currency": "text",
    "symbol": "text",
    "abrv_three": "text"
  }
]

List of countries and their country codes.

Currency List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned default currency list

application/json
AUDanyOptionalExample: Australian Dollar
BTCanyOptionalExample: Bitcoin
BRLanyOptionalExample: Brazil real
GBPanyOptionalExample: British Pound
BGNanyOptionalExample: Bulgarian lev
CADanyOptionalExample: Canadian Dollar
COPanyOptionalExample: Columbian Peso
CZKanyOptionalExample: Czech koruna
DKKanyOptionalExample: Danish krone
EEKanyOptionalExample: Estonian kroon
EURanyOptionalExample: Euro
GHSanyOptionalExample: Ghana Cedi
GLDanyOptionalExample: Gold
HKDanyOptionalExample: Hong Kong Dollar
HUFanyOptionalExample: Hungarian forint
ISKanyOptionalExample: Iceland krona
INRanyOptionalExample: Indian Rupee
IDRanyOptionalExample: Indonesian Rupee
JPYanyOptionalExample: Japanese Yen
LVLanyOptionalExample: Latvian lats
LTLanyOptionalExample: Lithuanian Litas
MYRanyOptionalExample: Malaysian ringgit
MXNanyOptionalExample: Mexican peso
NZDanyOptionalExample: New Zealand Dollar
NGNanyOptionalExample: Nigerian Naira
NOKanyOptionalExample: Norwegian krone
PENanyOptionalExample: Nuevo Sol (Peru)
OMRanyOptionalExample: Omani rial
ARSanyOptionalExample: Peso (Argentina)
CLPanyOptionalExample: Peso (Chile)
UYUanyOptionalExample: Peso (Uruguay)
PHPanyOptionalExample: Philippine peso
PLNanyOptionalExample: Polish zloty
RONanyOptionalExample: Romanian lei
RUBanyOptionalExample: Russian Ruble
SGDanyOptionalExample: Singapore Dollar
ZARanyOptionalExample: South African rand
KRWanyOptionalExample: South Korean Won
SEKanyOptionalExample: Swedish krona
CHFanyOptionalExample: Swiss franc
TWDanyOptionalExample: Taiwan Dollar
THBanyOptionalExample: Thai Baht
TRYanyOptionalExample: Turkish Lira
USDanyOptionalExample: US Dollar
VNDanyOptionalExample: Vietnam Dong
WSTanyOptionalExample: Western Samoan Tala
CNYanyOptionalExample: Yuan Renminbi
post/datasource/defaultcurrency
POST /api/v3/datasource/defaultcurrency HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "AUD": "Australian Dollar",
  "BTC": "Bitcoin",
  "BRL": "Brazil real",
  "GBP": "British Pound",
  "BGN": "Bulgarian lev",
  "CAD": "Canadian Dollar",
  "COP": "Columbian Peso",
  "CZK": "Czech koruna",
  "DKK": "Danish krone",
  "EEK": "Estonian kroon",
  "EUR": "Euro",
  "GHS": "Ghana Cedi",
  "GLD": "Gold",
  "HKD": "Hong Kong Dollar",
  "HUF": "Hungarian forint",
  "ISK": "Iceland krona",
  "INR": "Indian Rupee",
  "IDR": "Indonesian Rupee",
  "JPY": "Japanese Yen",
  "LVL": "Latvian lats",
  "LTL": "Lithuanian Litas",
  "MYR": "Malaysian ringgit",
  "MXN": "Mexican peso",
  "NZD": "New Zealand Dollar",
  "NGN": "Nigerian Naira",
  "NOK": "Norwegian krone",
  "PEN": "Nuevo Sol (Peru)",
  "OMR": "Omani rial",
  "ARS": "Peso (Argentina)",
  "CLP": "Peso (Chile)",
  "UYU": "Peso (Uruguay)",
  "PHP": "Philippine peso",
  "PLN": "Polish zloty",
  "RON": "Romanian lei",
  "RUB": "Russian Ruble",
  "SGD": "Singapore Dollar",
  "ZAR": "South African rand",
  "KRW": "South Korean Won",
  "SEK": "Swedish krona",
  "CHF": "Swiss franc",
  "TWD": "Taiwan Dollar",
  "THB": "Thai Baht",
  "TRY": "Turkish Lira",
  "USD": "US Dollar",
  "VND": "Vietnam Dong",
  "WST": "Western Samoan Tala",
  "CNY": "Yuan Renminbi"
}

A list of supported currency and their currency codes.

Fraud Template List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned fraud template list

application/json
ftidintegerOptional
namestringOptional
post/datasource/fraudtemplate
POST /api/v3/datasource/fraudtemplate HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "ftid": 1,
    "name": "text"
  }
]

A list of currently setup Fraud Templates.

Reseller List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
ridintegerOptional

Retailer id from txshield core

Responses
200

Successfully returned reseller list

application/json
reseller_idintegerOptional
namestringOptional
currencystringOptional
post/datasource/reseller
POST /api/v3/datasource/reseller HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 9

"rid=1"
[
  {
    "reseller_id": 1,
    "name": "text",
    "currency": "text"
  }
]

A list of available resellers.

Support Group List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned support group list

application/json
sgidstringOptional
namestringOptional
emailstringOptional
post/datasource/supportgroup
POST /api/v3/datasource/supportgroup HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "sgid": "text",
    "name": "text",
    "email": "text"
  }
]

A list of support groups.

Theme List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned theme list

application/json
themeidstringOptional
theme_namestringOptional
dashboard_urlstringOptional
from_email_addressstringOptional
from_namestringOptional
post/datasource/theme
POST /api/v3/datasource/theme HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "themeid": "text",
    "theme_name": "text",
    "dashboard_url": "text",
    "from_email_address": "text",
    "from_name": "text"
  }
]

A list of available themes.

Site Category List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned site category list

application/json
cat_idstringOptional
categorystringOptional
parentintegerOptional
post/datasource/sitecategory
POST /api/v3/datasource/sitecategory HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "cat_id": "text",
    "category": "text",
    "parent": 1
  }
]

A list of available site categories.

Payment Method List

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successfully returned site category list

application/json
pmidstringOptional
pay_methodstringOptional
typestringOptional
regexstringOptional
displaystringOptional
pending_remindersstringOptional
post/datasource/paymentmethods
POST /api/v3/datasource/paymentmethods HTTP/1.1
Host: uat.txshield.payshield.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "pmid": "text",
    "pay_method": "text",
    "type": "text",
    "regex": "text",
    "display": "text",
    "pending_reminders": "text"
  }
]

A list of supported Payment Methods.

Last updated