Update Merchant Details (Deprecated)
This API has been deprecated and will not be supported going forward. Please plan to migrate to newer version of the API if you have it in use already.
If you're implementing for the first time, please make sure to use API v2 to update merchant information.
patch
https://<PayEngine-host>
/api/merchant/:id
Update merchant details
Raw Body
Node.js
{
"business_information": {
"legal": {
"name": "PayEngine",
"address": "Address",
"suite_type": "suite",
"suite": "Suite",
"zip": 15454,
"city": "HCM",
"state": "AZ",
"phone_no": "9597988888",
"fax": ""
},
"dba": {
"name": "PayEngine",
"address": "Address",
"suite_type": "suite",
"suite": "Suite",
"zip": 15454,
"city": "HCM",
"state": "AZ",
"phone_no": "9597988888",
"fax": ""
},
"chargeback_type": "other",
"charge_back": {
"name": "PayEngine",
"address": "Address",
"suite_type": "suite",
"suite": "Suite",
"zip": 15454,
"city": "HCM",
"state": "AZ",
"phone_no": "9597988888",
"fax": ""
},
"statement_type": "other",
"statement": {
"name": "PayEngine",
"address": "Address",
"suite_type": "suite",
"suite": "Suite",
"zip": 15454,
"city": "HCM",
"state": "AZ",
"phone_no": "9597988888",
"fax": ""
},
"irs": {
"name": "John Doe",
"address": "Address",
"suite_type": "suite",
"suite": "Suite",
"zip": 15454,
"city": "HCM",
"state": "AZ",
"reporting_name": "PayEngine",
"title": "CEO",
"receive_statement": "true",
"ownership_type": "CO",
"tax_exempt": true,
"type_of_tax": "SSN",
"tax_identification_number": "295955959",
"business_type": "RT",
"mcc_sic": "1731",
"product_description": "Description",
"how_products_delivered": "Ground Shipping"
},
"email": "[email protected]",
"confirm_email": "[email protected]",
"customer_service_no": "2959595555",
"owned_years": 5,
"owned_months": 7,
"charge_back_notification": "CLIF",
"charge_back_email": "[email protected]",
"charge_back_fax": "",
"contact": "CONT",
"first_name": "John",
"last_name": "Doe",
"phone_number": "2955556665",
"extension": "",
"business_bankruptcies": false,
"personal_bankruptcies": false,
"company_annual_revenue": "1000000",
"refund_policy": "Returns without receipts will result in store credit",
"number_of_locations": 4,
"accept_cc_before": true,
"previous_processor_name": "processor",
"how_many_days": "2-3 business days",
"b2b_percentage": 70,
"place_of_issuance": "CA",
"article_of_incorporation_date": "2020-02-15"
},
"owner_officer_information": {
"officers": [
{
"owner_type": [
"B",
"I"
],
"first_name": "John",
"middle_name": "",
"last_name": "Doe",
"title": "CTR",
"us_citizen": true,
"ssn": 366666666,
"dob": "2008-02-08",
"owned_percent": 14,
"country": "USA",
"street_type": "AC",
"street_direction": "E",
"street_number": 36366,
"street_name": "John Doe",
"state": "KY",
"zip": 15535,
"unit_number": 12345,
"phone_no": 3664646666,
"email": "[email protected]",
"guarantor": false,
"do_not_pull": false,
"signing_app": true,
"city": "New York"
}
],
"do_not_pull": true
},
"processing_information": {
"is_seasonal": false,
"accept_credit_card": true,
"card_swipe_percent": "10",
"manual_keyed_card_present_percent": "40",
"manual_keyed_card_not_present_percent": "40",
"ecommerce_card_not_present_percent": "10",
"qualified_processing_method": "OT",
"avg_transaction_amount": "350",
"highest_transaction_amount": 20000,
"highest_transaction_freq_per_year": 10,
"monthly_sale": "50000"
},
"banking_information": {
"accounts": [
"routing_number": 102000076,
"bank_name": "WELLS FARGO BANK NA",
"account_number": 242525,
"account_type": "N",
"is_default": true
}
]
},
"point_of_sale_information": {},
"patriot_act": {
"type": "business",
"government_type": "articles",
"business_type": "business",
"business_license_name": "John",
"business_license_state_of_issuance": "AR",
"business_license_date_of_issuance": "2021-02-04",
"business_license_expire_date": "2021-02-11",
"tax_date_filled": "2021-02-11",
"tax_employee_id": 235235523523,
"tax_place_of_issuance": "55235235235",
"incorporation_place_of_issuance": "New York",
"incorporation_date_filled": "2021-02-04",
"financial_statement_date": "2021-02-11"
},
"ach_addendum": {
"avg_check_amount": 200,
"max_single_transaction_amount": 5000,
"max_monthly_transaction_amount": 500000,
"min_monthly_transaction_amount": 100,
"max_number_daily_transactions": 1000,
"max_number_monthly_transactions": 50000,
"total_annual_amount": 100000,
"web": 25,
"tel": 25,
"ppd": 25,
"ccd": 25
},
"validation": true
}
var axios = require('axios');
var data = JSON.stringify("your raw data here");
​
var config = {
method: 'patch',
url: 'https://{{hostname}}/api/merchant/5aa49cc1-0117-462b-bf15-2049f4ffbac3',
headers: {
'accept': 'application/json',
'Authorization': 'Basic {{YOUR_API_SECRET}}',
'Content-Type': 'application/json'
},
data : data
};
​
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
​
Copy link