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
1
{
2
"business_information": {
3
"legal": {
4
"name": "PayEngine",
5
"address": "Address",
6
"suite_type": "suite",
7
"suite": "Suite",
8
"zip": 15454,
9
"city": "HCM",
10
"state": "AZ",
11
"phone_no": "9597988888",
12
"fax": ""
13
},
14
"dba": {
15
"name": "PayEngine",
16
"address": "Address",
17
"suite_type": "suite",
18
"suite": "Suite",
19
"zip": 15454,
20
"city": "HCM",
21
"state": "AZ",
22
"phone_no": "9597988888",
23
"fax": ""
24
},
25
"chargeback_type": "other",
26
"charge_back": {
27
"name": "PayEngine",
28
"address": "Address",
29
"suite_type": "suite",
30
"suite": "Suite",
31
"zip": 15454,
32
"city": "HCM",
33
"state": "AZ",
34
"phone_no": "9597988888",
35
"fax": ""
36
},
37
"statement_type": "other",
38
"statement": {
39
"name": "PayEngine",
40
"address": "Address",
41
"suite_type": "suite",
42
"suite": "Suite",
43
"zip": 15454,
44
"city": "HCM",
45
"state": "AZ",
46
"phone_no": "9597988888",
47
"fax": ""
48
},
49
"irs": {
50
"name": "John Doe",
51
"address": "Address",
52
"suite_type": "suite",
53
"suite": "Suite",
54
"zip": 15454,
55
"city": "HCM",
56
"state": "AZ",
57
"reporting_name": "PayEngine",
58
"title": "CEO",
59
"receive_statement": "true",
60
"ownership_type": "CO",
61
"tax_exempt": true,
62
"type_of_tax": "SSN",
63
"tax_identification_number": "295955959",
64
"business_type": "RT",
65
"mcc_sic": "1731",
66
"product_description": "Description",
67
"how_products_delivered": "Ground Shipping"
68
},
69
"email": "[email protected]",
70
"confirm_email": "[email protected]",
71
"customer_service_no": "2959595555",
72
"owned_years": 5,
73
"owned_months": 7,
74
"charge_back_notification": "CLIF",
75
"charge_back_email": "[email protected]",
76
"charge_back_fax": "",
77
"contact": "CONT",
78
"first_name": "John",
79
"last_name": "Doe",
80
"phone_number": "2955556665",
81
"extension": "",
82
"business_bankruptcies": false,
83
"personal_bankruptcies": false,
84
"company_annual_revenue": "1000000",
85
"refund_policy": "Returns without receipts will result in store credit",
86
"number_of_locations": 4,
87
"accept_cc_before": true,
88
"previous_processor_name": "processor",
89
"how_many_days": "2-3 business days",
90
"b2b_percentage": 70,
91
"place_of_issuance": "CA",
92
"article_of_incorporation_date": "2020-02-15"
93
},
94
"owner_officer_information": {
95
"officers": [
96
{
97
"owner_type": [
98
"B",
99
"I"
100
],
101
"first_name": "John",
102
"middle_name": "",
103
"last_name": "Doe",
104
"title": "CTR",
105
"us_citizen": true,
106
"ssn": 366666666,
107
"dob": "2008-02-08",
108
"owned_percent": 14,
109
"country": "USA",
110
"street_type": "AC",
111
"street_direction": "E",
112
"street_number": 36366,
113
"street_name": "John Doe",
114
"state": "KY",
115
"zip": 15535,
116
"unit_number": 12345,
117
"phone_no": 3664646666,
118
"email": "[email protected]",
119
"guarantor": false,
120
"do_not_pull": false,
121
"signing_app": true,
122
"city": "New York"
123
}
124
],
125
"do_not_pull": true
126
},
127
"processing_information": {
128
"is_seasonal": false,
129
"accept_credit_card": true,
130
"card_swipe_percent": "10",
131
"manual_keyed_card_present_percent": "40",
132
"manual_keyed_card_not_present_percent": "40",
133
"ecommerce_card_not_present_percent": "10",
134
"qualified_processing_method": "OT",
135
"avg_transaction_amount": "350",
136
"highest_transaction_amount": 20000,
137
"highest_transaction_freq_per_year": 10,
138
"monthly_sale": "50000"
139
},
140
"banking_information": {
141
"accounts": [
142
"routing_number": 102000076,
143
"bank_name": "WELLS FARGO BANK NA",
144
"account_number": 242525,
145
"account_type": "N",
146
"is_default": true
147
}
148
]
149
},
150
"point_of_sale_information": {},
151
"patriot_act": {
152
"type": "business",
153
"government_type": "articles",
154
"business_type": "business",
155
"business_license_name": "John",
156
"business_license_state_of_issuance": "AR",
157
"business_license_date_of_issuance": "2021-02-04",
158
"business_license_expire_date": "2021-02-11",
159
"tax_date_filled": "2021-02-11",
160
"tax_employee_id": 235235523523,
161
"tax_place_of_issuance": "55235235235",
162
"incorporation_place_of_issuance": "New York",
163
"incorporation_date_filled": "2021-02-04",
164
"financial_statement_date": "2021-02-11"
165
},
166
"ach_addendum": {
167
"avg_check_amount": 200,
168
"max_single_transaction_amount": 5000,
169
"max_monthly_transaction_amount": 500000,
170
"min_monthly_transaction_amount": 100,
171
"max_number_daily_transactions": 1000,
172
"max_number_monthly_transactions": 50000,
173
"total_annual_amount": 100000,
174
"web": 25,
175
"tel": 25,
176
"ppd": 25,
177
"ccd": 25
178
},
179
"validation": true
180
}
Copied!
1
var axios = require('axios');
2
var data = JSON.stringify("your raw data here");
3
​
4
var config = {
5
method: 'patch',
6
url: 'https://{{hostname}}/api/merchant/5aa49cc1-0117-462b-bf15-2049f4ffbac3',
7
headers: {
8
'accept': 'application/json',
9
'Authorization': 'Basic {{YOUR_API_SECRET}}',
10
'Content-Type': 'application/json'
11
},
12
data : data
13
};
14
​
15
axios(config)
16
.then(function (response) {
17
console.log(JSON.stringify(response.data));
18
})
19
.catch(function (error) {
20
console.log(error);
21
});
22
​
Copied!