curl --request PUT \
--url https://test.paysight.io/api/admin/merchantaccounts/{id} \
--header 'Authorization: <api-key>' \
--header 'ClientId: <clientid>' \
--header 'Content-Type: application/json' \
--header 'UserEmail: <useremail>' \
--data '
{
"id": 123,
"mid": "<string>",
"title": "<string>",
"companyId": 123,
"agent": "<string>",
"acquiringBank": "<string>",
"gatewayId": 123,
"enabledMastercard": true,
"enabledVisa": true,
"descriptor": "<string>",
"mcc": "<string>",
"acquirerBINVisa": "<string>",
"acquirerBINMastercard": "<string>",
"psp": "<string>",
"maxPrice": 123,
"verticalId": 123,
"monthlyCap": 123,
"reservePercentage": 123,
"discountRatePercentage": 123,
"gatewayTransactionFee": 123,
"chargebackFee": 123,
"routingNumber": "<string>",
"accountNumber": "<string>",
"brandId": 123,
"allowPremiumProgram": true,
"fullyLive": true,
"shorthandSuffix": "<string>",
"defaultCurrency": "<string>",
"rdrFee": 123,
"ethocaFee": 123,
"cdrnFee": 123,
"allowRetriesFromOtherMids": true,
"allowInsufficientFundsRetries": true,
"capLimited": "2023-11-07T05:31:56Z",
"forceAllowRefunds": true,
"dynamicDescriptorEnabled": true,
"dynamicDescriptorPrefix": "<string>",
"dynamicDescriptorPrefix_MC": "<string>",
"dynamicDescriptorFormat": 123,
"bankAuthFee": 123,
"bankDeclineFee": 123,
"bankAVSFee": 123,
"customFee": 123,
"customFeeApprovedOnly": 123,
"notes": "<string>",
"caid": "<string>",
"chargebackMitigationProviderId": 123,
"chargebackMitigationNotes": "<string>",
"processorPortalAccessId": 123,
"rowVersion": 123,
"merchantDefinedField1": "<string>",
"merchantDefinedField2": "<string>",
"merchantDefinedField3": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"midOwnerId": 123,
"currencies": [
{
"currency": "<string>",
"gatewayCredentials": {
"apiKey": "<string>",
"username": "<string>",
"password": "<string>",
"emailAddress": "<string>",
"processorId": "<string>"
}
}
],
"company": "<string>",
"gateway": "<string>",
"vertical": "<string>",
"brand": "<string>",
"chargebackMitigationProvider": "<string>",
"processorPortalAccess": "<string>",
"parentCompanyId": 123,
"parentCompany": "<string>",
"requiresZip": true,
"paymendStoreId": "<string>"
}
'import requests
url = "https://test.paysight.io/api/admin/merchantaccounts/{id}"
payload = {
"id": 123,
"mid": "<string>",
"title": "<string>",
"companyId": 123,
"agent": "<string>",
"acquiringBank": "<string>",
"gatewayId": 123,
"enabledMastercard": True,
"enabledVisa": True,
"descriptor": "<string>",
"mcc": "<string>",
"acquirerBINVisa": "<string>",
"acquirerBINMastercard": "<string>",
"psp": "<string>",
"maxPrice": 123,
"verticalId": 123,
"monthlyCap": 123,
"reservePercentage": 123,
"discountRatePercentage": 123,
"gatewayTransactionFee": 123,
"chargebackFee": 123,
"routingNumber": "<string>",
"accountNumber": "<string>",
"brandId": 123,
"allowPremiumProgram": True,
"fullyLive": True,
"shorthandSuffix": "<string>",
"defaultCurrency": "<string>",
"rdrFee": 123,
"ethocaFee": 123,
"cdrnFee": 123,
"allowRetriesFromOtherMids": True,
"allowInsufficientFundsRetries": True,
"capLimited": "2023-11-07T05:31:56Z",
"forceAllowRefunds": True,
"dynamicDescriptorEnabled": True,
"dynamicDescriptorPrefix": "<string>",
"dynamicDescriptorPrefix_MC": "<string>",
"dynamicDescriptorFormat": 123,
"bankAuthFee": 123,
"bankDeclineFee": 123,
"bankAVSFee": 123,
"customFee": 123,
"customFeeApprovedOnly": 123,
"notes": "<string>",
"caid": "<string>",
"chargebackMitigationProviderId": 123,
"chargebackMitigationNotes": "<string>",
"processorPortalAccessId": 123,
"rowVersion": 123,
"merchantDefinedField1": "<string>",
"merchantDefinedField2": "<string>",
"merchantDefinedField3": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"midOwnerId": 123,
"currencies": [
{
"currency": "<string>",
"gatewayCredentials": {
"apiKey": "<string>",
"username": "<string>",
"password": "<string>",
"emailAddress": "<string>",
"processorId": "<string>"
}
}
],
"company": "<string>",
"gateway": "<string>",
"vertical": "<string>",
"brand": "<string>",
"chargebackMitigationProvider": "<string>",
"processorPortalAccess": "<string>",
"parentCompanyId": 123,
"parentCompany": "<string>",
"requiresZip": True,
"paymendStoreId": "<string>"
}
headers = {
"ClientId": "<clientid>",
"UserEmail": "<useremail>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
ClientId: '<clientid>',
UserEmail: '<useremail>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: 123,
mid: '<string>',
title: '<string>',
companyId: 123,
agent: '<string>',
acquiringBank: '<string>',
gatewayId: 123,
enabledMastercard: true,
enabledVisa: true,
descriptor: '<string>',
mcc: '<string>',
acquirerBINVisa: '<string>',
acquirerBINMastercard: '<string>',
psp: '<string>',
maxPrice: 123,
verticalId: 123,
monthlyCap: 123,
reservePercentage: 123,
discountRatePercentage: 123,
gatewayTransactionFee: 123,
chargebackFee: 123,
routingNumber: '<string>',
accountNumber: '<string>',
brandId: 123,
allowPremiumProgram: true,
fullyLive: true,
shorthandSuffix: '<string>',
defaultCurrency: '<string>',
rdrFee: 123,
ethocaFee: 123,
cdrnFee: 123,
allowRetriesFromOtherMids: true,
allowInsufficientFundsRetries: true,
capLimited: '2023-11-07T05:31:56Z',
forceAllowRefunds: true,
dynamicDescriptorEnabled: true,
dynamicDescriptorPrefix: '<string>',
dynamicDescriptorPrefix_MC: '<string>',
dynamicDescriptorFormat: 123,
bankAuthFee: 123,
bankDeclineFee: 123,
bankAVSFee: 123,
customFee: 123,
customFeeApprovedOnly: 123,
notes: '<string>',
caid: '<string>',
chargebackMitigationProviderId: 123,
chargebackMitigationNotes: '<string>',
processorPortalAccessId: 123,
rowVersion: 123,
merchantDefinedField1: '<string>',
merchantDefinedField2: '<string>',
merchantDefinedField3: '<string>',
customField1: '<string>',
customField2: '<string>',
customField3: '<string>',
midOwnerId: 123,
currencies: [
{
currency: '<string>',
gatewayCredentials: {
apiKey: '<string>',
username: '<string>',
password: '<string>',
emailAddress: '<string>',
processorId: '<string>'
}
}
],
company: '<string>',
gateway: '<string>',
vertical: '<string>',
brand: '<string>',
chargebackMitigationProvider: '<string>',
processorPortalAccess: '<string>',
parentCompanyId: 123,
parentCompany: '<string>',
requiresZip: true,
paymendStoreId: '<string>'
})
};
fetch('https://test.paysight.io/api/admin/merchantaccounts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://test.paysight.io/api/admin/merchantaccounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'id' => 123,
'mid' => '<string>',
'title' => '<string>',
'companyId' => 123,
'agent' => '<string>',
'acquiringBank' => '<string>',
'gatewayId' => 123,
'enabledMastercard' => true,
'enabledVisa' => true,
'descriptor' => '<string>',
'mcc' => '<string>',
'acquirerBINVisa' => '<string>',
'acquirerBINMastercard' => '<string>',
'psp' => '<string>',
'maxPrice' => 123,
'verticalId' => 123,
'monthlyCap' => 123,
'reservePercentage' => 123,
'discountRatePercentage' => 123,
'gatewayTransactionFee' => 123,
'chargebackFee' => 123,
'routingNumber' => '<string>',
'accountNumber' => '<string>',
'brandId' => 123,
'allowPremiumProgram' => true,
'fullyLive' => true,
'shorthandSuffix' => '<string>',
'defaultCurrency' => '<string>',
'rdrFee' => 123,
'ethocaFee' => 123,
'cdrnFee' => 123,
'allowRetriesFromOtherMids' => true,
'allowInsufficientFundsRetries' => true,
'capLimited' => '2023-11-07T05:31:56Z',
'forceAllowRefunds' => true,
'dynamicDescriptorEnabled' => true,
'dynamicDescriptorPrefix' => '<string>',
'dynamicDescriptorPrefix_MC' => '<string>',
'dynamicDescriptorFormat' => 123,
'bankAuthFee' => 123,
'bankDeclineFee' => 123,
'bankAVSFee' => 123,
'customFee' => 123,
'customFeeApprovedOnly' => 123,
'notes' => '<string>',
'caid' => '<string>',
'chargebackMitigationProviderId' => 123,
'chargebackMitigationNotes' => '<string>',
'processorPortalAccessId' => 123,
'rowVersion' => 123,
'merchantDefinedField1' => '<string>',
'merchantDefinedField2' => '<string>',
'merchantDefinedField3' => '<string>',
'customField1' => '<string>',
'customField2' => '<string>',
'customField3' => '<string>',
'midOwnerId' => 123,
'currencies' => [
[
'currency' => '<string>',
'gatewayCredentials' => [
'apiKey' => '<string>',
'username' => '<string>',
'password' => '<string>',
'emailAddress' => '<string>',
'processorId' => '<string>'
]
]
],
'company' => '<string>',
'gateway' => '<string>',
'vertical' => '<string>',
'brand' => '<string>',
'chargebackMitigationProvider' => '<string>',
'processorPortalAccess' => '<string>',
'parentCompanyId' => 123,
'parentCompany' => '<string>',
'requiresZip' => true,
'paymendStoreId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"ClientId: <clientid>",
"Content-Type: application/json",
"UserEmail: <useremail>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://test.paysight.io/api/admin/merchantaccounts/{id}"
payload := strings.NewReader("{\n \"id\": 123,\n \"mid\": \"<string>\",\n \"title\": \"<string>\",\n \"companyId\": 123,\n \"agent\": \"<string>\",\n \"acquiringBank\": \"<string>\",\n \"gatewayId\": 123,\n \"enabledMastercard\": true,\n \"enabledVisa\": true,\n \"descriptor\": \"<string>\",\n \"mcc\": \"<string>\",\n \"acquirerBINVisa\": \"<string>\",\n \"acquirerBINMastercard\": \"<string>\",\n \"psp\": \"<string>\",\n \"maxPrice\": 123,\n \"verticalId\": 123,\n \"monthlyCap\": 123,\n \"reservePercentage\": 123,\n \"discountRatePercentage\": 123,\n \"gatewayTransactionFee\": 123,\n \"chargebackFee\": 123,\n \"routingNumber\": \"<string>\",\n \"accountNumber\": \"<string>\",\n \"brandId\": 123,\n \"allowPremiumProgram\": true,\n \"fullyLive\": true,\n \"shorthandSuffix\": \"<string>\",\n \"defaultCurrency\": \"<string>\",\n \"rdrFee\": 123,\n \"ethocaFee\": 123,\n \"cdrnFee\": 123,\n \"allowRetriesFromOtherMids\": true,\n \"allowInsufficientFundsRetries\": true,\n \"capLimited\": \"2023-11-07T05:31:56Z\",\n \"forceAllowRefunds\": true,\n \"dynamicDescriptorEnabled\": true,\n \"dynamicDescriptorPrefix\": \"<string>\",\n \"dynamicDescriptorPrefix_MC\": \"<string>\",\n \"dynamicDescriptorFormat\": 123,\n \"bankAuthFee\": 123,\n \"bankDeclineFee\": 123,\n \"bankAVSFee\": 123,\n \"customFee\": 123,\n \"customFeeApprovedOnly\": 123,\n \"notes\": \"<string>\",\n \"caid\": \"<string>\",\n \"chargebackMitigationProviderId\": 123,\n \"chargebackMitigationNotes\": \"<string>\",\n \"processorPortalAccessId\": 123,\n \"rowVersion\": 123,\n \"merchantDefinedField1\": \"<string>\",\n \"merchantDefinedField2\": \"<string>\",\n \"merchantDefinedField3\": \"<string>\",\n \"customField1\": \"<string>\",\n \"customField2\": \"<string>\",\n \"customField3\": \"<string>\",\n \"midOwnerId\": 123,\n \"currencies\": [\n {\n \"currency\": \"<string>\",\n \"gatewayCredentials\": {\n \"apiKey\": \"<string>\",\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"processorId\": \"<string>\"\n }\n }\n ],\n \"company\": \"<string>\",\n \"gateway\": \"<string>\",\n \"vertical\": \"<string>\",\n \"brand\": \"<string>\",\n \"chargebackMitigationProvider\": \"<string>\",\n \"processorPortalAccess\": \"<string>\",\n \"parentCompanyId\": 123,\n \"parentCompany\": \"<string>\",\n \"requiresZip\": true,\n \"paymendStoreId\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("ClientId", "<clientid>")
req.Header.Add("UserEmail", "<useremail>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://test.paysight.io/api/admin/merchantaccounts/{id}")
.header("ClientId", "<clientid>")
.header("UserEmail", "<useremail>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"id\": 123,\n \"mid\": \"<string>\",\n \"title\": \"<string>\",\n \"companyId\": 123,\n \"agent\": \"<string>\",\n \"acquiringBank\": \"<string>\",\n \"gatewayId\": 123,\n \"enabledMastercard\": true,\n \"enabledVisa\": true,\n \"descriptor\": \"<string>\",\n \"mcc\": \"<string>\",\n \"acquirerBINVisa\": \"<string>\",\n \"acquirerBINMastercard\": \"<string>\",\n \"psp\": \"<string>\",\n \"maxPrice\": 123,\n \"verticalId\": 123,\n \"monthlyCap\": 123,\n \"reservePercentage\": 123,\n \"discountRatePercentage\": 123,\n \"gatewayTransactionFee\": 123,\n \"chargebackFee\": 123,\n \"routingNumber\": \"<string>\",\n \"accountNumber\": \"<string>\",\n \"brandId\": 123,\n \"allowPremiumProgram\": true,\n \"fullyLive\": true,\n \"shorthandSuffix\": \"<string>\",\n \"defaultCurrency\": \"<string>\",\n \"rdrFee\": 123,\n \"ethocaFee\": 123,\n \"cdrnFee\": 123,\n \"allowRetriesFromOtherMids\": true,\n \"allowInsufficientFundsRetries\": true,\n \"capLimited\": \"2023-11-07T05:31:56Z\",\n \"forceAllowRefunds\": true,\n \"dynamicDescriptorEnabled\": true,\n \"dynamicDescriptorPrefix\": \"<string>\",\n \"dynamicDescriptorPrefix_MC\": \"<string>\",\n \"dynamicDescriptorFormat\": 123,\n \"bankAuthFee\": 123,\n \"bankDeclineFee\": 123,\n \"bankAVSFee\": 123,\n \"customFee\": 123,\n \"customFeeApprovedOnly\": 123,\n \"notes\": \"<string>\",\n \"caid\": \"<string>\",\n \"chargebackMitigationProviderId\": 123,\n \"chargebackMitigationNotes\": \"<string>\",\n \"processorPortalAccessId\": 123,\n \"rowVersion\": 123,\n \"merchantDefinedField1\": \"<string>\",\n \"merchantDefinedField2\": \"<string>\",\n \"merchantDefinedField3\": \"<string>\",\n \"customField1\": \"<string>\",\n \"customField2\": \"<string>\",\n \"customField3\": \"<string>\",\n \"midOwnerId\": 123,\n \"currencies\": [\n {\n \"currency\": \"<string>\",\n \"gatewayCredentials\": {\n \"apiKey\": \"<string>\",\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"processorId\": \"<string>\"\n }\n }\n ],\n \"company\": \"<string>\",\n \"gateway\": \"<string>\",\n \"vertical\": \"<string>\",\n \"brand\": \"<string>\",\n \"chargebackMitigationProvider\": \"<string>\",\n \"processorPortalAccess\": \"<string>\",\n \"parentCompanyId\": 123,\n \"parentCompany\": \"<string>\",\n \"requiresZip\": true,\n \"paymendStoreId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test.paysight.io/api/admin/merchantaccounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["ClientId"] = '<clientid>'
request["UserEmail"] = '<useremail>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 123,\n \"mid\": \"<string>\",\n \"title\": \"<string>\",\n \"companyId\": 123,\n \"agent\": \"<string>\",\n \"acquiringBank\": \"<string>\",\n \"gatewayId\": 123,\n \"enabledMastercard\": true,\n \"enabledVisa\": true,\n \"descriptor\": \"<string>\",\n \"mcc\": \"<string>\",\n \"acquirerBINVisa\": \"<string>\",\n \"acquirerBINMastercard\": \"<string>\",\n \"psp\": \"<string>\",\n \"maxPrice\": 123,\n \"verticalId\": 123,\n \"monthlyCap\": 123,\n \"reservePercentage\": 123,\n \"discountRatePercentage\": 123,\n \"gatewayTransactionFee\": 123,\n \"chargebackFee\": 123,\n \"routingNumber\": \"<string>\",\n \"accountNumber\": \"<string>\",\n \"brandId\": 123,\n \"allowPremiumProgram\": true,\n \"fullyLive\": true,\n \"shorthandSuffix\": \"<string>\",\n \"defaultCurrency\": \"<string>\",\n \"rdrFee\": 123,\n \"ethocaFee\": 123,\n \"cdrnFee\": 123,\n \"allowRetriesFromOtherMids\": true,\n \"allowInsufficientFundsRetries\": true,\n \"capLimited\": \"2023-11-07T05:31:56Z\",\n \"forceAllowRefunds\": true,\n \"dynamicDescriptorEnabled\": true,\n \"dynamicDescriptorPrefix\": \"<string>\",\n \"dynamicDescriptorPrefix_MC\": \"<string>\",\n \"dynamicDescriptorFormat\": 123,\n \"bankAuthFee\": 123,\n \"bankDeclineFee\": 123,\n \"bankAVSFee\": 123,\n \"customFee\": 123,\n \"customFeeApprovedOnly\": 123,\n \"notes\": \"<string>\",\n \"caid\": \"<string>\",\n \"chargebackMitigationProviderId\": 123,\n \"chargebackMitigationNotes\": \"<string>\",\n \"processorPortalAccessId\": 123,\n \"rowVersion\": 123,\n \"merchantDefinedField1\": \"<string>\",\n \"merchantDefinedField2\": \"<string>\",\n \"merchantDefinedField3\": \"<string>\",\n \"customField1\": \"<string>\",\n \"customField2\": \"<string>\",\n \"customField3\": \"<string>\",\n \"midOwnerId\": 123,\n \"currencies\": [\n {\n \"currency\": \"<string>\",\n \"gatewayCredentials\": {\n \"apiKey\": \"<string>\",\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"processorId\": \"<string>\"\n }\n }\n ],\n \"company\": \"<string>\",\n \"gateway\": \"<string>\",\n \"vertical\": \"<string>\",\n \"brand\": \"<string>\",\n \"chargebackMitigationProvider\": \"<string>\",\n \"processorPortalAccess\": \"<string>\",\n \"parentCompanyId\": 123,\n \"parentCompany\": \"<string>\",\n \"requiresZip\": true,\n \"paymendStoreId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"returnVal": {
"id": 123,
"mid": "<string>",
"title": "<string>",
"companyId": 123,
"agent": "<string>",
"acquiringBank": "<string>",
"gatewayId": 123,
"enabledMastercard": true,
"enabledVisa": true,
"descriptor": "<string>",
"mcc": "<string>",
"acquirerBINVisa": "<string>",
"acquirerBINMastercard": "<string>",
"psp": "<string>",
"maxPrice": 123,
"verticalId": 123,
"monthlyCap": 123,
"reservePercentage": 123,
"discountRatePercentage": 123,
"gatewayTransactionFee": 123,
"chargebackFee": 123,
"routingNumber": "<string>",
"accountNumber": "<string>",
"brandId": 123,
"allowPremiumProgram": true,
"fullyLive": true,
"shorthandSuffix": "<string>",
"defaultCurrency": "<string>",
"rdrFee": 123,
"ethocaFee": 123,
"cdrnFee": 123,
"allowRetriesFromOtherMids": true,
"allowInsufficientFundsRetries": true,
"capLimited": "2023-11-07T05:31:56Z",
"forceAllowRefunds": true,
"dynamicDescriptorEnabled": true,
"dynamicDescriptorPrefix": "<string>",
"dynamicDescriptorPrefix_MC": "<string>",
"dynamicDescriptorFormat": 123,
"bankAuthFee": 123,
"bankDeclineFee": 123,
"bankAVSFee": 123,
"customFee": 123,
"customFeeApprovedOnly": 123,
"notes": "<string>",
"caid": "<string>",
"chargebackMitigationProviderId": 123,
"chargebackMitigationNotes": "<string>",
"processorPortalAccessId": 123,
"rowVersion": 123,
"merchantDefinedField1": "<string>",
"merchantDefinedField2": "<string>",
"merchantDefinedField3": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"midOwnerId": 123,
"currencies": [
{
"currency": "<string>",
"gatewayCredentials": {
"apiKey": "<string>",
"username": "<string>",
"password": "<string>",
"emailAddress": "<string>",
"processorId": "<string>"
}
}
],
"company": "<string>",
"gateway": "<string>",
"vertical": "<string>",
"brand": "<string>",
"chargebackMitigationProvider": "<string>",
"processorPortalAccess": "<string>",
"parentCompanyId": 123,
"parentCompany": "<string>",
"requiresZip": true,
"paymendStoreId": "<string>"
}
}UpdateMerchantAccount
curl --request PUT \
--url https://test.paysight.io/api/admin/merchantaccounts/{id} \
--header 'Authorization: <api-key>' \
--header 'ClientId: <clientid>' \
--header 'Content-Type: application/json' \
--header 'UserEmail: <useremail>' \
--data '
{
"id": 123,
"mid": "<string>",
"title": "<string>",
"companyId": 123,
"agent": "<string>",
"acquiringBank": "<string>",
"gatewayId": 123,
"enabledMastercard": true,
"enabledVisa": true,
"descriptor": "<string>",
"mcc": "<string>",
"acquirerBINVisa": "<string>",
"acquirerBINMastercard": "<string>",
"psp": "<string>",
"maxPrice": 123,
"verticalId": 123,
"monthlyCap": 123,
"reservePercentage": 123,
"discountRatePercentage": 123,
"gatewayTransactionFee": 123,
"chargebackFee": 123,
"routingNumber": "<string>",
"accountNumber": "<string>",
"brandId": 123,
"allowPremiumProgram": true,
"fullyLive": true,
"shorthandSuffix": "<string>",
"defaultCurrency": "<string>",
"rdrFee": 123,
"ethocaFee": 123,
"cdrnFee": 123,
"allowRetriesFromOtherMids": true,
"allowInsufficientFundsRetries": true,
"capLimited": "2023-11-07T05:31:56Z",
"forceAllowRefunds": true,
"dynamicDescriptorEnabled": true,
"dynamicDescriptorPrefix": "<string>",
"dynamicDescriptorPrefix_MC": "<string>",
"dynamicDescriptorFormat": 123,
"bankAuthFee": 123,
"bankDeclineFee": 123,
"bankAVSFee": 123,
"customFee": 123,
"customFeeApprovedOnly": 123,
"notes": "<string>",
"caid": "<string>",
"chargebackMitigationProviderId": 123,
"chargebackMitigationNotes": "<string>",
"processorPortalAccessId": 123,
"rowVersion": 123,
"merchantDefinedField1": "<string>",
"merchantDefinedField2": "<string>",
"merchantDefinedField3": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"midOwnerId": 123,
"currencies": [
{
"currency": "<string>",
"gatewayCredentials": {
"apiKey": "<string>",
"username": "<string>",
"password": "<string>",
"emailAddress": "<string>",
"processorId": "<string>"
}
}
],
"company": "<string>",
"gateway": "<string>",
"vertical": "<string>",
"brand": "<string>",
"chargebackMitigationProvider": "<string>",
"processorPortalAccess": "<string>",
"parentCompanyId": 123,
"parentCompany": "<string>",
"requiresZip": true,
"paymendStoreId": "<string>"
}
'import requests
url = "https://test.paysight.io/api/admin/merchantaccounts/{id}"
payload = {
"id": 123,
"mid": "<string>",
"title": "<string>",
"companyId": 123,
"agent": "<string>",
"acquiringBank": "<string>",
"gatewayId": 123,
"enabledMastercard": True,
"enabledVisa": True,
"descriptor": "<string>",
"mcc": "<string>",
"acquirerBINVisa": "<string>",
"acquirerBINMastercard": "<string>",
"psp": "<string>",
"maxPrice": 123,
"verticalId": 123,
"monthlyCap": 123,
"reservePercentage": 123,
"discountRatePercentage": 123,
"gatewayTransactionFee": 123,
"chargebackFee": 123,
"routingNumber": "<string>",
"accountNumber": "<string>",
"brandId": 123,
"allowPremiumProgram": True,
"fullyLive": True,
"shorthandSuffix": "<string>",
"defaultCurrency": "<string>",
"rdrFee": 123,
"ethocaFee": 123,
"cdrnFee": 123,
"allowRetriesFromOtherMids": True,
"allowInsufficientFundsRetries": True,
"capLimited": "2023-11-07T05:31:56Z",
"forceAllowRefunds": True,
"dynamicDescriptorEnabled": True,
"dynamicDescriptorPrefix": "<string>",
"dynamicDescriptorPrefix_MC": "<string>",
"dynamicDescriptorFormat": 123,
"bankAuthFee": 123,
"bankDeclineFee": 123,
"bankAVSFee": 123,
"customFee": 123,
"customFeeApprovedOnly": 123,
"notes": "<string>",
"caid": "<string>",
"chargebackMitigationProviderId": 123,
"chargebackMitigationNotes": "<string>",
"processorPortalAccessId": 123,
"rowVersion": 123,
"merchantDefinedField1": "<string>",
"merchantDefinedField2": "<string>",
"merchantDefinedField3": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"midOwnerId": 123,
"currencies": [
{
"currency": "<string>",
"gatewayCredentials": {
"apiKey": "<string>",
"username": "<string>",
"password": "<string>",
"emailAddress": "<string>",
"processorId": "<string>"
}
}
],
"company": "<string>",
"gateway": "<string>",
"vertical": "<string>",
"brand": "<string>",
"chargebackMitigationProvider": "<string>",
"processorPortalAccess": "<string>",
"parentCompanyId": 123,
"parentCompany": "<string>",
"requiresZip": True,
"paymendStoreId": "<string>"
}
headers = {
"ClientId": "<clientid>",
"UserEmail": "<useremail>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
ClientId: '<clientid>',
UserEmail: '<useremail>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: 123,
mid: '<string>',
title: '<string>',
companyId: 123,
agent: '<string>',
acquiringBank: '<string>',
gatewayId: 123,
enabledMastercard: true,
enabledVisa: true,
descriptor: '<string>',
mcc: '<string>',
acquirerBINVisa: '<string>',
acquirerBINMastercard: '<string>',
psp: '<string>',
maxPrice: 123,
verticalId: 123,
monthlyCap: 123,
reservePercentage: 123,
discountRatePercentage: 123,
gatewayTransactionFee: 123,
chargebackFee: 123,
routingNumber: '<string>',
accountNumber: '<string>',
brandId: 123,
allowPremiumProgram: true,
fullyLive: true,
shorthandSuffix: '<string>',
defaultCurrency: '<string>',
rdrFee: 123,
ethocaFee: 123,
cdrnFee: 123,
allowRetriesFromOtherMids: true,
allowInsufficientFundsRetries: true,
capLimited: '2023-11-07T05:31:56Z',
forceAllowRefunds: true,
dynamicDescriptorEnabled: true,
dynamicDescriptorPrefix: '<string>',
dynamicDescriptorPrefix_MC: '<string>',
dynamicDescriptorFormat: 123,
bankAuthFee: 123,
bankDeclineFee: 123,
bankAVSFee: 123,
customFee: 123,
customFeeApprovedOnly: 123,
notes: '<string>',
caid: '<string>',
chargebackMitigationProviderId: 123,
chargebackMitigationNotes: '<string>',
processorPortalAccessId: 123,
rowVersion: 123,
merchantDefinedField1: '<string>',
merchantDefinedField2: '<string>',
merchantDefinedField3: '<string>',
customField1: '<string>',
customField2: '<string>',
customField3: '<string>',
midOwnerId: 123,
currencies: [
{
currency: '<string>',
gatewayCredentials: {
apiKey: '<string>',
username: '<string>',
password: '<string>',
emailAddress: '<string>',
processorId: '<string>'
}
}
],
company: '<string>',
gateway: '<string>',
vertical: '<string>',
brand: '<string>',
chargebackMitigationProvider: '<string>',
processorPortalAccess: '<string>',
parentCompanyId: 123,
parentCompany: '<string>',
requiresZip: true,
paymendStoreId: '<string>'
})
};
fetch('https://test.paysight.io/api/admin/merchantaccounts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://test.paysight.io/api/admin/merchantaccounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'id' => 123,
'mid' => '<string>',
'title' => '<string>',
'companyId' => 123,
'agent' => '<string>',
'acquiringBank' => '<string>',
'gatewayId' => 123,
'enabledMastercard' => true,
'enabledVisa' => true,
'descriptor' => '<string>',
'mcc' => '<string>',
'acquirerBINVisa' => '<string>',
'acquirerBINMastercard' => '<string>',
'psp' => '<string>',
'maxPrice' => 123,
'verticalId' => 123,
'monthlyCap' => 123,
'reservePercentage' => 123,
'discountRatePercentage' => 123,
'gatewayTransactionFee' => 123,
'chargebackFee' => 123,
'routingNumber' => '<string>',
'accountNumber' => '<string>',
'brandId' => 123,
'allowPremiumProgram' => true,
'fullyLive' => true,
'shorthandSuffix' => '<string>',
'defaultCurrency' => '<string>',
'rdrFee' => 123,
'ethocaFee' => 123,
'cdrnFee' => 123,
'allowRetriesFromOtherMids' => true,
'allowInsufficientFundsRetries' => true,
'capLimited' => '2023-11-07T05:31:56Z',
'forceAllowRefunds' => true,
'dynamicDescriptorEnabled' => true,
'dynamicDescriptorPrefix' => '<string>',
'dynamicDescriptorPrefix_MC' => '<string>',
'dynamicDescriptorFormat' => 123,
'bankAuthFee' => 123,
'bankDeclineFee' => 123,
'bankAVSFee' => 123,
'customFee' => 123,
'customFeeApprovedOnly' => 123,
'notes' => '<string>',
'caid' => '<string>',
'chargebackMitigationProviderId' => 123,
'chargebackMitigationNotes' => '<string>',
'processorPortalAccessId' => 123,
'rowVersion' => 123,
'merchantDefinedField1' => '<string>',
'merchantDefinedField2' => '<string>',
'merchantDefinedField3' => '<string>',
'customField1' => '<string>',
'customField2' => '<string>',
'customField3' => '<string>',
'midOwnerId' => 123,
'currencies' => [
[
'currency' => '<string>',
'gatewayCredentials' => [
'apiKey' => '<string>',
'username' => '<string>',
'password' => '<string>',
'emailAddress' => '<string>',
'processorId' => '<string>'
]
]
],
'company' => '<string>',
'gateway' => '<string>',
'vertical' => '<string>',
'brand' => '<string>',
'chargebackMitigationProvider' => '<string>',
'processorPortalAccess' => '<string>',
'parentCompanyId' => 123,
'parentCompany' => '<string>',
'requiresZip' => true,
'paymendStoreId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"ClientId: <clientid>",
"Content-Type: application/json",
"UserEmail: <useremail>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://test.paysight.io/api/admin/merchantaccounts/{id}"
payload := strings.NewReader("{\n \"id\": 123,\n \"mid\": \"<string>\",\n \"title\": \"<string>\",\n \"companyId\": 123,\n \"agent\": \"<string>\",\n \"acquiringBank\": \"<string>\",\n \"gatewayId\": 123,\n \"enabledMastercard\": true,\n \"enabledVisa\": true,\n \"descriptor\": \"<string>\",\n \"mcc\": \"<string>\",\n \"acquirerBINVisa\": \"<string>\",\n \"acquirerBINMastercard\": \"<string>\",\n \"psp\": \"<string>\",\n \"maxPrice\": 123,\n \"verticalId\": 123,\n \"monthlyCap\": 123,\n \"reservePercentage\": 123,\n \"discountRatePercentage\": 123,\n \"gatewayTransactionFee\": 123,\n \"chargebackFee\": 123,\n \"routingNumber\": \"<string>\",\n \"accountNumber\": \"<string>\",\n \"brandId\": 123,\n \"allowPremiumProgram\": true,\n \"fullyLive\": true,\n \"shorthandSuffix\": \"<string>\",\n \"defaultCurrency\": \"<string>\",\n \"rdrFee\": 123,\n \"ethocaFee\": 123,\n \"cdrnFee\": 123,\n \"allowRetriesFromOtherMids\": true,\n \"allowInsufficientFundsRetries\": true,\n \"capLimited\": \"2023-11-07T05:31:56Z\",\n \"forceAllowRefunds\": true,\n \"dynamicDescriptorEnabled\": true,\n \"dynamicDescriptorPrefix\": \"<string>\",\n \"dynamicDescriptorPrefix_MC\": \"<string>\",\n \"dynamicDescriptorFormat\": 123,\n \"bankAuthFee\": 123,\n \"bankDeclineFee\": 123,\n \"bankAVSFee\": 123,\n \"customFee\": 123,\n \"customFeeApprovedOnly\": 123,\n \"notes\": \"<string>\",\n \"caid\": \"<string>\",\n \"chargebackMitigationProviderId\": 123,\n \"chargebackMitigationNotes\": \"<string>\",\n \"processorPortalAccessId\": 123,\n \"rowVersion\": 123,\n \"merchantDefinedField1\": \"<string>\",\n \"merchantDefinedField2\": \"<string>\",\n \"merchantDefinedField3\": \"<string>\",\n \"customField1\": \"<string>\",\n \"customField2\": \"<string>\",\n \"customField3\": \"<string>\",\n \"midOwnerId\": 123,\n \"currencies\": [\n {\n \"currency\": \"<string>\",\n \"gatewayCredentials\": {\n \"apiKey\": \"<string>\",\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"processorId\": \"<string>\"\n }\n }\n ],\n \"company\": \"<string>\",\n \"gateway\": \"<string>\",\n \"vertical\": \"<string>\",\n \"brand\": \"<string>\",\n \"chargebackMitigationProvider\": \"<string>\",\n \"processorPortalAccess\": \"<string>\",\n \"parentCompanyId\": 123,\n \"parentCompany\": \"<string>\",\n \"requiresZip\": true,\n \"paymendStoreId\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("ClientId", "<clientid>")
req.Header.Add("UserEmail", "<useremail>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://test.paysight.io/api/admin/merchantaccounts/{id}")
.header("ClientId", "<clientid>")
.header("UserEmail", "<useremail>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"id\": 123,\n \"mid\": \"<string>\",\n \"title\": \"<string>\",\n \"companyId\": 123,\n \"agent\": \"<string>\",\n \"acquiringBank\": \"<string>\",\n \"gatewayId\": 123,\n \"enabledMastercard\": true,\n \"enabledVisa\": true,\n \"descriptor\": \"<string>\",\n \"mcc\": \"<string>\",\n \"acquirerBINVisa\": \"<string>\",\n \"acquirerBINMastercard\": \"<string>\",\n \"psp\": \"<string>\",\n \"maxPrice\": 123,\n \"verticalId\": 123,\n \"monthlyCap\": 123,\n \"reservePercentage\": 123,\n \"discountRatePercentage\": 123,\n \"gatewayTransactionFee\": 123,\n \"chargebackFee\": 123,\n \"routingNumber\": \"<string>\",\n \"accountNumber\": \"<string>\",\n \"brandId\": 123,\n \"allowPremiumProgram\": true,\n \"fullyLive\": true,\n \"shorthandSuffix\": \"<string>\",\n \"defaultCurrency\": \"<string>\",\n \"rdrFee\": 123,\n \"ethocaFee\": 123,\n \"cdrnFee\": 123,\n \"allowRetriesFromOtherMids\": true,\n \"allowInsufficientFundsRetries\": true,\n \"capLimited\": \"2023-11-07T05:31:56Z\",\n \"forceAllowRefunds\": true,\n \"dynamicDescriptorEnabled\": true,\n \"dynamicDescriptorPrefix\": \"<string>\",\n \"dynamicDescriptorPrefix_MC\": \"<string>\",\n \"dynamicDescriptorFormat\": 123,\n \"bankAuthFee\": 123,\n \"bankDeclineFee\": 123,\n \"bankAVSFee\": 123,\n \"customFee\": 123,\n \"customFeeApprovedOnly\": 123,\n \"notes\": \"<string>\",\n \"caid\": \"<string>\",\n \"chargebackMitigationProviderId\": 123,\n \"chargebackMitigationNotes\": \"<string>\",\n \"processorPortalAccessId\": 123,\n \"rowVersion\": 123,\n \"merchantDefinedField1\": \"<string>\",\n \"merchantDefinedField2\": \"<string>\",\n \"merchantDefinedField3\": \"<string>\",\n \"customField1\": \"<string>\",\n \"customField2\": \"<string>\",\n \"customField3\": \"<string>\",\n \"midOwnerId\": 123,\n \"currencies\": [\n {\n \"currency\": \"<string>\",\n \"gatewayCredentials\": {\n \"apiKey\": \"<string>\",\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"processorId\": \"<string>\"\n }\n }\n ],\n \"company\": \"<string>\",\n \"gateway\": \"<string>\",\n \"vertical\": \"<string>\",\n \"brand\": \"<string>\",\n \"chargebackMitigationProvider\": \"<string>\",\n \"processorPortalAccess\": \"<string>\",\n \"parentCompanyId\": 123,\n \"parentCompany\": \"<string>\",\n \"requiresZip\": true,\n \"paymendStoreId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://test.paysight.io/api/admin/merchantaccounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["ClientId"] = '<clientid>'
request["UserEmail"] = '<useremail>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 123,\n \"mid\": \"<string>\",\n \"title\": \"<string>\",\n \"companyId\": 123,\n \"agent\": \"<string>\",\n \"acquiringBank\": \"<string>\",\n \"gatewayId\": 123,\n \"enabledMastercard\": true,\n \"enabledVisa\": true,\n \"descriptor\": \"<string>\",\n \"mcc\": \"<string>\",\n \"acquirerBINVisa\": \"<string>\",\n \"acquirerBINMastercard\": \"<string>\",\n \"psp\": \"<string>\",\n \"maxPrice\": 123,\n \"verticalId\": 123,\n \"monthlyCap\": 123,\n \"reservePercentage\": 123,\n \"discountRatePercentage\": 123,\n \"gatewayTransactionFee\": 123,\n \"chargebackFee\": 123,\n \"routingNumber\": \"<string>\",\n \"accountNumber\": \"<string>\",\n \"brandId\": 123,\n \"allowPremiumProgram\": true,\n \"fullyLive\": true,\n \"shorthandSuffix\": \"<string>\",\n \"defaultCurrency\": \"<string>\",\n \"rdrFee\": 123,\n \"ethocaFee\": 123,\n \"cdrnFee\": 123,\n \"allowRetriesFromOtherMids\": true,\n \"allowInsufficientFundsRetries\": true,\n \"capLimited\": \"2023-11-07T05:31:56Z\",\n \"forceAllowRefunds\": true,\n \"dynamicDescriptorEnabled\": true,\n \"dynamicDescriptorPrefix\": \"<string>\",\n \"dynamicDescriptorPrefix_MC\": \"<string>\",\n \"dynamicDescriptorFormat\": 123,\n \"bankAuthFee\": 123,\n \"bankDeclineFee\": 123,\n \"bankAVSFee\": 123,\n \"customFee\": 123,\n \"customFeeApprovedOnly\": 123,\n \"notes\": \"<string>\",\n \"caid\": \"<string>\",\n \"chargebackMitigationProviderId\": 123,\n \"chargebackMitigationNotes\": \"<string>\",\n \"processorPortalAccessId\": 123,\n \"rowVersion\": 123,\n \"merchantDefinedField1\": \"<string>\",\n \"merchantDefinedField2\": \"<string>\",\n \"merchantDefinedField3\": \"<string>\",\n \"customField1\": \"<string>\",\n \"customField2\": \"<string>\",\n \"customField3\": \"<string>\",\n \"midOwnerId\": 123,\n \"currencies\": [\n {\n \"currency\": \"<string>\",\n \"gatewayCredentials\": {\n \"apiKey\": \"<string>\",\n \"username\": \"<string>\",\n \"password\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"processorId\": \"<string>\"\n }\n }\n ],\n \"company\": \"<string>\",\n \"gateway\": \"<string>\",\n \"vertical\": \"<string>\",\n \"brand\": \"<string>\",\n \"chargebackMitigationProvider\": \"<string>\",\n \"processorPortalAccess\": \"<string>\",\n \"parentCompanyId\": 123,\n \"parentCompany\": \"<string>\",\n \"requiresZip\": true,\n \"paymendStoreId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"returnVal": {
"id": 123,
"mid": "<string>",
"title": "<string>",
"companyId": 123,
"agent": "<string>",
"acquiringBank": "<string>",
"gatewayId": 123,
"enabledMastercard": true,
"enabledVisa": true,
"descriptor": "<string>",
"mcc": "<string>",
"acquirerBINVisa": "<string>",
"acquirerBINMastercard": "<string>",
"psp": "<string>",
"maxPrice": 123,
"verticalId": 123,
"monthlyCap": 123,
"reservePercentage": 123,
"discountRatePercentage": 123,
"gatewayTransactionFee": 123,
"chargebackFee": 123,
"routingNumber": "<string>",
"accountNumber": "<string>",
"brandId": 123,
"allowPremiumProgram": true,
"fullyLive": true,
"shorthandSuffix": "<string>",
"defaultCurrency": "<string>",
"rdrFee": 123,
"ethocaFee": 123,
"cdrnFee": 123,
"allowRetriesFromOtherMids": true,
"allowInsufficientFundsRetries": true,
"capLimited": "2023-11-07T05:31:56Z",
"forceAllowRefunds": true,
"dynamicDescriptorEnabled": true,
"dynamicDescriptorPrefix": "<string>",
"dynamicDescriptorPrefix_MC": "<string>",
"dynamicDescriptorFormat": 123,
"bankAuthFee": 123,
"bankDeclineFee": 123,
"bankAVSFee": 123,
"customFee": 123,
"customFeeApprovedOnly": 123,
"notes": "<string>",
"caid": "<string>",
"chargebackMitigationProviderId": 123,
"chargebackMitigationNotes": "<string>",
"processorPortalAccessId": 123,
"rowVersion": 123,
"merchantDefinedField1": "<string>",
"merchantDefinedField2": "<string>",
"merchantDefinedField3": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"midOwnerId": 123,
"currencies": [
{
"currency": "<string>",
"gatewayCredentials": {
"apiKey": "<string>",
"username": "<string>",
"password": "<string>",
"emailAddress": "<string>",
"processorId": "<string>"
}
}
],
"company": "<string>",
"gateway": "<string>",
"vertical": "<string>",
"brand": "<string>",
"chargebackMitigationProvider": "<string>",
"processorPortalAccess": "<string>",
"parentCompanyId": 123,
"parentCompany": "<string>",
"requiresZip": true,
"paymendStoreId": "<string>"
}
}Authorizations
Your Paysight API key. You can find it in your Paysight account at https://app.paysight.io/settings/account
Headers
Your Paysight Tenant/Client Id. This is the id of the parent company listed in https://app.paysight.io/management/companies. Alternatively, this will be provided by Paysight
The email address of the party or group making the request
Path Parameters
Body
Internal identifier for the merchant account
Merchant Identification Number (MID) issued by the payment processor
Human-readable name of the merchant account
ID of the company that owns this MID
Facilitator or agent responsible for the account
Name of the acquiring bank
Payment gateway identifier
Indicates if Mastercard is enabled
Indicates if Visa is enabled
Transaction descriptor used on customer bank statements
Merchant Category Code
Visa Acquirer Bank Identification Number
Mastercard Acquirer Bank Identification Number
Payment Service Provider name
Maximum allowed transaction amount
Business vertical identifier
Monthly volume cap for this merchant account
Reserve percentage for held funds. Note that this must be entered as a decimal (e.g., 0.10 for 10%)
Discount rate applied to transactions. Note that this must be entered as a decimal (e.g., 0.10 for 10%)
Fee per transaction charged by the gateway
Fee charged per chargeback
Bank routing number
Bank account number
Identifier for the brand this MID is associated with
Indicates if the account is eligible for premium services
Indicates whether the MID is fully live
Suffix for shorthand MID references
Default transaction currency
Fee for Rapid Dispute Resolution services
Fee for Ethoca alert services
Fee for Cardholder Dispute Resolution Network
Allow retrying failed transactions through other MIDs
Retry transactions that failed due to insufficient funds
Date and time when cap was limited
Allow refunds even if other restrictions apply
Enable dynamic descriptors
Prefix for dynamic descriptors
Mastercard-specific dynamic descriptor prefix
Dynamic descriptor format code
Authorization fee charged by the bank
Fee charged on declined transactions
Fee for address verification services
Custom transaction fee
Custom fee applied only to approved transactions
Internal notes for this MID
Custom Acquiring Identifier
ID of the chargeback mitigation provider
Notes about the chargeback mitigation strategy
Identifier for processor portal access method
Concurrency control version (timestamp)
Custom field defined by the merchant that can be sent to the gateway
Custom field defined by the merchant that can be sent to the gateway
Custom field defined by the merchant that can be sent to the gateway
Custom field defined by the merchant for custom use, e.g Merchant specific Status flags
Custom field defined by the merchant for custom use
Custom field defined by the merchant for custom use
Set as 0 by default or 1 if this is an external SaleShield mid
List of supported currencies with gateway credentials
Show child attributes
Show child attributes
Company name
Gateway name
Business vertical
Brand name
Name of the chargeback mitigation provider
Description of processor portal access method
Identifier for the parent company
Name of the parent company
Indicates if a ZIP/postal code is required for transactions on this merchant account
Paymend-defined store identifier associated with this merchant account