CRM API
Boarding merchant / device and manage the devices, transactions and API which requires to connect and perform transactions from VALOR Terminals.
Direct Send API
API is used to generate payment link and send it to the card holder based on the Merchants convenient method either via sms or email
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://securelinktest.valorpaytech.com:4430/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('appid' => 'YbDwjtb7tDPlSbEml4s7et0YWcPLEf59','appkey' => 'oVNjaWOAtkeDElgL25gvCsGbGWQlgwnG','txn_type' => 'sale','amount' => '5.00','phone' => '7299554813','email' => '[email protected]','address1' => '123 ','address2' => '123','city' => 'chennai','state' => 'NY','zip' => '11106','ip' => '192.168.2.222','cardnumber' => '4111111111111111','cvv' => '999','expirydate' => '1232','cardholdername' => 'ABUBACKER N','epi' => '2104704629','shipping_country' => 'USA','invoicenumber' => 'INV1234','orderdescription' => 'My produciton description ','surchargeAmount' => '1.00','surchargeIndicator' => '1'),
CURLOPT_HTTPHEADER => array(
'Content-Type: application/x-www-form-urlencoded'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import mimetypes
from codecs import encode
conn = http.client.HTTPSConnection("securelinktest.valorpaytech.com", 4430)
dataList = []
boundary = 'wL36Yn8afVp8Ag7AmP8qZ0SA4n1v9T'
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=appid;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("YbDwjtb7tDPlSbEml4s7et0YWcPLEf59"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=appkey;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("oVNjaWOAtkeDElgL25gvCsGbGWQlgwnG"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=txn_type;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("sale"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=amount;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("5.00"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=phone;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("7299554813"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=email;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("[email protected]"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=address1;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("3636"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=address2;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("33rd st"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=city;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("chennai"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=state;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("NY"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=zip;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("11106"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=ip;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("192.168.2.222"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=cardnumber;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("4111111111111111"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=cvv;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("999"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=expirydate;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("1232"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=cardholdername;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("ABUBACKER N"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=epi;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("2104704629"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=shipping_country;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("USA"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=invoicenumber;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("INV1234"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=orderdescription;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("My produciton description"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=surchargeAmount;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("1.00"))
dataList.append(encode('--' + boundary))
dataList.append(encode('Content-Disposition: form-data; name=surchargeIndicator;'))
dataList.append(encode('Content-Type: {}'.format('text/plain')))
dataList.append(encode(''))
dataList.append(encode("1"))
dataList.append(encode('--'+boundary+'--'))
dataList.append(encode(''))
body = b'\r\n'.join(dataList)
payload = body
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
'Content-type': 'multipart/form-data; boundary={}'.format(boundary)
}
conn.request("POST", "/", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var FormData = require('form-data');
var data = new FormData();
data.append('appid', 'YbDwjtb7tDPlSbEml4s7et0YWcPLEf59');
data.append('appkey', 'oVNjaWOAtkeDElgL25gvCsGbGWQlgwnG');
data.append('txn_type', 'sale');
data.append('amount', '5.00');
data.append('phone', '7299554813');
data.append('email', '[email protected]');
data.append('address1', '3636 ');
data.append('address2', '33rd st');
data.append('city', 'chennai');
data.append('state', 'NY');
data.append('zip', '11106');
data.append('ip', '192.168.2.222');
data.append('cardnumber', '4111111111111111');
data.append('cvv', '999');
data.append('expirydate', '1232');
data.append('cardholdername', 'ABUBACKER N');
data.append('epi', '2104704629');
data.append('shipping_country', 'USA');
data.append('invoicenumber', 'INV1234');
data.append('orderdescription', 'My produciton description ');
data.append('surchargeAmount', '1.00');
data.append('surchargeIndicator', '1');
var config = {
method: 'post',
url: 'https://securelinktest.valorpaytech.com:4430/',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
...data.getHeaders()
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(curl, CURLOPT_URL, "https://securelinktest.valorpaytech.com:4430/?appid=QJI4ILIuXMv28jph3PIv2KM6Vd3RwzZi&appkey=XUQuvfsGPunifSsbv3exK3HODJPV6kFD&txn_type=sale&epi=2203047276&epage=1&amount=1&surcharge=1");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Cookie: HttpOnly");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://securelinktest.valorpaytech.com:4430/");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AlwaysMultipartFormData = true;
request.AddParameter("appid", "YbDwjtb7tDPlSbEml4s7et0YWcPLEf59");
request.AddParameter("appkey", "oVNjaWOAtkeDElgL25gvCsGbGWQlgwnG");
request.AddParameter("txn_type", "sale");
request.AddParameter("amount", "5.00");
request.AddParameter("phone", "7299554813");
request.AddParameter("email", "[email protected]");
request.AddParameter("address1", "3636 ");
request.AddParameter("address2", "33rd st");
request.AddParameter("city", "chennai");
request.AddParameter("state", "NY");
request.AddParameter("zip", "11106");
request.AddParameter("ip", "192.168.2.222");
request.AddParameter("cardnumber", "4111111111111111");
request.AddParameter("cvv", "999");
request.AddParameter("expirydate", "1232");
request.AddParameter("cardholdername", "ABUBACKER N");
request.AddParameter("epi", "2104704629");
request.AddParameter("shipping_country", "USA");
request.AddParameter("invoicenumber", "INV1234");
request.AddParameter("orderdescription", "My produciton description ");
request.AddParameter("surchargeAmount", "1.00");
request.AddParameter("surchargeIndicator", "1");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"bytes"
"mime/multipart"
"net/http"
"io/ioutil"
)
func main() {
url := "https://securelinktest.valorpaytech.com:4430/"
method := "POST"
payload := &bytes.Buffer{}
writer := multipart.NewWriter(payload)
_ = writer.WriteField("appid", "YbDwjtb7tDPlSbEml4s7et0YWcPLEf59")
_ = writer.WriteField("appkey", "oVNjaWOAtkeDElgL25gvCsGbGWQlgwnG")
_ = writer.WriteField("txn_type", "sale")
_ = writer.WriteField("amount", "5.00")
_ = writer.WriteField("phone", "7299554813")
_ = writer.WriteField("email", "[email protected]")
_ = writer.WriteField("address1", "3636 ")
_ = writer.WriteField("address2", "33rd st")
_ = writer.WriteField("city", "chennai")
_ = writer.WriteField("state", "NY")
_ = writer.WriteField("zip", "11106")
_ = writer.WriteField("ip", "192.168.2.222")
_ = writer.WriteField("cardnumber", "4111111111111111")
_ = writer.WriteField("cvv", "999")
_ = writer.WriteField("expirydate", "1232")
_ = writer.WriteField("cardholdername", "ABUBACKER N")
_ = writer.WriteField("epi", "2104704629")
_ = writer.WriteField("shipping_country", "USA")
_ = writer.WriteField("invoicenumber", "INV1234")
_ = writer.WriteField("orderdescription", "My produciton description ")
_ = writer.WriteField("surchargeAmount", "1.00")
_ = writer.WriteField("surchargeIndicator", "1")
err := writer.Close()
if err != nil {
fmt.Println(err)
return
}
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
req.Header.Set("Content-Type", writer.FormDataContentType())
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://securelinktest.valorpaytech.com:4430/")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request["Cookie"] = "HttpOnly"
request.body = JSON.dump({
"appid": "YbDwjtb7tDPlSbEml4s7et0YWcPLEf59",
"appkey": "bMOREjfxQbbXxMnnrsVCVBoiyQ2rjTJW",
"txn_type": "sale",
"amount": "10.00",
"phone": "7010754391",
"email": "[email protected]",
"address": "main street",
"city": "chennai",
"state": "TN",
"zip": "11111",
"ip": "192.168.2.222",
"cardnumber": "4111111111111111",
"cvv": "999",
"expirydate": "1232",
"cardholdername": "Test",
"epi": "2234616291",
"shipping_country": "USA",
"invoicenumber": "7777",
"orderdescription": "NO",
"surchargeAmount": "10.00",
"surchargeIndicator": "1"
})
response = https.request(request)
puts response.read_body
{
"error_no":"S00","error_code":"00","amount":"5.00","msg":"APPROVED","desc":"APPROVAL TAS198
","additional_info":null,"approval_code":"TAS198","rrn":"235711501702","txnid":"222915951363","tran_no":9,"term_no":"75021675","m_no":"887000003191
","payment_network":null,"stan":450,"token":"6E3B00265F3B6D3529ZXXXXXXXXXXXXXXX630B49"
}
Field Type Length Mandatory / Optional Example Value Description
app_id String 32 Mandatory YbDwjtb7tDPlSbEml4s7et0YWcPLEf59 Merchant APP ID
auth_key String 32 Mandatory oVNjaWOAtkeDElgL25gvCsGbGWQlgwnG Merchant API Key
txn_type String 4 Mandatory sale or auth sale or auth
amount Numeric 7 Mandatory 10.00 Transaction amount (Maximum amount 99,999.99)
tax Numeric 4 Mandatory 10.00 Currency
phone Numeric 10 Optional 8523647921 Customer phone number - 10 digit
email String 255 Optional [email protected] Customer email id
address String 25 Optional 12, New Street 25 chars
city String 15 Optional New York 15 chars
state String 2 Optional NY 2 chars capital
zip Numeric 5 Optional 52436 Zip code 5 digit number
ip String 15 Optional 8:8:12:8 Merchant IP Address (Ex. 0.0.0.0)
cardnumber String 19 Mandatory 4111111111111111 Customer card number 15 to 19 digits
cvv Numeric 4 Mandatory 542 or 2546 3 or 4 digits
expirydate String 5 Mandatory 1225 Card expiry date, Accepted expiry MMYY or MM/YY
cardholdername String 25 Mandatory John Name of the cardholder
invoicenumber String 12 Optional A125N5647892 Alphanumeric 12 chars
orderdescription String 25 Optional comments To give the order description
surchargeIndicator Number 1 Mandatory set 0 or 1 Calculate the surcharge fee - set 0 or 1
shipping_country String 15 Mandatory US Default set us USA
surcharge Numeric 4 Mandatory 4.00 Currency - surcharge amount
epi Numeric 10 Mandatory 2541987632 The unique id refers to a particular store of the merchant
epage Numeric 1 Mandatory 1 1, should be 1 always
Redirect_url String 25 Optional Merchant redirect url Optional, if present response data will be forwarded to the given url
Merchant Add
If we add new Merchant account in the Valor portal, we use this API. We need minimal details from the Merchant, i.e Legal Details, Store Details, and the type of equipment the Merchant needs (Valor 100/110/500/VT) and the Processor (TSYS/FDR).
https://demo.valorpaytech.com:443/api/Valor/create
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/create',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"legalName": "TamilNadu Store",
"dbaName": "taminadu Store LLC",
"firstName": "MERCHANT",
"lastName": "PORTAL",
"ownerName": "MERCHANT PORTAL",
"emailId": "[email protected]",
"userName" : "1245RR07",
"mobileField": "(832) 728-7578",
"mobile": "8327287578",
"legalAddress": "Test Address",
"legalCity": "CLIFFSIDE PARK",
"legalState": "NJ",
"legalCountry": "US",
"legalZipCode": "07010",
"legalTimezone": "EST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Direct Marketing",
"tin": "1",
"sicCode": "0742 - VETERINARY SERVICE",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "CLIFFSIDE PARK",
"storeState": "NJ",
"storeCountry": "US",
"storeZipCode": "07010",
"storeTimezone": "EST",
"superVisorName": "MERCHANT PORTAL LOGIN",
"superVisorEmail": "[email protected]",
"superVisorContact": "8327287578",
"mccCode": "0742",
"selectedMCC": "0742 - VETERINARY SERVICE",
"descriptors": [
"MERCHANT PORTAL LOGIN"
],
"epiData": [
{
"device": "139",
"deviceType": "Soft Pos",
"processor": "1",
"epiLabel": "Valor VT",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "000000011544",
"vNumber": null,
"vNumber1": "75259042",
"storeNo": null,
"storeNo1": "6727",
"termNo": null,
"termNo1": "5434",
"association": null,
"association1": "546001",
"chain": null,
"chain1": "546001",
"agent": null,
"agent1": "5925",
"EbtNo": null,
"EbtNo1": "0000000",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "546000",
"industry": null,
"industry1": "Direct Marketing",
"surchargePercentage": "",
"label": "MERCHANT PORTAL LOGIN"
}
]
}
],
"selectedState": "NJ"
}
],
"moduleList": [
1,
2,
3,
5,
6,
14,
15,
20,
19,
21
],
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"selectedState": "NJ",
"processor": "1",
"rollUp": "1"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"legalName": "TamilNadu Store",
"dbaName": "taminadu Store LLC",
"firstName": "MERCHANT",
"lastName": "PORTAL",
"ownerName": "MERCHANT PORTAL",
"emailId": "[email protected]",
"userName": "1245RR07",
"mobileField": "(832) 728-7578",
"mobile": "8327287578",
"legalAddress": "Test Address",
"legalCity": "CLIFFSIDE PARK",
"legalState": "NJ",
"legalCountry": "US",
"legalZipCode": "07010",
"legalTimezone": "EST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Direct Marketing",
"tin": "1",
"sicCode": "0742 - VETERINARY SERVICE",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "CLIFFSIDE PARK",
"storeState": "NJ",
"storeCountry": "US",
"storeZipCode": "07010",
"storeTimezone": "EST",
"superVisorName": "MERCHANT PORTAL LOGIN",
"superVisorEmail": "[email protected]",
"superVisorContact": "8327287578",
"mccCode": "0742",
"selectedMCC": "0742 - VETERINARY SERVICE",
"descriptors": [
"MERCHANT PORTAL LOGIN"
],
"epiData": [
{
"device": "139",
"deviceType": "Soft Pos",
"processor": "1",
"epiLabel": "Valor VT",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": None,
"mid1": "000000011544",
"vNumber": None,
"vNumber1": "75259042",
"storeNo": None,
"storeNo1": "6727",
"termNo": None,
"termNo1": "5434",
"association": None,
"association1": "546001",
"chain": None,
"chain1": "546001",
"agent": None,
"agent1": "5925",
"EbtNo": None,
"EbtNo1": "0000000",
"binnumber": None,
"binnumber1": "424666",
"agentBank": None,
"agentBank1": "546000",
"industry": None,
"industry1": "Direct Marketing",
"surchargePercentage": "",
"label": "MERCHANT PORTAL LOGIN"
}
]
}
],
"selectedState": "NJ"
}
],
"moduleList": [
1,
2,
3,
5,
6,
14,
15,
20,
19,
21
],
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"selectedState": "NJ",
"processor": "1",
"rollUp": "1"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/create", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"legalName": "TamilNadu Store",
"dbaName": "taminadu Store LLC",
"firstName": "MERCHANT",
"lastName": "PORTAL",
"ownerName": "MERCHANT PORTAL",
"emailId": "[email protected]",
"userName": "1245RR07",
"mobileField": "(832) 728-7578",
"mobile": "8327287578",
"legalAddress": "Test Address",
"legalCity": "CLIFFSIDE PARK",
"legalState": "NJ",
"legalCountry": "US",
"legalZipCode": "07010",
"legalTimezone": "EST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Direct Marketing",
"tin": "1",
"sicCode": "0742 - VETERINARY SERVICE",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "CLIFFSIDE PARK",
"storeState": "NJ",
"storeCountry": "US",
"storeZipCode": "07010",
"storeTimezone": "EST",
"superVisorName": "MERCHANT PORTAL LOGIN",
"superVisorEmail": "[email protected]",
"superVisorContact": "8327287578",
"mccCode": "0742",
"selectedMCC": "0742 - VETERINARY SERVICE",
"descriptors": [
"MERCHANT PORTAL LOGIN"
],
"epiData": [
{
"device": "139",
"deviceType": "Soft Pos",
"processor": "1",
"epiLabel": "Valor VT",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "000000011544",
"vNumber": null,
"vNumber1": "75259042",
"storeNo": null,
"storeNo1": "6727",
"termNo": null,
"termNo1": "5434",
"association": null,
"association1": "546001",
"chain": null,
"chain1": "546001",
"agent": null,
"agent1": "5925",
"EbtNo": null,
"EbtNo1": "0000000",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "546000",
"industry": null,
"industry1": "Direct Marketing",
"surchargePercentage": "",
"label": "MERCHANT PORTAL LOGIN"
}
]
}
],
"selectedState": "NJ"
}
],
"moduleList": [
1,
2,
3,
5,
6,
14,
15,
20,
19,
21
],
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"selectedState": "NJ",
"processor": "1",
"rollUp": "1"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/create',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/create");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"legalName\": \"TamilNadu Store\",\r\n \"dbaName\": \"taminadu Store LLC\",\r\n \"firstName\": \"MERCHANT\",\r\n \"lastName\": \"PORTAL\",\r\n \"ownerName\": \"MERCHANT PORTAL\",\r\n \"emailId\": \"[email protected]\",\r\n \"userName\" : \"1245RR07\",\r\n \"mobileField\": \"(832) 728-7578\",\r\n \"mobile\": \"8327287578\",\r\n \"legalAddress\": \"Test Address\",\r\n \"legalCity\": \"CLIFFSIDE PARK\",\r\n \"legalState\": \"NJ\",\r\n \"legalCountry\": \"US\",\r\n \"legalZipCode\": \"07010\",\r\n \"legalTimezone\": \"EST\",\r\n \"role\": \"10\",\r\n \"userType\": \"4\",\r\n \"isTxnAllowed\": \"1\",\r\n \"businessType\": \"Direct Marketing\",\r\n \"tin\": \"1\",\r\n \"sicCode\": \"0742 - VETERINARY SERVICE\",\r\n \"storeData\": [\r\n {\r\n \"storeName\": \"Test Store\",\r\n \"storeAddress\": \"Test Address\",\r\n \"storeCity\": \"CLIFFSIDE PARK\",\r\n \"storeState\": \"NJ\",\r\n \"storeCountry\": \"US\",\r\n \"storeZipCode\": \"07010\",\r\n \"storeTimezone\": \"EST\",\r\n \"superVisorName\": \"MERCHANT PORTAL LOGIN\",\r\n \"superVisorEmail\": \"[email protected]\",\r\n \"superVisorContact\": \"8327287578\",\r\n \"mccCode\": \"0742\",\r\n \"selectedMCC\": \"0742 - VETERINARY SERVICE\",\r\n \"descriptors\": [\r\n \"MERCHANT PORTAL LOGIN\"\r\n ],\r\n \"epiData\": [\r\n {\r\n \"device\": \"139\",\r\n \"deviceType\": \"Soft Pos\",\r\n \"processor\": \"1\",\r\n \"epiLabel\": \"Valor VT\",\r\n \"features\": {\r\n \"tip\": {\r\n \"enabled\": \"false\",\r\n \"value\": [\r\n \"5\",\r\n \"10\",\r\n \"15\",\r\n \"20\"\r\n ]\r\n },\r\n \"paytable\": {\r\n \"enabled\": \"true\"\r\n },\r\n \"surcharge\": {\r\n \"enabled\": \"false\",\r\n \"minValue\": \"4.0000\",\r\n \"maxValue\": \"4.0000\"\r\n },\r\n \"tax\": {\r\n \"enabled\": \"false\",\r\n \"value\": \"0\"\r\n },\r\n \"settlement\": {\r\n \"enabled\": \"false\",\r\n \"value\": \"10 pm\"\r\n },\r\n \"secComm\": {\r\n \"enabled\": \"false\",\r\n \"value\": \"\"\r\n },\r\n \"signatureCap\": {\r\n \"enabled\": \"false\"\r\n },\r\n \"ebt\": {\r\n \"enabled\": \"false\"\r\n },\r\n \"promoText\": \"promoText\"\r\n },\r\n \"processorData\": [\r\n {\r\n \"mid\": null,\r\n \"mid1\": \"000000011544\",\r\n \"vNumber\": null,\r\n \"vNumber1\": \"75259042\",\r\n \"storeNo\": null,\r\n \"storeNo1\": \"6727\",\r\n \"termNo\": null,\r\n \"termNo1\": \"5434\",\r\n \"association\": null,\r\n \"association1\": \"546001\",\r\n \"chain\": null,\r\n \"chain1\": \"546001\",\r\n \"agent\": null,\r\n \"agent1\": \"5925\",\r\n \"EbtNo\": null,\r\n \"EbtNo1\": \"0000000\",\r\n \"binnumber\": null,\r\n \"binnumber1\": \"424666\",\r\n \"agentBank\": null,\r\n \"agentBank1\": \"546000\",\r\n \"industry\": null,\r\n \"industry1\": \"Direct Marketing\",\r\n \"surchargePercentage\": \"\",\r\n \"label\": \"MERCHANT PORTAL LOGIN\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"selectedState\": \"NJ\"\r\n }\r\n ],\r\n \"moduleList\": [\r\n 1,\r\n 2,\r\n 3,\r\n 5,\r\n 6,\r\n 14,\r\n 15,\r\n 20,\r\n 19,\r\n 21\r\n ],\r\n \"passCode\": \"[email protected]\",\r\n \"mailId\": \"[email protected]\",\r\n \"SubmailId\": \"[email protected]\",\r\n \"selectedState\": \"NJ\",\r\n \"processor\": \"1\",\r\n \"rollUp\": \"1\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/create");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""legalName"": ""TamilNadu Store"",
" + "\n" +
@" ""dbaName"": ""taminadu Store LLC"",
" + "\n" +
@" ""firstName"": ""MERCHANT"",
" + "\n" +
@" ""lastName"": ""PORTAL"",
" + "\n" +
@" ""ownerName"": ""MERCHANT PORTAL"",
" + "\n" +
@" ""emailId"": ""[email protected]"",
" + "\n" +
@" ""userName"" : ""1245RR07"",
" + "\n" +
@" ""mobileField"": ""(832) 728-7578"",
" + "\n" +
@" ""mobile"": ""8327287578"",
" + "\n" +
@" ""legalAddress"": ""Test Address"",
" + "\n" +
@" ""legalCity"": ""CLIFFSIDE PARK"",
" + "\n" +
@" ""legalState"": ""NJ"",
" + "\n" +
@" ""legalCountry"": ""US"",
" + "\n" +
@" ""legalZipCode"": ""07010"",
" + "\n" +
@" ""legalTimezone"": ""EST"",
" + "\n" +
@" ""role"": ""10"",
" + "\n" +
@" ""userType"": ""4"",
" + "\n" +
@" ""isTxnAllowed"": ""1"",
" + "\n" +
@" ""businessType"": ""Direct Marketing"",
" + "\n" +
@" ""tin"": ""1"",
" + "\n" +
@" ""sicCode"": ""0742 - VETERINARY SERVICE"",
" + "\n" +
@" ""storeData"": [
" + "\n" +
@" {
" + "\n" +
@" ""storeName"": ""Test Store"",
" + "\n" +
@" ""storeAddress"": ""Test Address"",
" + "\n" +
@" ""storeCity"": ""CLIFFSIDE PARK"",
" + "\n" +
@" ""storeState"": ""NJ"",
" + "\n" +
@" ""storeCountry"": ""US"",
" + "\n" +
@" ""storeZipCode"": ""07010"",
" + "\n" +
@" ""storeTimezone"": ""EST"",
" + "\n" +
@" ""superVisorName"": ""MERCHANT PORTAL LOGIN"",
" + "\n" +
@" ""superVisorEmail"": ""[email protected]"",
" + "\n" +
@" ""superVisorContact"": ""8327287578"",
" + "\n" +
@" ""mccCode"": ""0742"",
" + "\n" +
@" ""selectedMCC"": ""0742 - VETERINARY SERVICE"",
" + "\n" +
@" ""descriptors"": [
" + "\n" +
@" ""MERCHANT PORTAL LOGIN""
" + "\n" +
@" ],
" + "\n" +
@" ""epiData"": [
" + "\n" +
@" {
" + "\n" +
@" ""device"": ""139"",
" + "\n" +
@" ""deviceType"": ""Soft Pos"",
" + "\n" +
@" ""processor"": ""1"",
" + "\n" +
@" ""epiLabel"": ""Valor VT"",
" + "\n" +
@" ""features"": {
" + "\n" +
@" ""tip"": {
" + "\n" +
@" ""enabled"": ""false"",
" + "\n" +
@" ""value"": [
" + "\n" +
@" ""5"",
" + "\n" +
@" ""10"",
" + "\n" +
@" ""15"",
" + "\n" +
@" ""20""
" + "\n" +
@" ]
" + "\n" +
@" },
" + "\n" +
@" ""paytable"": {
" + "\n" +
@" ""enabled"": ""true""
" + "\n" +
@" },
" + "\n" +
@" ""surcharge"": {
" + "\n" +
@" ""enabled"": ""false"",
" + "\n" +
@" ""minValue"": ""4.0000"",
" + "\n" +
@" ""maxValue"": ""4.0000""
" + "\n" +
@" },
" + "\n" +
@" ""tax"": {
" + "\n" +
@" ""enabled"": ""false"",
" + "\n" +
@" ""value"": ""0""
" + "\n" +
@" },
" + "\n" +
@" ""settlement"": {
" + "\n" +
@" ""enabled"": ""false"",
" + "\n" +
@" ""value"": ""10 pm""
" + "\n" +
@" },
" + "\n" +
@" ""secComm"": {
" + "\n" +
@" ""enabled"": ""false"",
" + "\n" +
@" ""value"": """"
" + "\n" +
@" },
" + "\n" +
@" ""signatureCap"": {
" + "\n" +
@" ""enabled"": ""false""
" + "\n" +
@" },
" + "\n" +
@" ""ebt"": {
" + "\n" +
@" ""enabled"": ""false""
" + "\n" +
@" },
" + "\n" +
@" ""promoText"": ""promoText""
" + "\n" +
@" },
" + "\n" +
@" ""processorData"": [
" + "\n" +
@" {
" + "\n" +
@" ""mid"": null,
" + "\n" +
@" ""mid1"": ""000000011544"",
" + "\n" +
@" ""vNumber"": null,
" + "\n" +
@" ""vNumber1"": ""75259042"",
" + "\n" +
@" ""storeNo"": null,
" + "\n" +
@" ""storeNo1"": ""6727"",
" + "\n" +
@" ""termNo"": null,
" + "\n" +
@" ""termNo1"": ""5434"",
" + "\n" +
@" ""association"": null,
" + "\n" +
@" ""association1"": ""546001"",
" + "\n" +
@" ""chain"": null,
" + "\n" +
@" ""chain1"": ""546001"",
" + "\n" +
@" ""agent"": null,
" + "\n" +
@" ""agent1"": ""5925"",
" + "\n" +
@" ""EbtNo"": null,
" + "\n" +
@" ""EbtNo1"": ""0000000"",
" + "\n" +
@" ""binnumber"": null,
" + "\n" +
@" ""binnumber1"": ""424666"",
" + "\n" +
@" ""agentBank"": null,
" + "\n" +
@" ""agentBank1"": ""546000"",
" + "\n" +
@" ""industry"": null,
" + "\n" +
@" ""industry1"": ""Direct Marketing"",
" + "\n" +
@" ""surchargePercentage"": """",
" + "\n" +
@" ""label"": ""MERCHANT PORTAL LOGIN""
" + "\n" +
@" }
" + "\n" +
@" ]
" + "\n" +
@" }
" + "\n" +
@" ],
" + "\n" +
@" ""selectedState"": ""NJ""
" + "\n" +
@" }
" + "\n" +
@" ],
" + "\n" +
@" ""moduleList"": [
" + "\n" +
@" 1,
" + "\n" +
@" 2,
" + "\n" +
@" 3,
" + "\n" +
@" 5,
" + "\n" +
@" 6,
" + "\n" +
@" 14,
" + "\n" +
@" 15,
" + "\n" +
@" 20,
" + "\n" +
@" 19,
" + "\n" +
@" 21
" + "\n" +
@" ],
" + "\n" +
@" ""passCode"": ""[email protected]"",
" + "\n" +
@" ""mailId"": ""[email protected]"",
" + "\n" +
@" ""SubmailId"": ""[email protected]"",
" + "\n" +
@" ""selectedState"": ""NJ"",
" + "\n" +
@" ""processor"": ""1"",
" + "\n" +
@" ""rollUp"": ""1""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/create"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"legalName": "TamilNadu Store",`+"
"+`
"dbaName": "taminadu Store LLC",`+"
"+`
"firstName": "MERCHANT",`+"
"+`
"lastName": "PORTAL",`+"
"+`
"ownerName": "MERCHANT PORTAL",`+"
"+`
"emailId": "[email protected]",`+"
"+`
"userName" : "1245RR07",`+"
"+`
"mobileField": "(832) 728-7578",`+"
"+`
"mobile": "8327287578",`+"
"+`
"legalAddress": "Test Address",`+"
"+`
"legalCity": "CLIFFSIDE PARK",`+"
"+`
"legalState": "NJ",`+"
"+`
"legalCountry": "US",`+"
"+`
"legalZipCode": "07010",`+"
"+`
"legalTimezone": "EST",`+"
"+`
"role": "10",`+"
"+`
"userType": "4",`+"
"+`
"isTxnAllowed": "1",`+"
"+`
"businessType": "Direct Marketing",`+"
"+`
"tin": "1",`+"
"+`
"sicCode": "0742 - VETERINARY SERVICE",`+"
"+`
"storeData": [`+"
"+`
{`+"
"+`
"storeName": "Test Store",`+"
"+`
"storeAddress": "Test Address",`+"
"+`
"storeCity": "CLIFFSIDE PARK",`+"
"+`
"storeState": "NJ",`+"
"+`
"storeCountry": "US",`+"
"+`
"storeZipCode": "07010",`+"
"+`
"storeTimezone": "EST",`+"
"+`
"superVisorName": "MERCHANT PORTAL LOGIN",`+"
"+`
"superVisorEmail": "[email protected]",`+"
"+`
"superVisorContact": "8327287578",`+"
"+`
"mccCode": "0742",`+"
"+`
"selectedMCC": "0742 - VETERINARY SERVICE",`+"
"+`
"descriptors": [`+"
"+`
"MERCHANT PORTAL LOGIN"`+"
"+`
],`+"
"+`
"epiData": [`+"
"+`
{`+"
"+`
"device": "139",`+"
"+`
"deviceType": "Soft Pos",`+"
"+`
"processor": "1",`+"
"+`
"epiLabel": "Valor VT",`+"
"+`
"features": {`+"
"+`
"tip": {`+"
"+`
"enabled": "false",`+"
"+`
"value": [`+"
"+`
"5",`+"
"+`
"10",`+"
"+`
"15",`+"
"+`
"20"`+"
"+`
]`+"
"+`
},`+"
"+`
"paytable": {`+"
"+`
"enabled": "true"`+"
"+`
},`+"
"+`
"surcharge": {`+"
"+`
"enabled": "false",`+"
"+`
"minValue": "4.0000",`+"
"+`
"maxValue": "4.0000"`+"
"+`
},`+"
"+`
"tax": {`+"
"+`
"enabled": "false",`+"
"+`
"value": "0"`+"
"+`
},`+"
"+`
"settlement": {`+"
"+`
"enabled": "false",`+"
"+`
"value": "10 pm"`+"
"+`
},`+"
"+`
"secComm": {`+"
"+`
"enabled": "false",`+"
"+`
"value": ""`+"
"+`
},`+"
"+`
"signatureCap": {`+"
"+`
"enabled": "false"`+"
"+`
},`+"
"+`
"ebt": {`+"
"+`
"enabled": "false"`+"
"+`
},`+"
"+`
"promoText": "promoText"`+"
"+`
},`+"
"+`
"processorData": [`+"
"+`
{`+"
"+`
"mid": null,`+"
"+`
"mid1": "000000011544",`+"
"+`
"vNumber": null,`+"
"+`
"vNumber1": "75259042",`+"
"+`
"storeNo": null,`+"
"+`
"storeNo1": "6727",`+"
"+`
"termNo": null,`+"
"+`
"termNo1": "5434",`+"
"+`
"association": null,`+"
"+`
"association1": "546001",`+"
"+`
"chain": null,`+"
"+`
"chain1": "546001",`+"
"+`
"agent": null,`+"
"+`
"agent1": "5925",`+"
"+`
"EbtNo": null,`+"
"+`
"EbtNo1": "0000000",`+"
"+`
"binnumber": null,`+"
"+`
"binnumber1": "424666",`+"
"+`
"agentBank": null,`+"
"+`
"agentBank1": "546000",`+"
"+`
"industry": null,`+"
"+`
"industry1": "Direct Marketing",`+"
"+`
"surchargePercentage": "",`+"
"+`
"label": "MERCHANT PORTAL LOGIN"`+"
"+`
}`+"
"+`
]`+"
"+`
}`+"
"+`
],`+"
"+`
"selectedState": "NJ"`+"
"+`
}`+"
"+`
],`+"
"+`
"moduleList": [`+"
"+`
1,`+"
"+`
2,`+"
"+`
3,`+"
"+`
5,`+"
"+`
6,`+"
"+`
14,`+"
"+`
15,`+"
"+`
20,`+"
"+`
19,`+"
"+`
21`+"
"+`
],`+"
"+`
"passCode": "[email protected]",`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"selectedState": "NJ",`+"
"+`
"processor": "1",`+"
"+`
"rollUp": "1"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/create")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "TamilNadu Store",
"dbaName": "taminadu Store LLC",
"firstName": "MERCHANT",
"lastName": "PORTAL",
"ownerName": "MERCHANT PORTAL",
"emailId": "[email protected]",
"userName": "demotest",
"mobileField": "(832) 728-7578",
"mobile": "8327287578",
"legalAddress": "Test Address",
"legalCity": "CLIFFSIDE PARK",
"legalState": "NJ",
"legalCountry": "US",
"legalZipCode": "07010",
"legalTimezone": "EST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Direct Marketing",
"tin": "1",
"sicCode": "0742 - VETERINARY SERVICE",
"storeData": [
{
"id": "11149",
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "CLIFFSIDE PARK",
"storeState": "NJ",
"storeCountry": "US",
"storeZipCode": "07010",
"storeTimezone": "EST",
"superVisorName": "MERCHANT PORTAL LOGIN",
"superVisorEmail": "[email protected]",
"superVisorContact": "8327287578",
"mccCode": "0742",
"selectedMCC": "0742 - VETERINARY SERVICE",
"descriptors": [
"MERCHANT PORTAL LOGIN"
],
"epiData": [
{
"device": "139",
"deviceType": "Soft Pos",
"processor": "1",
"epiLabel": "Valor VT",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": nil,
"mid1": "000000011544",
"vNumber": nil,
"vNumber1": "75259042",
"storeNo": nil,
"storeNo1": "6727",
"termNo": nil,
"termNo1": "5434",
"association": nil,
"association1": "546001",
"chain": nil,
"chain1": "546001",
"agent": nil,
"agent1": "5925",
"EbtNo": nil,
"EbtNo1": "0000000",
"binnumber": nil,
"binnumber1": "424666",
"agentBank": nil,
"agentBank1": "546000",
"industry": nil,
"industry1": "Direct Marketing",
"surchargePercentage": "",
"label": "MERCHANT PORTAL LOGIN"
}
]
}
],
"selectedState": "NJ"
}
],
"moduleList": [
1,
2,
3,
5,
6,
14,
15,
20,
19,
21
],
"selectedState": "NJ",
"processor": "1",
"rollUp": "1"
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "User Added Successfully",
"Mp_id": 12493,
"epiId": "2309591532",
"newUserId": 28123,
"StoreID": 11149,
"data": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
passCode String 20 Mandatory [email protected]@2023 The password for the Submailid/mailId
mailid String 15 Mandatory [email protected] To board the new merchant user for the given mail id, and check
whether this mail id is present or not. eg:[email protected]
SubmailId String 15 Mandatory [email protected] To board a merchant under a particular sub office for the Valor admin login
legalName String 15 Mandatory valor CRM Parameter Max length is 15 char
dbaName String 15 Mandatory valor CRM API Store Max length is 15 char
firstName String 15 Mandatory Valor Boarding Max length is 15 char
lastName String 15 Mandatory CRM Max length is 15 char
ownerName String 15 Mandatory CRM Store Owner Boarded by name
emailId String 15 Mandatory [email protected] Valid email should be given
mobile String 10 Mandatory 9876543210 Mobile number of the merchant,max length is 10 digit
legalAddress String 25 Mandatory 123 New CRM Street max length 25 char
legalCity String 20 Mandatory New York max length is 20 char
legalState String 2 Mandatory NY State code with Two char
legalCountry String - Mandatory US default set as 'US'
legalZipCode Numeric 5 Mandatory 10006 maxlength is 5 digit
legalTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
userType Numeric 4 Mandatory 4 Should be '4' - user type for the merchant
isTxnAllowed Numeric 1 Mandatory 1 0 or 1 we will update based on merchant (only accept 0 and 1)
businessType String 10 Mandatory Oil Company/Automated Should be sent as business type
Fueling System
tin Numeric - Mandatory 1 Default set as '0' or set to 1
sicCode String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
storeName String 28 Mandatory CRM Store Max length 28 char
storeAddress String 25 Mandatory 123 New CRM Street Max length 25 char
storeCity String 30 Mandatory New York Max length 30 char
storeState String - Mandatory NY State code with Two char
storeCountry String 2 Mandatory US default set as 'US'
storeZipCode Number 5 Mandatory 10006 max length is 5 digit
storeTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
superVisorName String 15 Mandatory crmboarding Name of the supervisor
superVisorEmail Number 5 Mandatory [email protected] Valid email id should be given
superVisorContact Number 10 Mandatory 9876543210 manager contact number, max length is 10 digit
mccCode Number 4 Mandatory 5945 It should be 4 digit MCC
selectedMCC String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
descriptors String 25 Mandatory CRM Store It should be 25 chars
device Number - Mandatory 139 The model description of the device to be boarded for that
merchant. Have to pass the 'device_id'
ID DEVICE_MODEL
130 VL 100
174 VL 110
136 VL 500
139 Virtual Terminal/Ecommerce
207 VP 100
274 RCKT
deviceType String - Mandatory Soft Pos The type description of the device / terminal Possible Options
Desktop POS
Smart POS
Soft POS
Handheld POS
processor Number - Mandatory 1 or 2 The processor which supports the merchant to be specified in this field, 1
ProcessorID should be mentioned (Tsys - 1, FD - 2)
epiLabel String 15 Mandatory Ground floor terminal Label description for the device /terminal. Max length 15 char
1 or Valor VT
mid Number 12 Mandatory 000000123456( Tsys ) Merchant id related to the surcharge profile. If the epi is to be boarded
on Traditional profile set it as "null" (Tsys - 12 Fd omaha - 15)
mid1 Number 12 Mandatory Merchant id related to the traditional profile. If the epi is to be boarded
on surcharge Profile sets it as "null"
vNumber Number 8 Mandatory 71234567 vNumber mapped to the particular device / terminal in surcharge profile.
If the epi is to be boarded on Traditional profile set it as "null"
vNumber1 Number 8 Mandatory vNumber mapped to the particular device / terminal in traditional profile.
If the epi is to be boarded on a Surcharge profile, set it as "null"
storeNo Number 4 Mandatory 1234 store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
storeNo1 Number 4 Mandatory store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo Number 4 Mandatory 5678 Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo1 Number 4 Mandatory Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
association Number 6 Mandatory 987654 Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
association1 Number 6 Mandatory Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain Number 6 Mandatory 987654 Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain1 Number 6 Mandatory Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent Number 4 Mandatory 1001 Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent1 Number 4 Mandatory Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo Number 7 Mandatory 1234567 Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo1 Number 7 Mandatory Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber Number 6 Mandatory 654321 bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber1 Number 6 Mandatory bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank Number 6 Mandatory 987654 Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank1 Number 6 Mandatory Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
industry String - Mandatory Retail The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
industry1 String - Mandatory The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
surcharge Number 5 Mandatory 4.0000 Additional fee ( surchanrge percentage mandatory for cash discount)
Percentage
label Number - Mandatory CRM Store The storename on which the device/terminal created is mapped on this field
selectedState String 2 Mandatory NY The State which is selected to be sent on it with the State code. eg: NY-for new york
s4f Number 1 Mandatory 1 1 (sf4) or 2 (traditional)
processor Numeber 1 Mandatory 1 Select the processor (Tsys, FD-Omaha)
Merchant Update
Same as Merchant add parameter, for update we need to add the Merchant Id, Store Id, User Id (if already we have). We use the existing valor details and add the one more equipment's under that Merchant
https://demo.valorpaytech.com:443/api/Valor/update
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/update',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"id": "",
"storeName": "Test Store",
"storeAddress": "Test Store",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test Store",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"id": "",
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": None,
"mid1": "0000000845522",
"vNumber": None,
"vNumber1": "2354353",
"storeNo": None,
"storeNo1": "0002",
"termNo": None,
"termNo1": "0005",
"association": None,
"association1": "545503",
"chain": None,
"chain1": "545083",
"agent": None,
"agent1": "3831",
"EbtNo": None,
"EbtNo1": "7894562",
"binnumber": None,
"binnumber1": "424666",
"agentBank": None,
"agentBank1": "545000",
"industry": None,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/update", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"id": "",
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/update',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/update");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"epi\": \"2204570398\",\n \"newUserId\": \"9523\",\n \"mp_id\": \"5875\",\n \"store_id\": \"6898\",\n \"passCode\": \"[email protected]\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"legalName\": \"EL TRI MX RESTA\",\n \"dbaName\": \"EL TRI MX RESTAU\",\n \"firstName\": \"JUAN TE\",\n \"lastName\": \"SAQUIPULLA DE\",\n \"ownerName\": \"JUAN SAQUIPULLA FF\",\n \"emailId\": \"[email protected]\",\n \"mobileField\": \"5646531564\",\n \"mobile\": \"7895461235\",\n \"legalAddress\": \"nfhf\",\n \"legalCity\": \"FlusDhing\",\n \"legalState\": \"NY\",\n \"legalCountry\": \"US\",\n \"legalZipCode\": \"12354\",\n \"legalTimezone\": \"CST\",\n \"role\": \"10\",\n \"userType\": \"4\",\n \"isTxnAllowed\": \"1\",\n \"businessType\": \"Retail\",\n \"tin\": \"0\",\n \"sicCode\": \"5814 - FAST FOOD RESTAURA\",\n \"storeData\": [\n {\n \"id\": \"\",\n \"storeName\": \"Test Store\",\n \"storeAddress\": \"Test Address\",\n \"storeCity\": \"BRONX\",\n \"storeState\": \"NY\",\n \"storeCountry\": \"US\",\n \"storeZipCode\": \"10461\",\n \"storeTimezone\": \"EST\",\n \"superVisorName\": \"Test\",\n \"superVisorEmail\": \"[email protected]\",\n \"superVisorContact\": \"5651324655\",\n \"mccCode\": \"1750\",\n \"selectedMCC\": \"1750 - CARPENTRY\",\n \"descriptors\": [\n \"Test\"\n ],\n \"epiData\": [\n {\n \"epi\": \"2204570398\",\n \"device\": \"130\",\n \"deviceType\": \"Desktop POS\",\n \"processor\": \"1\",\n \"epiLabel\": \"ValorPos 100\",\n \"features\": {\n \"tip\": {\n \"enabled\": \"false\",\n \"value\": [\n \"5\",\n \"10\",\n \"15\",\n \"20\"\n ]\n },\n \"paytable\": {\n \"enabled\": \"true\"\n },\n \"surcharge\": {\n \"enabled\": \"false\",\n \"minValue\": \"4.0000\",\n \"maxValue\": \"4.0000\"\n },\n \"tax\": {\n \"enabled\": \"false\",\n \"value\": \"0\"\n },\n \"settlement\": {\n \"enabled\": \"false\",\n \"value\": \"10 pm\"\n },\n \"secComm\": {\n \"enabled\": \"false\",\n \"value\": \"\"\n },\n \"signatureCap\": {\n \"enabled\": \"false\"\n },\n \"ebt\": {\n \"enabled\": \"false\"\n },\n \"promoText\": \"promoText\"\n },\n \"processorData\": [\n {\n \"mid\": null,\n \"mid1\": \"0000000845522\",\n \"vNumber\": null,\n \"vNumber1\": \"2354353\",\n \"storeNo\": null,\n \"storeNo1\": \"0002\",\n \"termNo\": null,\n \"termNo1\": \"0005\",\n \"association\": null,\n \"association1\": \"545503\",\n \"chain\": null,\n \"chain1\": \"545083\",\n \"agent\": null,\n \"agent1\": \"3831\",\n \"EbtNo\": null,\n \"EbtNo1\": \"7894562\",\n \"binnumber\": null,\n \"binnumber1\": \"424666\",\n \"agentBank\": null,\n \"agentBank1\": \"545000\",\n \"industry\": null,\n \"industry1\": \"Retail\",\n \"label\": \"Test\"\n }\n ]\n }\n ],\n \"selectedState\": \"NY\"\n }\n ],\n \"moduleList\": [\n 1,\n 2,\n 3,\n 5,\n 6,\n 15,\n 20,\n 19,\n 21\n ],\n \"selectedState\": \"NY\"\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/update");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""epi"": ""2204570398""," + "\n" +
@" ""newUserId"": ""9523""," + "\n" +
@" ""mp_id"": ""5875""," + "\n" +
@" ""store_id"": ""6898""," + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""legalName"": ""EL TRI MX RESTA""," + "\n" +
@" ""dbaName"": ""EL TRI MX RESTAU""," + "\n" +
@" ""firstName"": ""JUAN TE""," + "\n" +
@" ""lastName"": ""SAQUIPULLA DE""," + "\n" +
@" ""ownerName"": ""JUAN SAQUIPULLA FF""," + "\n" +
@" ""emailId"": ""[email protected]""," + "\n" +
@" ""mobileField"": ""5646531564""," + "\n" +
@" ""mobile"": ""7895461235""," + "\n" +
@" ""legalAddress"": ""nfhf""," + "\n" +
@" ""legalCity"": ""FlusDhing""," + "\n" +
@" ""legalState"": ""NY""," + "\n" +
@" ""legalCountry"": ""US""," + "\n" +
@" ""legalZipCode"": ""12354""," + "\n" +
@" ""legalTimezone"": ""CST""," + "\n" +
@" ""role"": ""10""," + "\n" +
@" ""userType"": ""4""," + "\n" +
@" ""isTxnAllowed"": ""1""," + "\n" +
@" ""businessType"": ""Retail""," + "\n" +
@" ""tin"": ""0""," + "\n" +
@" ""sicCode"": ""5814 - FAST FOOD RESTAURA""," + "\n" +
@" ""storeData"": [" + "\n" +
@" {" + "\n" +
@" ""id"": """"," + "\n" +
@" ""storeName"": ""Test Store""," + "\n" +
@" ""storeAddress"": ""Test Address""," + "\n" +
@" ""storeCity"": ""BRONX""," + "\n" +
@" ""storeState"": ""NY""," + "\n" +
@" ""storeCountry"": ""US""," + "\n" +
@" ""storeZipCode"": ""10461""," + "\n" +
@" ""storeTimezone"": ""EST""," + "\n" +
@" ""superVisorName"": ""Test""," + "\n" +
@" ""superVisorEmail"": ""[email protected]""," + "\n" +
@" ""superVisorContact"": ""5651324655""," + "\n" +
@" ""mccCode"": ""1750""," + "\n" +
@" ""selectedMCC"": ""1750 - CARPENTRY""," + "\n" +
@" ""descriptors"": [" + "\n" +
@" ""Test""" + "\n" +
@" ]," + "\n" +
@" ""epiData"": [" + "\n" +
@" {" + "\n" +
@" ""epi"": ""2204570398""," + "\n" +
@" ""device"": ""130""," + "\n" +
@" ""deviceType"": ""Desktop POS""," + "\n" +
@" ""processor"": ""1""," + "\n" +
@" ""epiLabel"": ""ValorPos 100""," + "\n" +
@" ""features"": {" + "\n" +
@" ""tip"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": [" + "\n" +
@" ""5""," + "\n" +
@" ""10""," + "\n" +
@" ""15""," + "\n" +
@" ""20""" + "\n" +
@" ]" + "\n" +
@" }," + "\n" +
@" ""paytable"": {" + "\n" +
@" ""enabled"": ""true""" + "\n" +
@" }," + "\n" +
@" ""surcharge"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""minValue"": ""4.0000""," + "\n" +
@" ""maxValue"": ""4.0000""" + "\n" +
@" }," + "\n" +
@" ""tax"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""0""" + "\n" +
@" }," + "\n" +
@" ""settlement"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""10 pm""" + "\n" +
@" }," + "\n" +
@" ""secComm"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": """"" + "\n" +
@" }," + "\n" +
@" ""signatureCap"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""ebt"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""promoText"": ""promoText""" + "\n" +
@" }," + "\n" +
@" ""processorData"": [" + "\n" +
@" {" + "\n" +
@" ""mid"": null," + "\n" +
@" ""mid1"": ""0000000845522""," + "\n" +
@" ""vNumber"": null," + "\n" +
@" ""vNumber1"": ""2354353""," + "\n" +
@" ""storeNo"": null," + "\n" +
@" ""storeNo1"": ""0002""," + "\n" +
@" ""termNo"": null," + "\n" +
@" ""termNo1"": ""0005""," + "\n" +
@" ""association"": null," + "\n" +
@" ""association1"": ""545503""," + "\n" +
@" ""chain"": null," + "\n" +
@" ""chain1"": ""545083""," + "\n" +
@" ""agent"": null," + "\n" +
@" ""agent1"": ""3831""," + "\n" +
@" ""EbtNo"": null," + "\n" +
@" ""EbtNo1"": ""7894562""," + "\n" +
@" ""binnumber"": null," + "\n" +
@" ""binnumber1"": ""424666""," + "\n" +
@" ""agentBank"": null," + "\n" +
@" ""agentBank1"": ""545000""," + "\n" +
@" ""industry"": null," + "\n" +
@" ""industry1"": ""Retail""," + "\n" +
@" ""label"": ""Test""" + "\n" +
@" }" + "\n" +
@" ]" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""moduleList"": [" + "\n" +
@" 1," + "\n" +
@" 2," + "\n" +
@" 3," + "\n" +
@" 5," + "\n" +
@" 6," + "\n" +
@" 15," + "\n" +
@" 20," + "\n" +
@" 19," + "\n" +
@" 21" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/update"
method := "POST"
payload := strings.NewReader(`{
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"id": "",
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/update")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"rollUp": "1",
"newUserId": "19341",
"mp_id": "10645",
"store_id": "11297",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test Store",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": nil,
"mid1": "0000000845522",
"vNumber": nil,
"vNumber1": "2354353",
"storeNo": nil,
"storeNo1": "0002",
"termNo": nil,
"termNo1": "0005",
"association": nil,
"association1": "545503",
"chain": nil,
"chain1": "545083",
"agent": nil,
"agent1": "3831",
"EbtNo": nil,
"EbtNo1": "7894562",
"binnumber": nil,
"binnumber1": "424666",
"agentBank": nil,
"agentBank1": "545000",
"industry": nil,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Merchant Updated Successfully",
"Mp_id": "5732",
"epiId": "2202599391",
"newUserId": "9230",
"StoreID": "6740",
"data": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
epi Number 12 Mandatory 2534698752 The unique id refers to a particular store of the merchant
newUserId Number 4 Mandatory 9523 It is the userid of the merchant to be updated
mp_id Number 4 Mandatory 5875 It is a merchant profile id which is respective to the particular merchant
store_id Number 4 Mandatory 6898 The unique id refers to a particular store of the merchant
passCode String 20 Mandatory [email protected]@2023 The password for the Submailid/mailId
mailid String 15 Mandatory [email protected] To board the new merchant user for the given mail id, and check
whether this mail id is present or not. eg:[email protected]
SubmailId String 15 Mandatory [email protected] To board a merchant under a particular sub office for the Valor admin login
legalName String 15 Mandatory valor CRM Parameter Max length is 15 char
dbaName String 15 Mandatory valor CRM API Store Max length is 15 char
firstName String 15 Mandatory Valor Boarding Max length is 15 char
lastName String 15 Mandatory CRM Max length is 15 char
ownerName String 15 Mandatory CRM Store Owner Boarded by name
emailId String 15 Mandatory [email protected] Valid email should be given
mobile String 10 Mandatory 9876543210 Mobile number of the merchant,max length is 10 digit
legalAddress String 25 Mandatory 123 New CRM Street max length 25 char
legalCity String 20 Mandatory New York max length is 20 char
legalState String 2 Mandatory NY State code with Two char
legalCountry String - Mandatory US default set as 'US'
legalZipCode Numeric 5 Mandatory 10006 maxlength is 5 digit
legalTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
userType Numeric 4 Mandatory 4 Should be '4' - user type for the merchant
isTxnAllowed Numeric 1 Mandatory 1 0 or 1 we will update based on merchant (only accept 0 and 1)
businessType String 10 Mandatory Oil Company/Automated Should be sent as business type
Fueling System
tin Numeric - Mandatory 1 Default set as '0' or set to 1
sicCode String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
storeName String 28 Mandatory CRM Store Max length 28 char
storeAddress String 25 Mandatory 123 New CRM Street Max length 25 char
storeCity String 30 Mandatory New York Max length 30 char
storeState String - Mandatory NY State code with Two char
storeCountry String 2 Mandatory US default set as 'US'
storeZipCode Number 5 Mandatory 10006 max length is 5 digit
storeTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
superVisorName String 15 Mandatory crmboarding Name of the supervisor
superVisorEmail Number 5 Mandatory [email protected] Valid email id should be given
superVisorContact Number 10 Mandatory 9876543210 manager contact number, max length is 10 digit
mccCode Number 4 Mandatory 5945 It should be 4 digit MCC
selectedMCC String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
descriptors String 25 Mandatory CRM Store It should be 25 chars
device Number - Mandatory 139 The model description of the device to be boarded for that
merchant. Have to pass the 'device_id'
ID DEVICE_MODEL
130 VL 100
174 VL 110
136 VL 500
139 Virtual Terminal/Ecommerce
207 VP 100
274 RCKT
deviceType String - Mandatory Soft Pos The type description of the device / terminal Possible Options
Desktop POS
Smart POS
Soft POS
Handheld POS
processor Number - Mandatory 1 or 2 The processor which supports the merchant to be specified in this field, 1
ProcessorID should be mentioned (Tsys - 1, FD - 2)
epiLabel String 15 Mandatory Ground floor terminal Label description for the device /terminal. Max length 15 char
1 or Valor VT
mid Number 12 Mandatory 000000123456( Tsys ) Merchant id related to the surcharge profile. If the epi is to be boarded
on Traditional profile set it as "null" (Tsys - 12 Fd omaha - 15)
mid1 Number 12 Mandatory Merchant id related to the traditional profile. If the epi is to be boarded
on surcharge Profile sets it as "null"
vNumber Number 8 Mandatory 71234567 vNumber mapped to the particular device / terminal in surcharge profile.
If the epi is to be boarded on Traditional profile set it as "null"
vNumber1 Number 8 Mandatory vNumber mapped to the particular device / terminal in traditional profile.
If the epi is to be boarded on a Surcharge profile, set it as "null"
storeNo Number 4 Mandatory 1234 store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
storeNo1 Number 4 Mandatory store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo Number 4 Mandatory 5678 Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo1 Number 4 Mandatory Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
association Number 6 Mandatory 987654 Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
association1 Number 6 Mandatory Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain Number 6 Mandatory 987654 Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain1 Number 6 Mandatory Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent Number 4 Mandatory 1001 Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent1 Number 4 Mandatory Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo Number 7 Mandatory 1234567 Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo1 Number 7 Mandatory Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber Number 6 Mandatory 654321 bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber1 Number 6 Mandatory bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank Number 6 Mandatory 987654 Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank1 Number 6 Mandatory Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
industry String - Mandatory Retail The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
industry1 String - Mandatory The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
surcharge Number 5 Mandatory 4.0000 Additional fee ( surchanrge percentage mandatory for cash discount)
Percentage
label Number - Mandatory CRM Store The storename on which the device/terminal created is mapped on this field
selectedState String 2 Mandatory NY The State which is selected to be sent on it with the State code. eg: NY-for new york
s4f Number 1 Mandatory 1 1 (sf4) or 2 (traditional)
processor Numeber 1 Mandatory 1 Select the processor (Tsys, FD-Omaha)
Merchant Delete
This API completely deletes the Merchant profile from Valor Portal. We delete one Merchant, we send a Merchant Id (Mp Id). If we delete the Merchant, we need to have a Merchant Profile Id (Mp Id).
https://demo.valorpaytech.com:443/api/Valor/delete
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/delete',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"userName":"ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "25627"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"passCode": "[email protected]",
"userName":"ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]com",
"mp_id": "25627"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/delete", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"userName":"ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "25627"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/delete',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/delete");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"passCode\": \"[email protected]\",\n \"userName\": \"ddd32432\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"mp_id\": \"25627\"\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/delete");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""userName"": ""ddd32432""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""mp_id"": ""25627""" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/delete"
method := "POST"
payload := strings.NewReader(`{
"passCode": "[email protected]",
"userName":"ddd32432"
"mailId": "[email protected]",
"SubmailId": "[email protected]com",
"mp_id": "25627"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/delete")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"userName":"ddd32432"
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "25627"
})
response = https.request(request)
puts response.read_body
Response
{
"status": true,
"message": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
passcode String 20 Mandatory [email protected]@2023 The password of the office login on which the merchant to be boarded.
userName String 20 Mandatory ddd32432 The username of the office login on which the merchant to be boarded.
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office.
mp_id Number 4 Mandatory 25627 It is a merchant profile id which is respective to the particular merchant
Merchant View
This API use for the completely get all the Merchant details
https://demo.valorpaytech.com:443/api/Valor/getepidetails
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com/api/Valor/getepidetails',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "4033",
"epi": ""
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com")
payload = json.dumps({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "4033",
"epi": ""
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/getepidetails", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Response
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "4033",
"epi": ""
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com/api/Valor/getepidetails',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com/api/Valor/getepidetails");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"passCode\": \"[email protected]\",\r\n \"mailId\": \"[email protected]\",\r\n \"SubmailId\": \"[email protected]\",\r\n \"mp_id\": \"4033\",\r\n \"epi\": \"\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com/api/Valor/getepidetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""passCode"": ""[email protected]"",
" + "\n" +
@" ""mailId"": ""[email protected]"",
" + "\n" +
@" ""SubmailId"": ""[email protected]"",
" + "\n" +
@" ""mp_id"": ""4033"",
" + "\n" +
@" ""epi"": """"
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com/api/Valor/getepidetails"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"passCode": "[email protected]",`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"mp_id": "4033",`+"
"+`
"epi": ""`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com/api/Valor/getepidetails")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "4033",
"epi": ""
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Success",
"data": {
"id": 4033,
"userId": 6137,
"parentId": 6135,
"dbaName": "Kerala Cafe ",
"legalName": "Kerala Cafe ",
"firstName": "Mr",
"lastName": "Kerala ",
"ownerName": "",
"emailId": "[email protected]",
"mobile": "9042900550",
"legalAddress": "Test Address",
"legalCity": "SCHENECTADY",
"legalState": "49",
"selectedState": "49",
"legalCountry": "US",
"legalZipCode": "12345",
"legalTimezone": "EST",
"logo": null,
"role": 10,
"userType": 4,
"isTxnAllowed": 0,
"businessType": "10",
"tin": 0,
"sicCode": "sicCode",
"storeData": [
{
"id": 4793,
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "SCHENECTADY",
"storeState": "49",
"selectedState": "XX - India",
"storeCountry": "US",
"storeZipCode": "12345",
"storeTimezone": "EST",
"superVisorName": "Mr Kerala ",
"superVisorEmail": "[email protected]",
"superVisorContact": "9944871767",
"mccCode": "4814",
"selectedMCC": "4814 - TELECOMMUNICATION SERVICE INCLUDING LOCAL & LONG DISTANCE CALLS-FAX SERVICES - CREDIT CARD CA",
"epiData": [
{
"id": 4877,
"epi": "2025040933",
"device": 174,
"deviceType": "Handheld POS",
"processor": 1,
"epiLabel": "1.00Flt(0.00AM)",
"features": {},
"processorData": [
{
"mid": "887000003192",
"mid1": "",
"vNumber": "75021672",
"vNumber1": "",
"storeNo": "5999",
"storeNo1": "",
"termNo": "1515",
"termNo1": "",
"association": "",
"association1": "",
"chain": "545454",
"chain1": "",
"agent": "0001",
"agent1": "",
"EbtNo": "",
"EbtNo1": "",
"binnumber": "999991",
"binnumber1": "",
"agentBank": "000000",
"agentBank1": "",
"industry": "Retail",
"industry1": "",
"surchargePercentage": "1.00",
"mid3": "",
"termNo3": "",
"location_id": "",
"client_key": "",
"c_name": "",
"label": "Hercules-Corona Borealis",
"id": 5297,
"c_name3": 1,
"c_nameFD3": "",
"tid3": "611525",
"tidFD3": "",
"clientID": "45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69",
"clientID_FD": "",
"clientID_FDCard": "",
"clientID_FDBuy": "",
"clientID_FDNash": "",
"surchargeIndicator": 1,
"EBTfood": 0,
"EBTcash": 0,
"EBTfood1": 0,
"EBTcash1": 0
}
]
},
{
"id": 6449,
"epi": "2103814439",
"device": 174,
"deviceType": "Handheld POS",
"processor": 2,
"epiLabel": "Device6",
"features": {},
"processorData": [
{
"groupId": 40001,
"groupId1": 40001,
"midFD": "RCTST0000050637",
"midFD1": "RCTST0000050639",
"termNoFD": "00000001",
"termNoFD1": "0000001",
"EbtNoFD": "6546546",
"EbtNoFD1": "6546546",
"website": "876678.com",
"website1": "876678.com",
"surchargePercentage": "0.070",
"tidFD3": "611525",
"c_nameFD3": 1,
"label": "Kerala Cafe ",
"id": 6893,
"clientID": "",
"clientID_FD": "",
"clientID_FDCard": "",
"clientID_FDBuy": "",
"clientID_FDNash": "",
"EBTfood1": 1,
"EBTcash1": 1,
"EBTfood": 1,
"EBTcash": 1
}
]
},
{
"id": 6455,
"epi": "2104074885",
"device": 174,
"deviceType": "Handheld POS",
"processor": 3,
"epiLabel": "Device8",
"features": {},
"processorData": [
{
"midFDCard": "",
"midFDCard1": "RCTST0000057475",
"EbtNoFDCard": "012345",
"EbtNoFDCard1": "012345",
"groupIdFDCard": "",
"groupIdFDCard1": 30001,
"termNoFDCard": "",
"termNoFDCard1": "00000001",
"websiteFDCard": "",
"websiteFDCard1": "www.isoaccess.com",
"surchargePercentage": "4.000",
"c_nameFDCard3": 1,
"tidFDCard3": "",
"label": "Kerala Cafe ",
"id": 6899,
"clientID": "",
"clientID_FD": "",
"clientID_FDCard": "",
"clientID_FDBuy": "",
"clientID_FDNash": "",
"EBTfood": 1,
"EBTcash": 1,
"EBTfood1": 1,
"EBTcash1": 1
}
]
}
]
}
]
}
}
Field Type Length Mandatory/Optional Example Value Description
passcode String 20 Mandatory [email protected]@2023 The password of the office login on which the merchant to be boarded.
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office.
mp_id Number 4 Mandatory 25627 It is a merchant profile id which is respective to the particular merchant
epi Number 10 Mandatory 2541689752 The unique id refers to a particular store of the merchant
Merchant Status
Same as CheckEpi, we need to add the one more parameter Merchant Id (Mp Id ). This API is use full to cross check the Merchant status.
https://demo.valorpaytech.com:443/api/Valor/statusUpdate
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/statusUpdate',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"merchantIds": [6683],
"action":"activate"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"SubmailId": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"merchantIds": [
6683
],
"action": "activate"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/statusUpdate", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"merchantIds": [
6683
],
"action": "activate"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/statusUpdate',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/statusUpdate");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"passCode\": \"[email protected]\",\r\n \"mailId\": \"[email protected]\",\r\n \"SubmailId\": \"[email protected]\",\r\n \"merchantIds\": [6683],\r\n \"action\":\"activate\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/statusUpdate");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""passCode"": ""[email protected]"",
" + "\n" +
@" ""mailId"": ""[email protected]"",
" + "\n" +
@" ""SubmailId"": ""[email protected]"",
" + "\n" +
@" ""merchantIds"": [6683],
" + "\n" +
@" ""action"":""activate""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/statusUpdate"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"passCode": "[email protected]",`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"merchantIds": [6683],`+"
"+`
"action":"activate"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/statusUpdate")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"merchantIds": [
6683
],
"action": "activate"
})
response = https.request(request)
puts response.read_body
{
"status": "OK",
"message": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
merchantIds Number 4 Mandatory 6683 The merchantIds of the office login on which the merchant to be boarded
passcode String 20 Mandatory [email protected]@2023 The password of the office login on which the merchant to be boarded.
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office.
action String 10 Mandatory activate The unique id refers to a particular store of the merchant
Merchant View All
To get the merchant report for using Merchant userId
https://demo.valorpaytech.com:443/api/Valor/getIsoReport
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/ValorCRM/getIsoReport',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"userId": "2983",
"currentMonth": "04-2022",
"lastMonth":"03-2022"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"userId": "2983",
"currentMonth": "04-2022",
"lastMonth": "03-2022"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/ValorCRM/getIsoReport", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"userId": "2983",
"currentMonth": "04-2022",
"lastMonth": "03-2022"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/ValorCRM/getIsoReport',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/ValorCRM/getIsoReport");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"userId\": \"2983\",\r\n \"currentMonth\": \"04-2022\",\r\n \"lastMonth\":\"03-2022\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/ValorCRM/getIsoReport");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""userId"": ""2983"",
" + "\n" +
@" ""currentMonth"": ""04-2022"",
" + "\n" +
@" ""lastMonth"":""03-2022""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/ValorCRM/getIsoReport"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"userId": "2983",`+"
"+`
"currentMonth": "04-2022",`+"
"+`
"lastMonth":"03-2022"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/ValorCRM/getIsoReport")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"userId": "2983",
"currentMonth": "04-2022",
"lastMonth": "03-2022"
})
response = https.request(request)
puts response.read_body
{
"status": "OK",
"message": "Success",
"data": [
{
"UserType_Id": 4,
"Cust_ID": 264,
"txn_netAmount_MTD": 760680,
"txn_totalCount_MTD": 50,
"txn_netAmount_LTD": 478133,
"txn_totalCount_LTD": 13,
"epi_active_count": 0,
"epi_remove_count": 0,
"epi_total_count": 36,
"txn_netAmount_MTD_NON_VT": 712600,
"txn_totalCount_MTD_NON_VT": 43,
"txn_netAmount_MTD_VT": 48080,
"txn_totalCount_MTD_VT": 7,
"txn_netAmount_LTD_NON_VT": 122312973,
"txn_totalCount_LTD_NON_VT": 5257,
"txn_Amount_LTD_VT": 478133,
"txn_Count_LTD_VT": 13
}
]
}
Field Type Length Mandatory/Optional Example Value Description
userId Number 20 Mandatory 2983 It is the userid of the merchant to be updated
currentMonth String 10 Mandatory 04-2022 MM-YYYY
lastMonth String 10 Mandatory 03-2022 MM-YYYY
Merchant Add Store
Same as Merchant add Parameter. For add a new store under the existing Merchant, we need to add the Merchant Id, User Id (if already we have ). We use the existing valor details and add the one more equipment's and store under that Merchant.
https://demo.valorpaytech.com:443/api/Valor/update
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/update',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]ail.com",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
},
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": None,
"mid1": "0000000845522",
"vNumber": None,
"vNumber1": "2354353",
"storeNo": None,
"storeNo1": "0002",
"termNo": None,
"termNo1": "0005",
"association": None,
"association1": "545503",
"chain": None,
"chain1": "545083",
"agent": None,
"agent1": "3831",
"EbtNo": None,
"EbtNo1": "7894562",
"binnumber": None,
"binnumber1": "424666",
"agentBank": None,
"agentBank1": "545000",
"industry": None,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
},
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": None,
"mid1": "0000000845522",
"vNumber": None,
"vNumber1": "2354353",
"storeNo": None,
"storeNo1": "0002",
"termNo": None,
"termNo1": "0005",
"association": None,
"association1": "545503",
"chain": None,
"chain1": "545083",
"agent": None,
"agent1": "3831",
"EbtNo": None,
"EbtNo1": "7894562",
"binnumber": None,
"binnumber1": "424666",
"agentBank": None,
"agentBank1": "545000",
"industry": None,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/update", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]protonmail.com",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
},
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/update',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/update");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"epi\": \"2204570398\",\n \"newUserId\": \"9523\",\n \"mp_id\": \"5875\",\n \"store_id\": \"6898\",\n \"passCode\": \"[email protected]\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"legalName\": \"EL TRI MX RESTA\",\n \"dbaName\": \"EL TRI MX RESTAU\",\n \"firstName\": \"JUAN TE\",\n \"lastName\": \"SAQUIPULLA DE\",\n \"ownerName\": \"JUAN SAQUIPULLA FF\",\n \"emailId\": \"[email protected]\",\n \"mobileField\": \"5646531564\",\n \"mobile\": \"7895461235\",\n \"legalAddress\": \"nfhf\",\n \"legalCity\": \"FlusDhing\",\n \"legalState\": \"NY\",\n \"legalCountry\": \"US\",\n \"legalZipCode\": \"12354\",\n \"legalTimezone\": \"CST\",\n \"role\": \"10\",\n \"userType\": \"4\",\n \"isTxnAllowed\": \"1\",\n \"businessType\": \"Retail\",\n \"tin\": \"0\",\n \"sicCode\": \"5814 - FAST FOOD RESTAURA\",\n \"storeData\": [\n {\n \"storeName\": \"Test Store\",\n \"storeAddress\": \"Test Address\",\n \"storeCity\": \"BRONX\",\n \"storeState\": \"NY\",\n \"storeCountry\": \"US\",\n \"storeZipCode\": \"10461\",\n \"storeTimezone\": \"EST\",\n \"superVisorName\": \"Test\",\n \"superVisorEmail\": \"[email protected]\",\n \"superVisorContact\": \"5651324655\",\n \"mccCode\": \"1750\",\n \"selectedMCC\": \"1750 - CARPENTRY\",\n \"descriptors\": [\n \"Test\"\n ],\n \"epiData\": [\n {\n \"device\": \"130\",\n \"deviceType\": \"Desktop POS\",\n \"processor\": \"1\",\n \"epiLabel\": \"ValorPos 100\",\n \"features\": {\n \"tip\": {\n \"enabled\": \"false\",\n \"value\": [\n \"5\",\n \"10\",\n \"15\",\n \"20\"\n ]\n },\n \"paytable\": {\n \"enabled\": \"true\"\n },\n \"surcharge\": {\n \"enabled\": \"false\",\n \"minValue\": \"4.0000\",\n \"maxValue\": \"4.0000\"\n },\n \"tax\": {\n \"enabled\": \"false\",\n \"value\": \"0\"\n },\n \"settlement\": {\n \"enabled\": \"false\",\n \"value\": \"10 pm\"\n },\n \"secComm\": {\n \"enabled\": \"false\",\n \"value\": \"\"\n },\n \"signatureCap\": {\n \"enabled\": \"false\"\n },\n \"ebt\": {\n \"enabled\": \"false\"\n },\n \"promoText\": \"promoText\"\n },\n \"processorData\": [\n {\n \"mid\": null,\n \"mid1\": \"0000000845522\",\n \"vNumber\": null,\n \"vNumber1\": \"2354353\",\n \"storeNo\": null,\n \"storeNo1\": \"0002\",\n \"termNo\": null,\n \"termNo1\": \"0005\",\n \"association\": null,\n \"association1\": \"545503\",\n \"chain\": null,\n \"chain1\": \"545083\",\n \"agent\": null,\n \"agent1\": \"3831\",\n \"EbtNo\": null,\n \"EbtNo1\": \"7894562\",\n \"binnumber\": null,\n \"binnumber1\": \"424666\",\n \"agentBank\": null,\n \"agentBank1\": \"545000\",\n \"industry\": null,\n \"industry1\": \"Retail\",\n \"label\": \"Test\"\n }\n ]\n }\n ],\n \"selectedState\": \"NY\"\n },\n {\n \"storeName\": \"Test Store\",\n \"storeAddress\": \"Test Address\",\n \"storeCity\": \"BRONX\",\n \"storeState\": \"NY\",\n \"storeCountry\": \"US\",\n \"storeZipCode\": \"10461\",\n \"storeTimezone\": \"EST\",\n \"superVisorName\": \"Test\",\n \"superVisorEmail\": \"[email protected]\",\n \"superVisorContact\": \"5651324655\",\n \"mccCode\": \"1750\",\n \"selectedMCC\": \"1750 - CARPENTRY\",\n \"descriptors\": [\n \"Test\"\n ],\n \"epiData\": [\n {\n \"device\": \"130\",\n \"deviceType\": \"Desktop POS\",\n \"processor\": \"1\",\n \"epiLabel\": \"ValorPos 100\",\n \"features\": {\n \"tip\": {\n \"enabled\": \"false\",\n \"value\": [\n \"5\",\n \"10\",\n \"15\",\n \"20\"\n ]\n },\n \"paytable\": {\n \"enabled\": \"true\"\n },\n \"surcharge\": {\n \"enabled\": \"false\",\n \"minValue\": \"4.0000\",\n \"maxValue\": \"4.0000\"\n },\n \"tax\": {\n \"enabled\": \"false\",\n \"value\": \"0\"\n },\n \"settlement\": {\n \"enabled\": \"false\",\n \"value\": \"10 pm\"\n },\n \"secComm\": {\n \"enabled\": \"false\",\n \"value\": \"\"\n },\n \"signatureCap\": {\n \"enabled\": \"false\"\n },\n \"ebt\": {\n \"enabled\": \"false\"\n },\n \"promoText\": \"promoText\"\n },\n \"processorData\": [\n {\n \"mid\": null,\n \"mid1\": \"0000000845522\",\n \"vNumber\": null,\n \"vNumber1\": \"2354353\",\n \"storeNo\": null,\n \"storeNo1\": \"0002\",\n \"termNo\": null,\n \"termNo1\": \"0005\",\n \"association\": null,\n \"association1\": \"545503\",\n \"chain\": null,\n \"chain1\": \"545083\",\n \"agent\": null,\n \"agent1\": \"3831\",\n \"EbtNo\": null,\n \"EbtNo1\": \"7894562\",\n \"binnumber\": null,\n \"binnumber1\": \"424666\",\n \"agentBank\": null,\n \"agentBank1\": \"545000\",\n \"industry\": null,\n \"industry1\": \"Retail\",\n \"label\": \"Test\"\n }\n ]\n }\n ],\n \"selectedState\": \"NY\"\n }\n ],\n \"moduleList\": [\n 1,\n 2,\n 3,\n 5,\n 6,\n 15,\n 20,\n 19,\n 21\n ],\n \"selectedState\": \"NY\"\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/update");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""epi"": ""2204570398""," + "\n" +
@" ""newUserId"": ""9523""," + "\n" +
@" ""mp_id"": ""5875""," + "\n" +
@" ""store_id"": ""6898""," + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""legalName"": ""EL TRI MX RESTA""," + "\n" +
@" ""dbaName"": ""EL TRI MX RESTAU""," + "\n" +
@" ""firstName"": ""JUAN TE""," + "\n" +
@" ""lastName"": ""SAQUIPULLA DE""," + "\n" +
@" ""ownerName"": ""JUAN SAQUIPULLA FF""," + "\n" +
@" ""emailId"": ""[email protected]""," + "\n" +
@" ""mobileField"": ""5646531564""," + "\n" +
@" ""mobile"": ""7895461235""," + "\n" +
@" ""legalAddress"": ""nfhf""," + "\n" +
@" ""legalCity"": ""FlusDhing""," + "\n" +
@" ""legalState"": ""NY""," + "\n" +
@" ""legalCountry"": ""US""," + "\n" +
@" ""legalZipCode"": ""12354""," + "\n" +
@" ""legalTimezone"": ""CST""," + "\n" +
@" ""role"": ""10""," + "\n" +
@" ""userType"": ""4""," + "\n" +
@" ""isTxnAllowed"": ""1""," + "\n" +
@" ""businessType"": ""Retail""," + "\n" +
@" ""tin"": ""0""," + "\n" +
@" ""sicCode"": ""5814 - FAST FOOD RESTAURA""," + "\n" +
@" ""storeData"": [" + "\n" +
@" {" + "\n" +
@" ""storeName"": ""Test Store""," + "\n" +
@" ""storeAddress"": ""Test Address""," + "\n" +
@" ""storeCity"": ""BRONX""," + "\n" +
@" ""storeState"": ""NY""," + "\n" +
@" ""storeCountry"": ""US""," + "\n" +
@" ""storeZipCode"": ""10461""," + "\n" +
@" ""storeTimezone"": ""EST""," + "\n" +
@" ""superVisorName"": ""Test""," + "\n" +
@" ""superVisorEmail"": ""[email protected]""," + "\n" +
@" ""superVisorContact"": ""5651324655""," + "\n" +
@" ""mccCode"": ""1750""," + "\n" +
@" ""selectedMCC"": ""1750 - CARPENTRY""," + "\n" +
@" ""descriptors"": [" + "\n" +
@" ""Test""" + "\n" +
@" ]," + "\n" +
@" ""epiData"": [" + "\n" +
@" {" + "\n" +
@" ""device"": ""130""," + "\n" +
@" ""deviceType"": ""Desktop POS""," + "\n" +
@" ""processor"": ""1""," + "\n" +
@" ""epiLabel"": ""ValorPos 100""," + "\n" +
@" ""features"": {" + "\n" +
@" ""tip"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": [" + "\n" +
@" ""5""," + "\n" +
@" ""10""," + "\n" +
@" ""15""," + "\n" +
@" ""20""" + "\n" +
@" ]" + "\n" +
@" }," + "\n" +
@" ""paytable"": {" + "\n" +
@" ""enabled"": ""true""" + "\n" +
@" }," + "\n" +
@" ""surcharge"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""minValue"": ""4.0000""," + "\n" +
@" ""maxValue"": ""4.0000""" + "\n" +
@" }," + "\n" +
@" ""tax"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""0""" + "\n" +
@" }," + "\n" +
@" ""settlement"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""10 pm""" + "\n" +
@" }," + "\n" +
@" ""secComm"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": """"" + "\n" +
@" }," + "\n" +
@" ""signatureCap"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""ebt"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""promoText"": ""promoText""" + "\n" +
@" }," + "\n" +
@" ""processorData"": [" + "\n" +
@" {" + "\n" +
@" ""mid"": null," + "\n" +
@" ""mid1"": ""0000000845522""," + "\n" +
@" ""vNumber"": null," + "\n" +
@" ""vNumber1"": ""2354353""," + "\n" +
@" ""storeNo"": null," + "\n" +
@" ""storeNo1"": ""0002""," + "\n" +
@" ""termNo"": null," + "\n" +
@" ""termNo1"": ""0005""," + "\n" +
@" ""association"": null," + "\n" +
@" ""association1"": ""545503""," + "\n" +
@" ""chain"": null," + "\n" +
@" ""chain1"": ""545083""," + "\n" +
@" ""agent"": null," + "\n" +
@" ""agent1"": ""3831""," + "\n" +
@" ""EbtNo"": null," + "\n" +
@" ""EbtNo1"": ""7894562""," + "\n" +
@" ""binnumber"": null," + "\n" +
@" ""binnumber1"": ""424666""," + "\n" +
@" ""agentBank"": null," + "\n" +
@" ""agentBank1"": ""545000""," + "\n" +
@" ""industry"": null," + "\n" +
@" ""industry1"": ""Retail""," + "\n" +
@" ""label"": ""Test""" + "\n" +
@" }" + "\n" +
@" ]" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@" }," + "\n" +
@" {" + "\n" +
@" ""storeName"": ""Test Store""," + "\n" +
@" ""storeAddress"": ""Test Address""," + "\n" +
@" ""storeCity"": ""BRONX""," + "\n" +
@" ""storeState"": ""NY""," + "\n" +
@" ""storeCountry"": ""US""," + "\n" +
@" ""storeZipCode"": ""10461""," + "\n" +
@" ""storeTimezone"": ""EST""," + "\n" +
@" ""superVisorName"": ""Test""," + "\n" +
@" ""superVisorEmail"": ""[email protected]""," + "\n" +
@" ""superVisorContact"": ""5651324655""," + "\n" +
@" ""mccCode"": ""1750""," + "\n" +
@" ""selectedMCC"": ""1750 - CARPENTRY""," + "\n" +
@" ""descriptors"": [" + "\n" +
@" ""Test""" + "\n" +
@" ]," + "\n" +
@" ""epiData"": [" + "\n" +
@" {" + "\n" +
@" ""device"": ""130""," + "\n" +
@" ""deviceType"": ""Desktop POS""," + "\n" +
@" ""processor"": ""1""," + "\n" +
@" ""epiLabel"": ""ValorPos 100""," + "\n" +
@" ""features"": {" + "\n" +
@" ""tip"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": [" + "\n" +
@" ""5""," + "\n" +
@" ""10""," + "\n" +
@" ""15""," + "\n" +
@" ""20""" + "\n" +
@" ]" + "\n" +
@" }," + "\n" +
@" ""paytable"": {" + "\n" +
@" ""enabled"": ""true""" + "\n" +
@" }," + "\n" +
@" ""surcharge"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""minValue"": ""4.0000""," + "\n" +
@" ""maxValue"": ""4.0000""" + "\n" +
@" }," + "\n" +
@" ""tax"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""0""" + "\n" +
@" }," + "\n" +
@" ""settlement"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""10 pm""" + "\n" +
@" }," + "\n" +
@" ""secComm"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": """"" + "\n" +
@" }," + "\n" +
@" ""signatureCap"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""ebt"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""promoText"": ""promoText""" + "\n" +
@" }," + "\n" +
@" ""processorData"": [" + "\n" +
@" {" + "\n" +
@" ""mid"": null," + "\n" +
@" ""mid1"": ""0000000845522""," + "\n" +
@" ""vNumber"": null," + "\n" +
@" ""vNumber1"": ""2354353""," + "\n" +
@" ""storeNo"": null," + "\n" +
@" ""storeNo1"": ""0002""," + "\n" +
@" ""termNo"": null," + "\n" +
@" ""termNo1"": ""0005""," + "\n" +
@" ""association"": null," + "\n" +
@" ""association1"": ""545503""," + "\n" +
@" ""chain"": null," + "\n" +
@" ""chain1"": ""545083""," + "\n" +
@" ""agent"": null," + "\n" +
@" ""agent1"": ""3831""," + "\n" +
@" ""EbtNo"": null," + "\n" +
@" ""EbtNo1"": ""7894562""," + "\n" +
@" ""binnumber"": null," + "\n" +
@" ""binnumber1"": ""424666""," + "\n" +
@" ""agentBank"": null," + "\n" +
@" ""agentBank1"": ""545000""," + "\n" +
@" ""industry"": null," + "\n" +
@" ""industry1"": ""Retail""," + "\n" +
@" ""label"": ""Test""" + "\n" +
@" }" + "\n" +
@" ]" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""moduleList"": [" + "\n" +
@" 1," + "\n" +
@" 2," + "\n" +
@" 3," + "\n" +
@" 5," + "\n" +
@" 6," + "\n" +
@" 15," + "\n" +
@" 20," + "\n" +
@" 19," + "\n" +
@" 21" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/update"
method := "POST"
payload := strings.NewReader(`{
"epi": "2204570398",
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
},
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/update")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"rollUp": "1",
"newUserId": "19341",
"mp_id": "10645",
"store_id": "11297",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": nil,
"mid1": "0000000845522",
"vNumber": nil,
"vNumber1": "2354353",
"storeNo": nil,
"storeNo1": "0002",
"termNo": nil,
"termNo1": "0005",
"association": nil,
"association1": "545503",
"chain": nil,
"chain1": "545083",
"agent": nil,
"agent1": "3831",
"EbtNo": nil,
"EbtNo1": "7894562",
"binnumber": nil,
"binnumber1": "424666",
"agentBank": nil,
"agentBank1": "545000",
"industry": nil,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Merchant Updated Successfully",
"Mp_id": "5732",
"epiId": "2202554491",
"newUserId": "9230",
"StoreID": "",
"data": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
epi Number 12 Mandatory 2534698752 The unique id refers to a particular store of the merchant
newUserId Number 4 Mandatory 9523 It is the userid of the merchant to be updated
mp_id Number 4 Mandatory 5875 It is a merchant profile id which is respective to the particular merchant
store_id Number 4 Mandatory 6898 The unique id refers to a particular store of the merchant
passCode String 20 Mandatory [email protected]@2023 The password for the Submailid/mailId
mailid String 15 Mandatory [email protected] To board the new merchant user for the given mail id, and check
whether this mail id is present or not. eg:[email protected]
SubmailId String 15 Mandatory [email protected] To board a merchant under a particular sub office for the Valor admin login
legalName String 15 Mandatory valor CRM Parameter Max length is 15 char
dbaName String 15 Mandatory valor CRM API Store Max length is 15 char
firstName String 15 Mandatory Valor Boarding Max length is 15 char
lastName String 15 Mandatory CRM Max length is 15 char
ownerName String 15 Mandatory CRM Store Owner Boarded by name
emailId String 15 Mandatory [email protected] Valid email should be given
mobile String 10 Mandatory 9876543210 Mobile number of the merchant,max length is 10 digit
legalAddress String 25 Mandatory 123 New CRM Street max length 25 char
legalCity String 20 Mandatory New York max length is 20 char
legalState String 2 Mandatory NY State code with Two char
legalCountry String - Mandatory US default set as 'US'
legalZipCode Numeric 5 Mandatory 10006 maxlength is 5 digit
legalTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
userType Numeric 4 Mandatory 4 Should be '4' - user type for the merchant
isTxnAllowed Numeric 1 Mandatory 1 0 or 1 we will update based on merchant (only accept 0 and 1)
businessType String 10 Mandatory Oil Company/Automated Should be sent as business type
Fueling System
tin Numeric - Mandatory 1 Default set as '0' or set to 1
sicCode String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
storeName String 28 Mandatory CRM Store Max length 28 char
storeAddress String 25 Mandatory 123 New CRM Street Max length 25 char
storeCity String 30 Mandatory New York Max length 30 char
storeState String - Mandatory NY State code with Two char
storeCountry String 2 Mandatory US default set as 'US'
storeZipCode Number 5 Mandatory 10006 max length is 5 digit
storeTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
superVisorName String 15 Mandatory crmboarding Name of the supervisor
superVisorEmail Number 5 Mandatory [email protected] Valid email id should be given
superVisorContact Number 10 Mandatory 9876543210 manager contact number, max length is 10 digit
mccCode Number 4 Mandatory 5945 It should be 4 digit MCC
selectedMCC String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
descriptors String 25 Mandatory CRM Store It should be 25 chars
device Number - Mandatory 139 The model description of the device to be boarded for that
merchant. Have to pass the 'device_id'
ID DEVICE_MODEL
130 VL 100
174 VL 110
136 VL 500
139 Virtual Terminal/Ecommerce
207 VP 100
274 RCKT
deviceType String - Mandatory Soft Pos The type description of the device / terminal Possible Options
Desktop POS
Smart POS
Soft POS
Handheld POS
processor Number - Mandatory 1 The processor which supports the merchant to be specified in this field, 1
ProcessorID should be mentioned
epiLabel String 15 Mandatory Ground floor terminal Label description for the device /terminal. Max length 15 char
1 or Valor VT
mid Number 12 Mandatory 000000123456( Tsys ) Merchant id related to the surcharge profile. If the epi is to be boarded
on Traditional profile set it as "null" (Tsys - 12 Fd omaha - 15)
mid1 Number 12 Mandatory Merchant id related to the traditional profile. If the epi is to be boarded
on surcharge Profile sets it as "null"
vNumber Number 8 Mandatory 71234567 vNumber mapped to the particular device / terminal in surcharge profile.
If the epi is to be boarded on Traditional profile set it as "null"
vNumber1 Number 8 Mandatory vNumber mapped to the particular device / terminal in traditional profile.
If the epi is to be boarded on a Surcharge profile, set it as "null"
storeNo Number 4 Mandatory 1234 store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
storeNo1 Number 4 Mandatory store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo Number 4 Mandatory 5678 Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo1 Number 4 Mandatory Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
association Number 6 Mandatory 987654 Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
association1 Number 6 Mandatory Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain Number 6 Mandatory 987654 Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain1 Number 6 Mandatory Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent Number 4 Mandatory 1001 Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent1 Number 4 Mandatory Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo Number 7 Mandatory 1234567 Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo1 Number 7 Mandatory Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber Number 6 Mandatory 654321 bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber1 Number 6 Mandatory bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank Number 6 Mandatory 987654 Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank1 Number 6 Mandatory Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
industry String - Mandatory Retail The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
industry1 String - Mandatory The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
surcharge Number 5 Mandatory 4.0000 Additional fee ( surchanrge percentage mandatory for cash discount)
Percentage
label Number - Mandatory CRM Store The storename on which the device/terminal created is mapped on this field
selectedState String 2 Mandatory NY The State which is selected to be sent on it with the State code. eg: NY-for new york
s4f Number 1 Mandatory 1 1 (sf4) or 2 (traditional)
processor Numeber 1 Mandatory 1 Select the processor (Tsys, FD-Omaha)
Merchant Delete Store
This API deletes the particular store, because one Merchant has 'N' number of store, if we want to delete a store under the Merchant. Need to send a Store id (if already we have ).
https://demo.valorpaytech.com:443/api/Valor/deletestore
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/deletestore',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"userName": "ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"store_id": [
6898
]
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"passCode": "[email protected]",
"userName": "ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"store_id": [
6898
]
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/deletestore", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"userName": "ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"store_id": [
6898
]
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/deletestore',
headers: {
'Content-Type': 'application/json'
},
data : data
};
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/deletestore");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"passCode\": \"[email protected]\",\n \"userName\": \"ddd32432\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"store_id\": [\n 6898\n ]\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/deletestore");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""userName"": ""ddd32432""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""store_id"": [" + "\n" +
@" 6898" + "\n" +
@" ]" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/deletestore"
method := "POST"
payload := strings.NewReader(`{
"passCode": "[email protected]",
"userName": "ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"store_id": [
6898
]
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/deletestore")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"userName": "ddd32432",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"store_id": [
6898
]
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
userName String 25 Mandatory dd1243x The username of the office login on which the merchant to be boarded
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
Store_id Numeric 4 Mandatory 6898 The unique id refers to a particular store of the merchant
Merchant EPI Add
Same as Merchant add parameter, for add a new equipment under the Existing Merchant -> Store . We need to add the Merchant Id, Store Id ,User Id (if already we have ). We use the existing valor details and add one more type (same or diff) of equipment under the store against that Merchant.
https://demo.valorpaytech.com:443/api/Valor/update
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/update',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": None,
"mid1": "0000000845522",
"vNumber": None,
"vNumber1": "2354353",
"storeNo": None,
"storeNo1": "0002",
"termNo": None,
"termNo1": "0005",
"association": None,
"association1": "545503",
"chain": None,
"chain1": "545083",
"agent": None,
"agent1": "3831",
"EbtNo": None,
"EbtNo1": "7894562",
"binnumber": None,
"binnumber1": "424666",
"agentBank": None,
"agentBank1": "545000",
"industry": None,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/update", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/update',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/update");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"newUserId\": \"9523\",\n \"mp_id\": \"5875\",\n \"store_id\": \"6898\",\n \"passCode\": \"[email protected]\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"legalName\": \"EL TRI MX RESTA\",\n \"dbaName\": \"EL TRI MX RESTAU\",\n \"firstName\": \"JUAN TE\",\n \"lastName\": \"SAQUIPULLA DE\",\n \"ownerName\": \"JUAN SAQUIPULLA FF\",\n \"emailId\": \"[email protected]\",\n \"mobileField\": \"5646531564\",\n \"mobile\": \"7895461235\",\n \"legalAddress\": \"nfhf\",\n \"legalCity\": \"FlusDhing\",\n \"legalState\": \"NY\",\n \"legalCountry\": \"US\",\n \"legalZipCode\": \"12354\",\n \"legalTimezone\": \"CST\",\n \"role\": \"10\",\n \"userType\": \"4\",\n \"isTxnAllowed\": \"1\",\n \"businessType\": \"Retail\",\n \"tin\": \"0\",\n \"sicCode\": \"5814 - FAST FOOD RESTAURA\",\n \"storeData\": [\n {\n \"storeName\": \"Test Store\",\n \"storeAddress\": \"Test Address\",\n \"storeCity\": \"BRONX\",\n \"storeState\": \"NY\",\n \"storeCountry\": \"US\",\n \"storeZipCode\": \"10461\",\n \"storeTimezone\": \"EST\",\n \"superVisorName\": \"Test\",\n \"superVisorEmail\": \"[email protected]\",\n \"superVisorContact\": \"5651324655\",\n \"mccCode\": \"1750\",\n \"selectedMCC\": \"1750 - CARPENTRY\",\n \"descriptors\": [\n \"Test\"\n ],\n \"epiData\": [\n {\n \"device\": \"130\",\n \"deviceType\": \"Desktop POS\",\n \"processor\": \"1\",\n \"epiLabel\": \"ValorPos 100\",\n \"features\": {\n \"tip\": {\n \"enabled\": \"false\",\n \"value\": [\n \"5\",\n \"10\",\n \"15\",\n \"20\"\n ]\n },\n \"paytable\": {\n \"enabled\": \"true\"\n },\n \"surcharge\": {\n \"enabled\": \"false\",\n \"minValue\": \"4.0000\",\n \"maxValue\": \"4.0000\"\n },\n \"tax\": {\n \"enabled\": \"false\",\n \"value\": \"0\"\n },\n \"settlement\": {\n \"enabled\": \"false\",\n \"value\": \"10 pm\"\n },\n \"secComm\": {\n \"enabled\": \"false\",\n \"value\": \"\"\n },\n \"signatureCap\": {\n \"enabled\": \"false\"\n },\n \"ebt\": {\n \"enabled\": \"false\"\n },\n \"promoText\": \"promoText\"\n },\n \"processorData\": [\n {\n \"mid\": null,\n \"mid1\": \"0000000845522\",\n \"vNumber\": null,\n \"vNumber1\": \"2354353\",\n \"storeNo\": null,\n \"storeNo1\": \"0002\",\n \"termNo\": null,\n \"termNo1\": \"0005\",\n \"association\": null,\n \"association1\": \"545503\",\n \"chain\": null,\n \"chain1\": \"545083\",\n \"agent\": null,\n \"agent1\": \"3831\",\n \"EbtNo\": null,\n \"EbtNo1\": \"7894562\",\n \"binnumber\": null,\n \"binnumber1\": \"424666\",\n \"agentBank\": null,\n \"agentBank1\": \"545000\",\n \"industry\": null,\n \"industry1\": \"Retail\",\n \"label\": \"Test\"\n }\n ]\n }\n ],\n \"selectedState\": \"NY\"\n }\n ],\n \"moduleList\": [\n 1,\n 2,\n 3,\n 5,\n 6,\n 15,\n 20,\n 19,\n 21\n ],\n \"selectedState\": \"NY\"\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/update");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""newUserId"": ""9523""," + "\n" +
@" ""mp_id"": ""5875""," + "\n" +
@" ""store_id"": ""6898""," + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""legalName"": ""EL TRI MX RESTA""," + "\n" +
@" ""dbaName"": ""EL TRI MX RESTAU""," + "\n" +
@" ""firstName"": ""JUAN TE""," + "\n" +
@" ""lastName"": ""SAQUIPULLA DE""," + "\n" +
@" ""ownerName"": ""JUAN SAQUIPULLA FF""," + "\n" +
@" ""emailId"": ""[email protected]""," + "\n" +
@" ""mobileField"": ""5646531564""," + "\n" +
@" ""mobile"": ""7895461235""," + "\n" +
@" ""legalAddress"": ""nfhf""," + "\n" +
@" ""legalCity"": ""FlusDhing""," + "\n" +
@" ""legalState"": ""NY""," + "\n" +
@" ""legalCountry"": ""US""," + "\n" +
@" ""legalZipCode"": ""12354""," + "\n" +
@" ""legalTimezone"": ""CST""," + "\n" +
@" ""role"": ""10""," + "\n" +
@" ""userType"": ""4""," + "\n" +
@" ""isTxnAllowed"": ""1""," + "\n" +
@" ""businessType"": ""Retail""," + "\n" +
@" ""tin"": ""0""," + "\n" +
@" ""sicCode"": ""5814 - FAST FOOD RESTAURA""," + "\n" +
@" ""storeData"": [" + "\n" +
@" {" + "\n" +
@" ""storeName"": ""Test Store""," + "\n" +
@" ""storeAddress"": ""Test Address""," + "\n" +
@" ""storeCity"": ""BRONX""," + "\n" +
@" ""storeState"": ""NY""," + "\n" +
@" ""storeCountry"": ""US""," + "\n" +
@" ""storeZipCode"": ""10461""," + "\n" +
@" ""storeTimezone"": ""EST""," + "\n" +
@" ""superVisorName"": ""Test""," + "\n" +
@" ""superVisorEmail"": ""[email protected]""," + "\n" +
@" ""superVisorContact"": ""5651324655""," + "\n" +
@" ""mccCode"": ""1750""," + "\n" +
@" ""selectedMCC"": ""1750 - CARPENTRY""," + "\n" +
@" ""descriptors"": [" + "\n" +
@" ""Test""" + "\n" +
@" ]," + "\n" +
@" ""epiData"": [" + "\n" +
@" {" + "\n" +
@" ""device"": ""130""," + "\n" +
@" ""deviceType"": ""Desktop POS""," + "\n" +
@" ""processor"": ""1""," + "\n" +
@" ""epiLabel"": ""ValorPos 100""," + "\n" +
@" ""features"": {" + "\n" +
@" ""tip"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": [" + "\n" +
@" ""5""," + "\n" +
@" ""10""," + "\n" +
@" ""15""," + "\n" +
@" ""20""" + "\n" +
@" ]" + "\n" +
@" }," + "\n" +
@" ""paytable"": {" + "\n" +
@" ""enabled"": ""true""" + "\n" +
@" }," + "\n" +
@" ""surcharge"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""minValue"": ""4.0000""," + "\n" +
@" ""maxValue"": ""4.0000""" + "\n" +
@" }," + "\n" +
@" ""tax"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""0""" + "\n" +
@" }," + "\n" +
@" ""settlement"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": ""10 pm""" + "\n" +
@" }," + "\n" +
@" ""secComm"": {" + "\n" +
@" ""enabled"": ""false""," + "\n" +
@" ""value"": """"" + "\n" +
@" }," + "\n" +
@" ""signatureCap"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""ebt"": {" + "\n" +
@" ""enabled"": ""false""" + "\n" +
@" }," + "\n" +
@" ""promoText"": ""promoText""" + "\n" +
@" }," + "\n" +
@" ""processorData"": [" + "\n" +
@" {" + "\n" +
@" ""mid"": null," + "\n" +
@" ""mid1"": ""0000000845522""," + "\n" +
@" ""vNumber"": null," + "\n" +
@" ""vNumber1"": ""2354353""," + "\n" +
@" ""storeNo"": null," + "\n" +
@" ""storeNo1"": ""0002""," + "\n" +
@" ""termNo"": null," + "\n" +
@" ""termNo1"": ""0005""," + "\n" +
@" ""association"": null," + "\n" +
@" ""association1"": ""545503""," + "\n" +
@" ""chain"": null," + "\n" +
@" ""chain1"": ""545083""," + "\n" +
@" ""agent"": null," + "\n" +
@" ""agent1"": ""3831""," + "\n" +
@" ""EbtNo"": null," + "\n" +
@" ""EbtNo1"": ""7894562""," + "\n" +
@" ""binnumber"": null," + "\n" +
@" ""binnumber1"": ""424666""," + "\n" +
@" ""agentBank"": null," + "\n" +
@" ""agentBank1"": ""545000""," + "\n" +
@" ""industry"": null," + "\n" +
@" ""industry1"": ""Retail""," + "\n" +
@" ""label"": ""Test""" + "\n" +
@" }" + "\n" +
@" ]" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@" }" + "\n" +
@" ]," + "\n" +
@" ""moduleList"": [" + "\n" +
@" 1," + "\n" +
@" 2," + "\n" +
@" 3," + "\n" +
@" 5," + "\n" +
@" 6," + "\n" +
@" 15," + "\n" +
@" 20," + "\n" +
@" 19," + "\n" +
@" 21" + "\n" +
@" ]," + "\n" +
@" ""selectedState"": ""NY""" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/update"
method := "POST"
payload := strings.NewReader(`{
"newUserId": "9523",
"mp_id": "5875",
"store_id": "6898",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": null,
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/update")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"rollUp": "1",
"newUserId": "19341",
"mp_id": "10645",
"store_id": "11297",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"legalName": "EL TRI MX RESTA",
"dbaName": "EL TRI MX RESTAU",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "JUAN SAQUIPULLA FF",
"emailId": "[email protected]",
"mobileField": "5646531564",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "NY",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"role": "10",
"userType": "4",
"isTxnAllowed": "1",
"businessType": "Retail",
"tin": "0",
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "NY",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"descriptors": [
"Test"
],
"epiData": [
{
"epi": "2204570398",
"device": "130",
"deviceType": "Desktop POS",
"processor": "1",
"epiLabel": "ValorPos 100",
"features": {
"tip": {
"enabled": "false",
"value": [
"5",
"10",
"15",
"20"
]
},
"paytable": {
"enabled": "true"
},
"surcharge": {
"enabled": "false",
"minValue": "4.0000",
"maxValue": "4.0000"
},
"tax": {
"enabled": "false",
"value": "0"
},
"settlement": {
"enabled": "false",
"value": "10 pm"
},
"secComm": {
"enabled": "false",
"value": ""
},
"signatureCap": {
"enabled": "false"
},
"ebt": {
"enabled": "false"
},
"promoText": "promoText"
},
"processorData": [
{
"mid": nil,
"mid1": "0000000845522",
"vNumber": nil,
"vNumber1": "2354353",
"storeNo": nil,
"storeNo1": "0002",
"termNo": nil,
"termNo1": "0005",
"association": nil,
"association1": "545503",
"chain": nil,
"chain1": "545083",
"agent": nil,
"agent1": "3831",
"EbtNo": nil,
"EbtNo1": "7894562",
"binnumber": nil,
"binnumber1": "424666",
"agentBank": nil,
"agentBank1": "545000",
"industry": nil,
"industry1": "Retail",
"label": "Test"
}
]
}
],
"selectedState": "NY"
}
],
"moduleList": [
1,
2,
3,
5,
6,
15,
20,
19,
21
],
"selectedState": "NY"
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Merchant Updated Successfully",
"Mp_id": "5732",
"epiId": "2202580582",
"newUserId": "9230",
"StoreID": "6742",
"data": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
newUserId Number 4 Mandatory 9523 It is the userid of the merchant to be updated
mp_id Number 4 Mandatory 5875 It is a merchant profile id which is respective to the particular merchant
store_id Number 4 Mandatory 6898 The unique id refers to a particular store of the merchant
passCode String 20 Mandatory [email protected]@2023 The password for the Submailid/mailId
mailid String 15 Mandatory [email protected] To board the new merchant user for the given mail id, and check
whether this mail id is present or not. eg:[email protected]
SubmailId String 15 Mandatory [email protected] To board a merchant under a particular sub office for the Valor admin login
legalName String 15 Mandatory valor CRM Parameter Max length is 15 char
dbaName String 15 Mandatory valor CRM API Store Max length is 15 char
firstName String 15 Mandatory Valor Boarding Max length is 15 char
lastName String 15 Mandatory CRM Max length is 15 char
ownerName String 15 Mandatory CRM Store Owner Boarded by name
emailId String 15 Mandatory [email protected] Valid email should be given
mobile String 10 Mandatory 9876543210 Mobile number of the merchant,max length is 10 digit
legalAddress String 25 Mandatory 123 New CRM Street max length 25 char
legalCity String 20 Mandatory New York max length is 20 char
legalState String 2 Mandatory NY State code with Two char
legalCountry String - Mandatory US default set as 'US'
legalZipCode Numeric 5 Mandatory 10006 maxlength is 5 digit
legalTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
Role String 10 Mandatory 10 Should be '10' it is related to role master table
userType Numeric 4 Mandatory 4 Should be '4' - user type for the merchant
isTxnAllowed Numeric 1 Mandatory 1 0 or 1 we will update based on merchant (only accept 0 and 1)
businessType String 10 Mandatory Oil Company/Automated Should be sent as business type
Fueling System
tin Numeric - Mandatory 1 Default set as '0' or set to 1
sicCode String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
storeName String 28 Mandatory CRM Store Max length 28 char
storeAddress String 25 Mandatory 123 New CRM Street Max length 25 char
storeCity String 30 Mandatory New York Max length 30 char
storeState String - Mandatory NY State code with Two char
storeCountry String 2 Mandatory US default set as 'US'
storeZipCode Number 5 Mandatory 10006 max length is 5 digit
storeTimezone String 3 Mandatory EST Sent with (3 char eg: EST,AST,PST,HST,MST)
superVisorName String 15 Mandatory crmboarding Name of the supervisor
superVisorEmail Number 5 Mandatory [email protected] Valid email id should be given
superVisorContact Number 10 Mandatory 9876543210 manager contact number, max length is 10 digit
mccCode Number 4 Mandatory 5945 It should be 4 digit MCC
selectedMCC String 4 Mandatory 5945 - HOBBY-TOY-AND GAME It should be alphanumneric format
descriptors String 25 Mandatory CRM STore It should be 25 chars
device Number - Mandatory 139 The model description of the device to be boarded for that
merchant. Have to pass the 'device_id'
ID DEVICE_MODEL
130 VL 100
174 VL 110
136 VL 500
139 Virtual Terminal/Ecommerce
207 VP 100
274 RCKT
deviceType String - Mandatory Soft Pos The type description of the device / terminal Possible Options
Desktop POS
Smart POS
Soft POS
Handheld POS
processor Number - Mandatory 1 The processor which supports the merchant to be specified in this field, 1
ProcessorID should be mentioned
epiLabel String 15 Mandatory Ground floor terminal Label description for the device /terminal. Max length 15 char
1 or Valor VT
mid Number 12 Mandatory 000000123456( Tsys ) Merchant id related to the surcharge profile. If the epi is to be boarded
on Traditional profile set it as "null" (Tsys - 12 Fd omaha - 15)
mid1 Number 12 Mandatory Merchant id related to the traditional profile. If the epi is to be boarded
on surcharge Profile sets it as "null"
vNumber Number 8 Mandatory 71234567 vNumber mapped to the particular device / terminal in surcharge profile.
If the epi is to be boarded on Traditional profile set it as "null"
vNumber1 Number 8 Mandatory vNumber mapped to the particular device / terminal in traditional profile.
If the epi is to be boarded on a Surcharge profile, set it as "null"
storeNo Number 4 Mandatory 1234 store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
storeNo1 Number 4 Mandatory store number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo Number 4 Mandatory 5678 Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
termNo1 Number 4 Mandatory Terminal number of the particular device / terminal in surcharge profile.
If the epi is to be boarded on traditional Profile set it as "null"
association Number 6 Mandatory 987654 Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
association1 Number 6 Mandatory Association number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain Number 6 Mandatory 987654 Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
chain1 Number 6 Mandatory Chain number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent Number 4 Mandatory 1001 Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agent1 Number 4 Mandatory Agent code number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo Number 7 Mandatory 1234567 Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
EbtNo1 Number 7 Mandatory Ebt number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber Number 6 Mandatory 654321 bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
binnumber1 Number 6 Mandatory bin number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank Number 6 Mandatory 987654 Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
agentBank1 Number 6 Mandatory Agent bank number for the particular device / terminal in surcharge profile.
If the epi is to be boarded on a traditional Profile set it as "null"
industry String - Mandatory Retail The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
industry1 String - Mandatory The industry type on which the terminal / device to be boarded in traditional profile.
If the epi is to be boarded on a surcharge Profile set it as "null"
surcharge Number 5 Mandatory 4.0000 Additional fee ( surchanrge percentage mandatory for cash discount)
Percentage
label Number - Mandatory CRM Store The storename on which the device/terminal created is mapped on this field
selectedState String 2 Mandatory NY The State which is selected to be sent on it with the State code. eg: NY-for new york
s4f Number 1 Mandatory 1 1 (sf4) or 2 (traditional)
processor Numeber 1 Mandatory 1 Select the processor (Tsys, FD-Omaha)
Merchant EPI Delete
This API completely deletes the equipment Valor Portal. We send send the EPI Id in parameter (if we have).
https://demo.valorpaytech.com:443/api/Valor/deleteepi
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/deleteepi',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi_id": [
2204559129
]
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi_id": [
2204559129
]
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/deleteepi", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]123",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi_id": [
2204559129
]
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/deleteepi',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/deleteepi");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"passCode\": \"[email protected]\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"epi_id\": [\n 2204559129\n ]\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/deleteepi");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""epi_id"": [" + "\n" +
@" 2204559129" + "\n" +
@" ]" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/deleteepi"
method := "POST"
payload := strings.NewReader(`{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi_id": [
2204559129
]
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/deleteepi")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi_id": [
2204559129
]
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Success"
}
Field Type Length Mandatory/Optional Example Value Description
userName String 25 Mandatory dd1243x The username of the office login on which the merchant to be boarded
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
epi_id Numeric 10 Mandatory 2135475862 The unique id refers to a particular store of the merchant
Merchant EPI Get
Same as Check Epi, we need to add the one more parameter Merchant Id (Mp Id). This API is use full to cross check the Merchant details also.
https://demo.valorpaytech.com:443/api/Valor/getepidetails
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/getepidetails',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"mp_id": "5875",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"mp_id": "5875",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/getepidetails", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8
var axios = require('axios');
var data = JSON.stringify({
"mp_id": "5875",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/getepidetails',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/getepidetails");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"mp_id\": \"5875\",\n \"passCode\": \"[email protected]\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"epi\": \"2204570398\"\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/getepidetails");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""mp_id"": ""5875""," + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""valorbaseadm[email protected]""," + "\n" +
@" ""epi"": ""2204570398""" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/getepidetails"
method := "POST"
payload := strings.NewReader(`{
"mp_id": "5875",
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
Response
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com/api/Valor/getepidetails")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"mp_id": "4033",
"epi": ""
})
response = https.request(request)
puts response.read_body
{
"status": true,
"message": "Success",
"data": {
"id": 5875,
"userId": 9523,
"parentId": 4389,
"dbaName": "EL TRI MX RESTAU",
"legalName": "EL TRI MX RESTA",
"firstName": "JUAN TE",
"lastName": "SAQUIPULLA DE",
"ownerName": "",
"emailId": "[email protected]",
"mobile": "7895461235",
"legalAddress": "nfhf",
"legalCity": "FlusDhing",
"legalState": "30",
"selectedState": "30",
"legalCountry": "US",
"legalZipCode": "12354",
"legalTimezone": "CST",
"logo": "JUAN TE",
"role": 10,
"userType": 4,
"isTxnAllowed": 1,
"businessType": "Retail",
"tin": 0,
"sicCode": "5814 - FAST FOOD RESTAURA",
"storeData": [
{
"id": 6898,
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "30",
"selectedState": "NY - New York",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"epiData": [
{
"id": 10234,
"epi": "2204570398",
"device": 130,
"deviceType": "Desktop POS",
"processor": 1,
"epiLabel": "ValorPos 100",
"features": {},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": "7894562",
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test",
"EBTcash": 1,
"EBTfood": 1,
"EBTcash1": 1,
"EBTfood1": 1,
"id": 10963
}
]
}
]
},
{
"id": 6907,
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "30",
"selectedState": "NY - New York",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"epiData": [
{
"id": 10237,
"epi": "2204570398",
"device": 130,
"deviceType": "Desktop POS",
"processor": 1,
"epiLabel": "ValorPos 100",
"features": {},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": "7894562",
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test",
"EBTcash": 1,
"EBTfood": 1,
"EBTcash1": 1,
"EBTfood1": 1,
"id": 10966
}
]
}
]
},
{
"id": 6910,
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "30",
"selectedState": "NY - New York",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"epiData": [
{
"id": 10240,
"epi": "2204570398",
"device": 130,
"deviceType": "Desktop POS",
"processor": 1,
"epiLabel": "ValorPos 100",
"features": {},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": "7894562",
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test",
"EBTcash": 1,
"EBTfood": 1,
"EBTcash1": 1,
"EBTfood1": 1,
"id": 10969
}
]
}
]
},
{
"id": 6913,
"storeName": "Test Store",
"storeAddress": "Test Address",
"storeCity": "BRONX",
"storeState": "30",
"selectedState": "NY - New York",
"storeCountry": "US",
"storeZipCode": "10461",
"storeTimezone": "EST",
"superVisorName": "Test",
"superVisorEmail": "[email protected]",
"superVisorContact": "5651324655",
"mccCode": "1750",
"selectedMCC": "1750 - CARPENTRY",
"epiData": [
{
"id": 10243,
"epi": "2204570398",
"device": 130,
"deviceType": "Desktop POS",
"processor": 1,
"epiLabel": "ValorPos 100",
"features": {},
"processorData": [
{
"mid": null,
"mid1": "0000000845522",
"vNumber": null,
"vNumber1": "2354353",
"storeNo": null,
"storeNo1": "0002",
"termNo": null,
"termNo1": "0005",
"association": null,
"association1": "545503",
"chain": null,
"chain1": "545083",
"agent": null,
"agent1": "3831",
"EbtNo": "7894562",
"EbtNo1": "7894562",
"binnumber": null,
"binnumber1": "424666",
"agentBank": null,
"agentBank1": "545000",
"industry": null,
"industry1": "Retail",
"label": "Test",
"EBTcash": 1,
"EBTfood": 1,
"EBTcash1": 1,
"EBTfood1": 1,
"id": 10972
}
]
}
]
}
]
}
}
Field Type Length Mandatory/Optional Example Value Description
mp_id String 4 Mandatory 5875 The password of the office login on which the merchant to be boarded
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
epi Numeric 10 Mandatory 2135475862 The unique id refers to a particular store of the merchant
Merchant EPI Status
This API is use for to activate and deactivate the status of the Merchant EPI.
https://demo.valorpaytech.com/api/Valor/activateEpi
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com/api/Valor/activateEpi',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi":"2204125233",
"status": "activate"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com")
payload = json.dumps({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204125233",
"status": "activate"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/activateEpi", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204125233",
"status": "activate"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com/api/Valor/activateEpi',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com/api/Valor/activateEpi");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"passCode\": \"[email protected]\",\r\n \"mailId\": \"[email protected]\",\r\n \"SubmailId\": \"[email protected]\",\r\n \"epi\":\"2204125233\",\r\n \"status\": \"activate\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com/api/Valor/activateEpi");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""passCode"": ""[email protected]"",
" + "\n" +
@" ""mailId"": ""[email protected]"",
" + "\n" +
@" ""SubmailId"": ""[email protected]"",
" + "\n" +
@" ""epi"":""2204125233"",
" + "\n" +
@" ""status"": ""activate""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com/api/Valor/activateEpi"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"passCode": "[email protected]",`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"epi":"2204125233",`+"
"+`
"status": "activate"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com/api/Valor/activateEpi")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204125233",
"status": "activate"
})
{
"status": "OK",
"message": "Success",
"data": {
"fieldCount": 0,
"affectedRows": 1,
"insertId": 0,
"serverStatus": 2,
"warningCount": 0,
"message": "(Rows matched: 1 Changed: 0 Warnings: 0",
"protocol41": true,
"changedRows": 0
}
}
Field Type Length Mandatory/Optional Example Value Description
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
epi Numeric 10 Mandatory 2135475862 The unique id refers to a particular store of the merchant
status String 10 Mandatory activate Activate and deactivate the EPI
Merchant EPI Length
This API use for the check length of Merchant EPI
https://demo.valorpaytech.com:443/api/Valor/checkEPILength
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/checkEPILength',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi":"",
"merchantId":"6274"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "",
"merchantId": "6274"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/checkEPILength", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "",
"merchantId": "6274"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/checkEPILength',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/checkEPILength");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n\"passCode\": \"[email protected]\",\r\n\"mailId\": \"[email protected]\",\r\n\"SubmailId\": \"[email protected]\",\r\n\"epi\":\"\",\r\n\"merchantId\":\"6274\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/checkEPILength");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@"""passCode"": ""[email protected]"",
" + "\n" +
@"""mailId"": ""[email protected]"",
" + "\n" +
@"""SubmailId"": ""[email protected]"",
" + "\n" +
@"""epi"":"""",
" + "\n" +
@"""merchantId"":""6274""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/checkEPILength"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"passCode": "[email protected]",`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"epi":"",`+"
"+`
"merchantId":"6274"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/checkEPILength")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2200783262",
"merchantId": "6274"
})
response = https.request(request)
puts response.read_body
{
"status": true,
"code": "200",
"Mp_id": 6274,
"SerialNo": "125214118811",
"processor_params": [
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"groupId\":40001,\"groupId1\":40001,\"midFD\":\"RCTST0000050636\",\"midFD1\":\"RCTST0000050638\",\"termNoFD\":\"0000001\",\"termNoFD1\":\"00000001\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoFD\":\"1234567\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoFD1\":\"1234567\",\"website\":\"\",\"website1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"2.000\",\"tidFD3\":\"611525\",\"c_nameFD3\":1,\"clientID_FD\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tidFD4\":\"\",\"clientID_FD4\":\"\",\"location_FD4\":\"\",\"integration_authFD4\":\"\",\"integration_pwdFD4\":\"\",\"label\":\"Hana Tech\",\"id\":13824}",
"epi": "2200783262",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"groupId\":40001,\"groupId1\":40001,\"midFD\":\"RCTST0000050636\",\"midFD1\":\"RCTST0000050638\",\"termNoFD\":\"0000001\",\"termNoFD1\":\"00000001\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoFD\":\"1234567\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoFD1\":\"1234567\",\"website\":\"\",\"website1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"2.000\",\"tidFD3\":\"611525\",\"c_nameFD3\":1,\"clientID_FD\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tidFD4\":\"\",\"clientID_FD4\":\"\",\"location_FD4\":\"\",\"integration_authFD4\":\"\",\"integration_pwdFD4\":\"\",\"label\":\"Hana Tech\",\"id\":13824}",
"epi": "2200783262",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050638\",\"midDP1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoDP\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoDP1\":\"0123456\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"611525\",\"clientID_DP\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f6\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050638\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"0001234\",\"customFeeChecked\":1,\"editablePostilionMID\":1,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13120}",
"epi": "2204125233",
"serial_no": "118213114374"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050638\",\"midDP1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoDP\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoDP1\":\"0123456\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"611525\",\"clientID_DP\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f6\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050638\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"0001234\",\"customFeeChecked\":1,\"editablePostilionMID\":1,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13120}",
"epi": "2204125233",
"serial_no": "118213114374"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050636\",\"midDP1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoDP\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoDP1\":\"\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"4.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050636\",\"tid_Dp6\":\"00000001\",\"customFeeChecked\":1,\"editablePostilionMID\":0,\"editablePostilionTID\":0,\"label\":\"Hana Tech\",\"id\":12763,\"certificateNo\":\"0001234\"}",
"epi": "2204680152",
"serial_no": "125214118808"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050636\",\"midDP1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoDP\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoDP1\":\"\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"4.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050636\",\"tid_Dp6\":\"00000001\",\"customFeeChecked\":1,\"editablePostilionMID\":0,\"editablePostilionTID\":0,\"label\":\"Hana Tech\",\"id\":12763,\"certificateNo\":\"0001234\"}",
"epi": "2204680152",
"serial_no": "125214118808"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"887000003191\",\"mid1\":\"886000000071\",\"vNumber\":\"75021670\",\"vNumber1\":\"75009549\",\"storeNo\":\"5999\",\"storeNo1\":\"1076\",\"termNo\":\"1515\",\"termNo1\":\"1076\",\"association\":\"\",\"association1\":\"\",\"chain\":\"111111\",\"chain1\":\"000000\",\"agent\":\"0001\",\"agent1\":\"0001\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"686868\",\"agentBank\":\"000000\",\"agentBank1\":\"000000\",\"industry\":\"Retail\",\"industry1\":\"Retail\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"611525\",\"c_name3\":1,\"clientID\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":12766}",
"epi": "2204612462",
"serial_no": "125201305745"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"887000003191\",\"mid1\":\"886000000071\",\"vNumber\":\"75021670\",\"vNumber1\":\"75009549\",\"storeNo\":\"5999\",\"storeNo1\":\"1076\",\"termNo\":\"1515\",\"termNo1\":\"1076\",\"association\":\"\",\"association1\":\"\",\"chain\":\"111111\",\"chain1\":\"000000\",\"agent\":\"0001\",\"agent1\":\"0001\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"686868\",\"agentBank\":\"000000\",\"agentBank1\":\"000000\",\"industry\":\"Retail\",\"industry1\":\"Retail\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"611525\",\"c_name3\":1,\"clientID\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":12766}",
"epi": "2204612462",
"serial_no": "125201305745"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"midDP\":\"7116834284\",\"midDP1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoDP\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoDP1\":\"\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"31000075\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"0.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"7116834284\",\"tid_Dp6\":\"31000275\",\"certificateNo\":\"0001234\",\"customFeeChecked\":0,\"editablePostilionMID\":1,\"editablePostilionTID\":0,\"label\":\"Hana Tech\",\"id\":13827}",
"epi": "2204721463",
"serial_no": "125210500685"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"midDP\":\"7116834284\",\"midDP1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoDP\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoDP1\":\"\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"31000075\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"0.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"7116834284\",\"tid_Dp6\":\"31000275\",\"certificateNo\":\"0001234\",\"customFeeChecked\":0,\"editablePostilionMID\":1,\"editablePostilionTID\":0,\"label\":\"Hana Tech\",\"id\":13827}",
"epi": "2204721463",
"serial_no": "125210500685"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":0,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":0,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":13021}",
"epi": "2205231267",
"serial_no": "118211719612"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":0,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":0,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":13021}",
"epi": "2205231267",
"serial_no": "118211719612"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050637\",\"midDP1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoDP\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoDP1\":\"0123456\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050637\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"0001234\",\"customFeeChecked\":1,\"editablePostilionMID\":1,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13123,\"EbtNo\":\"0123456\",\"EbtNo1\":\"\"}",
"epi": "2205417384",
"serial_no": "118211719612"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050637\",\"midDP1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoDP\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoDP1\":\"0123456\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050637\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"0001234\",\"customFeeChecked\":1,\"editablePostilionMID\":1,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13123,\"EbtNo\":\"0123456\",\"EbtNo1\":\"\"}",
"epi": "2205417384",
"serial_no": "118211719612"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050635\",\"midDP1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoDP\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoDP1\":\"\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"123.com\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"611525\",\"clientID_DP\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050635\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"1234569\",\"customFeeChecked\":1,\"editablePostilionMID\":0,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13238}",
"epi": "2205999710",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050635\",\"midDP1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoDP\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoDP1\":\"\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"123.com\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"611525\",\"clientID_DP\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050635\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"1234569\",\"customFeeChecked\":1,\"editablePostilionMID\":0,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13238}",
"epi": "2205999710",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050639\",\"midDP1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoDP\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoDP1\":\"0123456\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050639\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"1234569\",\"customFeeChecked\":1,\"editablePostilionMID\":1,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13626}",
"epi": "2207415160",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"midDP\":\"RCTST0000050639\",\"midDP1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNoDP\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNoDP1\":\"0123456\",\"groupIdDP\":40001,\"groupIdDP1\":40001,\"termNoDP\":\"00000001\",\"termNoDP1\":\"\",\"websiteDP\":\"\",\"websiteDP1\":\"\",\"surchargePercentage\":\"1.000\",\"surchargeIndicator\":0,\"c_nameDP3\":1,\"tidDP3\":\"\",\"clientID_DP\":\"\",\"tidDP4\":\"\",\"clientID_DP4\":\"\",\"location_DP4\":\"\",\"integration_authDP4\":\"\",\"integration_pwdDP4\":\"\",\"mid_Dp6\":\"RCTST0000050639\",\"tid_Dp6\":\"00000001\",\"certificateNo\":\"1234569\",\"customFeeChecked\":1,\"editablePostilionMID\":1,\"editablePostilionTID\":1,\"label\":\"Hana Tech\",\"id\":13626}",
"epi": "2207415160",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNo\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNo1\":\"\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":13686}",
"epi": "2208285162",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNo\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNo1\":\"\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":13686}",
"epi": "2208285162",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":13779}",
"epi": "2209008877",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":13779}",
"epi": "2209008877",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"887000003191\",\"mid1\":\"\",\"vNumber\":\"75021670\",\"vNumber1\":\"\",\"storeNo\":\"5999\",\"storeNo1\":\"\",\"termNo\":\"1515\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"111111\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"999991\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"611525\",\"c_name3\":1,\"clientID\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":14040}",
"epi": "2210818796",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"887000003191\",\"mid1\":\"\",\"vNumber\":\"75021670\",\"vNumber1\":\"\",\"storeNo\":\"5999\",\"storeNo1\":\"\",\"termNo\":\"1515\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"111111\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"999991\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"611525\",\"c_name3\":1,\"clientID\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":14040}",
"epi": "2210818796",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"611525\",\"c_name3\":1,\"clientID\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":14043}",
"epi": "2210863796",
"serial_no": "118213114376"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"886000000072\",\"mid1\":\"\",\"vNumber\":\"75009549\",\"vNumber1\":\"\",\"storeNo\":\"1076\",\"storeNo1\":\"\",\"termNo\":\"1076\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"000000\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"686868\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"611525\",\"c_name3\":1,\"clientID\":\"45c4ddcc-feb1-4cb1-99f0-1ba71d6d8f69\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\",\"id\":14043}",
"epi": "2210863796",
"serial_no": "118213114376"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"mid\":\"887000003191\",\"mid1\":\"\",\"vNumber\":\"75021670\",\"vNumber1\":\"\",\"storeNo\":\"5999\",\"storeNo1\":\"\",\"termNo\":\"1515\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"111111\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"999991\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\"}",
"epi": "2210994501",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"mid\":\"887000003191\",\"mid1\":\"\",\"vNumber\":\"75021670\",\"vNumber1\":\"\",\"storeNo\":\"5999\",\"storeNo1\":\"\",\"termNo\":\"1515\",\"termNo1\":\"\",\"association\":\"\",\"association1\":\"\",\"chain\":\"111111\",\"chain1\":\"\",\"agent\":\"0001\",\"agent1\":\"\",\"EBTcash\":1,\"EBTfood\":1,\"EbtNo\":\"0123456\",\"EBTcash1\":1,\"EBTfood1\":1,\"EbtNo1\":\"0123456\",\"binnumber\":\"999991\",\"binnumber1\":\"\",\"agentBank\":\"000000\",\"agentBank1\":\"\",\"industry\":\"Retail\",\"industry1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"4.000\",\"tid3\":\"\",\"c_name3\":1,\"clientID\":\"\",\"tid4\":\"\",\"clientID4\":\"\",\"location4\":\"\",\"integration_auth4\":\"\",\"integration_pwd4\":\"\",\"label\":\"Hana Tech\"}",
"epi": "2210994501",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"groupId\":\"\",\"groupId1\":40001,\"midFD\":\"\",\"midFD1\":\"00000001234\",\"termNoFD\":\"\",\"termNoFD1\":\"000001\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoFD\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoFD1\":\"\",\"website\":\"\",\"website1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"\",\"tidFD3\":\"\",\"c_nameFD3\":1,\"clientID_FD\":\"\",\"tidFD4\":\"\",\"clientID_FD4\":\"\",\"location_FD4\":\"\",\"integration_authFD4\":\"\",\"integration_pwdFD4\":\"\",\"label\":\"Hana Tech\",\"id\":14224}",
"epi": "2213285012",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"groupId\":\"\",\"groupId1\":40001,\"midFD\":\"\",\"midFD1\":\"00000001234\",\"termNoFD\":\"\",\"termNoFD1\":\"000001\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoFD\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoFD1\":\"\",\"website\":\"\",\"website1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"\",\"tidFD3\":\"\",\"c_nameFD3\":1,\"clientID_FD\":\"\",\"tidFD4\":\"\",\"clientID_FD4\":\"\",\"location_FD4\":\"\",\"integration_authFD4\":\"\",\"integration_pwdFD4\":\"\",\"label\":\"Hana Tech\",\"id\":14224}",
"epi": "2213285012",
"serial_no": null
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 7520,
"Status": 1,
"processor_params": "{\"groupId\":40001,\"groupId1\":\"\",\"midFD\":\"RCTST0000050637\",\"midFD1\":\"\",\"termNoFD\":\"00000001\",\"termNoFD1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoFD\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoFD1\":\"\",\"website\":\"www.valorpaytech.com\",\"website1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"2.000\",\"tidFD3\":\"\",\"c_nameFD3\":1,\"clientID_FD\":\"\",\"tidFD4\":\"\",\"clientID_FD4\":\"\",\"location_FD4\":\"\",\"integration_authFD4\":\"\",\"integration_pwdFD4\":\"\",\"label\":\"Hana Tech\"}",
"epi": "2213235837",
"serial_no": "125214118811"
},
{
"MERCHANT_USER": 9594,
"Mp_Id": 6274,
"StoreId": 8271,
"Status": 1,
"processor_params": "{\"groupId\":40001,\"groupId1\":\"\",\"midFD\":\"RCTST0000050637\",\"midFD1\":\"\",\"termNoFD\":\"00000001\",\"termNoFD1\":\"\",\"EBTcash\":0,\"EBTfood\":0,\"EbtNoFD\":\"\",\"EBTcash1\":0,\"EBTfood1\":0,\"EbtNoFD1\":\"\",\"website\":\"www.valorpaytech.com\",\"website1\":\"\",\"surchargeIndicator\":0,\"surchargePercentage\":\"2.000\",\"tidFD3\":\"\",\"c_nameFD3\":1,\"clientID_FD\":\"\",\"tidFD4\":\"\",\"clientID_FD4\":\"\",\"location_FD4\":\"\",\"integration_authFD4\":\"\",\"integration_pwdFD4\":\"\",\"label\":\"Hana Tech\"}",
"epi": "2213235837",
"serial_no": "125214118811"
}
],
"message": "epi Data Exits",
"StatusUser": 1
Field Type Length Mandatory/Optional Example Value Description
merchantId Numeric 4 Mandatory 6274 The merchnatid of the office login on which the merchant to be boarded
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
epi Numeric 10 Mandatory 2135475862 The unique id refers to a particular store of the merchant
Merchant EPI Txn Date
API use for to check the last transaction of the Merchant EPI
https://demo.valorpaytech.com/api/Valor/lastTxn
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com/api/Valor/lastTxn',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi":"2204125233"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com")
payload = json.dumps({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204125233"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/lastTxn", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204125233"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com/api/Valor/lastTxn',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com/api/Valor/lastTxn");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"passCode\": \"[email protected]\",\r\n \"mailId\": \"[email protected]\",\r\n \"SubmailId\": \"[email protected]\",\r\n \"epi\":\"2204125233\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com/api/Valor/lastTxn");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""passCode"": ""[email protected]"",
" + "\n" +
@" ""mailId"": ""[email protected]"",
" + "\n" +
@" ""SubmailId"": ""[email protected]"",
" + "\n" +
@" ""epi"":""2204125233""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com/api/Valor/lastTxn"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"passCode": "[email protected]",`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"epi":"2204125233"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com/api/Valor/lastTxn")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2200783262"
})
response = https.request(request)
puts response.read_body
{
"status": "OK",
"message": "Success",
"data": [
{
"last_txn_date": "2022-04-18T03:48:33.000Z"
}
]
}
Field Type Length Mandatory/Optional Example Value Description
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
epi Numeric 10 Mandatory 2135475862 The unique id refers to a particular store of the merchant
Check EPI
Easy to cross check the equipment is Active / Inactive or deleted / not and get the all the details from equipment's
https://demo.valorpaytech.com:443/api/Valor/checkepi
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/checkepi',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
})
headers = {
'Content-Type': 'application/json'
}
conn.request("POST", "/api/Valor/checkepi", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
});
var config = {
method: 'post',
url: 'https://demo.valorpaytech.com:443/api/Valor/checkepi',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/checkepi");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\n \"passCode\": \"[email protected]\",\n \"mailId\": \"[email protected]\",\n \"SubmailId\": \"[email protected]\",\n \"epi\": \"2204570398\"\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/checkepi");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{" + "\n" +
@" ""passCode"": ""[email protected]""," + "\n" +
@" ""mailId"": ""[email protected]""," + "\n" +
@" ""SubmailId"": ""[email protected]""," + "\n" +
@" ""epi"": ""2204570398""" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/checkepi"
method := "POST"
payload := strings.NewReader(`{
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:443/api/Valor/checkepi")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
"passCode": "[email protected]",
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"epi": "2204570398"
})
response = https.request(request)
puts response.read_body
{
"status": true,
"code": "200",
"Mp_id": 5875,
"newUserId": 9523,
"StoreID": 6898,
"epi": "2204570398",
"SerialNo": null,
"processor_params": "{\"mid\":null,\"mid1\":\"0000000845522\",\"vNumber\":null,\"vNumber1\":\"2354353\",\"storeNo\":null,\"storeNo1\":\"0002\",\"termNo\":null,\"termNo1\":\"0005\",\"association\":null,\"association1\":\"545503\",\"chain\":null,\"chain1\":\"545083\",\"agent\":null,\"agent1\":\"3831\",\"EbtNo\":\"7894562\",\"EbtNo1\":\"7894562\",\"binnumber\":null,\"binnumber1\":\"424666\",\"agentBank\":null,\"agentBank1\":\"545000\",\"industry\":null,\"industry1\":\"Retail\",\"label\":\"Test\",\"EBTcash\":1,\"EBTfood\":1,\"EBTcash1\":1,\"EBTfood1\":1}",
"message": "epi Data Exits",
"StatusUser": 2
}
Field Type Length Mandatory/Optional Example Value Description
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office
epi Numeric 10 Mandatory 2135475862 The unique id refers to a particular store of the merchant
Credential Check
This API is individually checking if the user credential is right or wrong, if wrong we don't allow next. These 3 parameters are permanently added to each API because every API must satisfy this process for the security purpose.
https://demo.valorpaytech.com:4430/api/Valor/login
php curl
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://demo.valorpaytech.com:443/api/Valor/login',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"passCode": "Valor123"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
import http.client
import json
conn = http.client.HTTPSConnection("demo.valorpaytech.com", 443)
payload = json.dumps({
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"passCode": "Valor123"
})
headers = {
'Content-Type: application/json'
}
conn.request("POST", "/api/Valor/login", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var axios = require('axios');
var data = JSON.stringify({
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"passCode": "Valor123"
});
var config = {
method: 'POST',
url: 'https://demo.valorpaytech.com:443/api/Valor/login',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl,
CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(curl, CURLOPT_URL, "https://demo.valorpaytech.com:443/api/Valor/login");
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_DEFAULT_PROTOCOL, "https");
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
const char *data = "{\r\n \"mailId\": \"[email protected]\", \r\n \"SubmailId\": \"[email protected]\",\r\n \"passCode\": \"Valor123\"\r\n}";
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);
res = curl_easy_perform(curl);
}
curl_easy_cleanup(curl);
var client = new RestClient("https://demo.valorpaytech.com:443/api/Valor/login");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
var body = @"{
" + "\n" +
@" ""mailId"": ""[email protected]"",
" + "\n" +
@" ""SubmailId"": ""[email protected]"",
" + "\n" +
@" ""passCode"": ""Valor123""
" + "\n" +
@"}";
request.AddParameter("application/json", body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://demo.valorpaytech.com:443/api/Valor/login"
method := "POST"
payload := strings.NewReader(`{`+"
"+`
"mailId": "[email protected]",`+"
"+`
"SubmailId": "[email protected]",`+"
"+`
"passCode": "Valor123"`+"
"+`
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
require "uri"
require "json"
require "net/http"
url = URI("https://demo.valorpaytech.com:4430/api/Valor/login")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request["Cookie"] = "HttpOnly"
request.body = JSON.dump({
"mailId": "[email protected]",
"SubmailId": "[email protected]",
"passCode": "Valor123"
})
{
"status": true,
"code": "200",
"UserId": 6504
}
Field Type Length Mandatory/Optional Example Value Description
passcode String 20 Mandatory [email protected] The password of the office login on which the merchant to be boarded
mailId String 15 Mandatory [email protected] E-mail id of the iso office
submailid String 15 Mandatory [email protected] submail / the username of the sub office