setupMerchant method
Future
setupMerchant(
- dynamic depositUserId,
- dynamic name,
- dynamic description,
- dynamic supportEmail,
- dynamic category,
- dynamic zip,
- dynamic streetAddress,
- dynamic city,
- dynamic state,
- dynamic country,
setup merchant
Implementation
Future setupMerchant(depositUserId, name, description, supportEmail, category, zip, streetAddress, city, state, country) async {
var data = {
'deposit_user_id' : depositUserId,
'name' : name,
'description' : description,
'support_email' : supportEmail,
'category' : category,
'zip' : zip,
'street_address' : streetAddress,
'city' : city,
'state' : state,
'country' : country,
};
var apiResponse = await post("/merchant/setup-merchant", data);
return apiResponse;
}