Update Merchant Details V2
​
patch
https://<PayEngine-host>
/api/v2/merchant/:id
Update merchant details
Raw Body
Node.js
1
{
2
"name": "PayEngine",
3
"email": "[email protected]",
4
"business_type": {
5
"type": "PR",
6
"mcc_sic": "5734"
7
},
8
"business_details": {
9
"legal": {
10
"name": "PayEngine",
11
"address_street": "Address",
12
"address_unit": "suite",
13
"address_city": "HCM",
14
"address_state": "AZ",
15
"address_zip": 15454
16
},
17
"dba": {
18
"name": "PayEngine",
19
"address_street": "Address",
20
"address_unit": "suite",
21
"address_city": "HCM",
22
"address_state": "AZ",
23
"address_zip": 15454
24
},
25
"dba_same_as_legal": true,
26
"business_phone_no": "7526463989",
27
"email": "[email protected]",
28
"business_age_years": 1,
29
"business_age_months": 2,
30
"business_description": "Description of products or services sold",
31
"how_products_delivered": "Directly to consumer's home",
32
"return_policy": "Return before 30 days",
33
"tax_exempt": false,
34
"type_of_tax_id": "SSN",
35
"tax_identification_number": "353535355",
36
"accepted_transaction_types": [
37
"CC_DC",
38
"ACH"
39
],
40
"number_of_locations": "1",
41
"company_annual_revenue": 1000000,
42
"place_of_issuance": "CA",
43
"aoi_day": 20,
44
"aoi_month": 2,
45
"aoi_year": 2020,
46
"how_many_days": "2-3 business days",
47
"b2b_percentage": 70
48
},
49
"credit_card_processing": {
50
"card_swiped": 25,
51
"manually_keyed_cp": 25,
52
"manually_keyed_cnp": 25,
53
"ecommerce": 25,
54
"accept_cc_before": true,
55
"previous_processor_name": "CC Processor",
56
"avg_transaction_amount": 25,
57
"total_monthly_sales": 10000,
58
"highest_transaction_amount": 25,
59
"frequency_ticket_per_year": "25",
60
"qualified_processing_method": "EDCRetail"
61
},
62
"ach_processing": {
63
"max_check_amount": "1000",
64
"avg_check_amount": "30",
65
"max_monthly_transaction_amount": 25,
66
"min_monthly_transaction_amount": 25,
67
"max_daily_transactions_count": 25,
68
"max_monthly_transactions_count": 25,
69
"total_annual_amount": 25,
70
"avg_number_checks_monthly": "3000",
71
"est_monthly_check_volume": "30000",
72
"web": 25,
73
"tel": 25,
74
"ppd": 25,
75
"ccd": 25
76
},
77
"owner_officers": {
78
"current_index": -1,
79
"officers": [
80
{
81
"first_name": "John",
82
"middle_name": "",
83
"last_name": "Doe",
84
"ownership": 75,
85
"address_same_as_legal": false,
86
"address_street": "Main Street",
87
"address_unit": "",
88
"address_city": "Los Angeles",
89
"address_state": "CA",
90
"address_zip": "90245",
91
"email": "[email protected]",
92
"phone_no": "3494262452",
93
"birth_month": 2,
94
"birth_day": 28,
95
"birth_year": 1990,
96
"ssn": "353535355",
97
"title": "CEO",
98
"signing_app": true,
99
"personal_guarantor": true,
100
"country_of_citizenship": "USA"
101
}
102
]
103
},
104
"bank_details": {
105
"accounts": [
106
{
107
"account_name": "My Bank Account",
108
"account_type": "N",
109
"routing_number": "083908420",
110
"account_number": "12345"
111
}
112
]
113
},
114
"fee_schedule_id": "e88c756f-5667-4a3c-a9f9-346446da71b1",
115
"validate": true
116
}
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/v2/merchant/:id',
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!
Webhook event: MERCHANT_UPDATED

See also

​