$usersController = $client->getUsersController();UsersController
- Create a New API Key
- Create a New User
- List All User
- Delete a User Record
- View Single User Record
- Update a User Record
- View Self Record
Create a new API key
function createANewAPIKey(string $userId, ?array $expand = null): ResponseUserApiKey| Parameter | Type | Tags | Description |
|---|---|---|---|
userId |
string |
Template, Required | User ID Constraints: Pattern: ^(([0-9a-fA-F]{24})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
expand |
?(string[]) (Expand77Enum) |
Query, Optional | Most endpoints in the API have a way to retrieve extra data related to the current record being retrieved. For example, if the API request is for the accountvaults endpoint, and the end user also needs to know which contact the token belongs to, this data can be returned in the accountvaults endpoint request. Constraints: Unique Items Required, Pattern: ^[\w]+$ |
$userId = '11e95f8ec39de8fbdb0a4f1a';
$result = $usersController->createANewAPIKey($userId);{
"type": "UserApiKey",
"data": {
"user_api_key": "234bas8dfn8238f923w2"
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |
Create a new user
function createANewUser(V1UsersRequest $body, ?array $expand = null): ResponseUser| Parameter | Type | Tags | Description |
|---|---|---|---|
body |
V1UsersRequest |
Body, Required | - |
expand |
?(string[]) (Expand77Enum) |
Query, Optional | Most endpoints in the API have a way to retrieve extra data related to the current record being retrieved. For example, if the API request is for the accountvaults endpoint, and the end user also needs to know which contact the token belongs to, this data can be returned in the accountvaults endpoint request. Constraints: Unique Items Required, Pattern: ^[\w]+$ |
$body_email = 'email@domain.com';
$body_lastName = 'Smith';
$body_primaryLocationId = '11e95f8ec39de8fbdb0a4f1a';
$body_username = '{user_name}';
$body_userTypeCode = Models\UserTypeCodeEnum::ENUM_100;
$body = new Models\V1UsersRequest(
$body_email,
$body_lastName,
$body_primaryLocationId,
$body_username,
$body_userTypeCode
);
$result = $usersController->createANewUser($body);{
"type": "User",
"data": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "Sample contact ID",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700",
"locations": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
}
],
"primary_location": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
},
"received_emails": [
{
"subject": "Payment Receipt - 12skiestech",
"body": "This email is being sent from a server.",
"source_address": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"return_path": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"provider_id": "0100017e67bcc530-e1dd23b4-8a39-4a5b-8d5d-68d51c4c942f-000000",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"reason_sent": "Contact Email",
"reason_model": "Transaction",
"reason_model_id": "11e95f8ec39de8fbdb0a4f1a",
"reply_to": "\"Zeamster\" <emma.p@zeamster.com>",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992
}
],
"contact": {
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"account_number": "54545433332",
"contact_api_id": "137",
"first_name": "John",
"last_name": "Smith",
"cell_phone": "3339998822",
"balance": 245.36,
"address": {
"city": "Novi",
"state": "Michigan",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C"
},
"company_name": "Fortis Payment Systems, LLC",
"header_message": "This is a sample message for you",
"date_of_birth": "2021-12-01",
"email_trx_receipt": true,
"home_phone": "3339998822",
"office_phone": "3339998822",
"office_phone_ext": "5",
"header_message_type": 0,
"update_if_exists": 1,
"contact_c1": "any",
"contact_c2": "anything",
"contact_c3": "something",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"active": true
},
"isDeletable": true,
"active_notification_alerts": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"date_start": "2021-12-01 10:10:00",
"date_end": "2021-12-01 10:10:00",
"user_location": true,
"user_contact": true,
"include_children": true,
"alert_type": 1,
"alert_type_id": 1,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"location_users": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"auth_roles": [
{
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"auth_role_code": 110,
"code": 83931,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"changelogs": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"action": "CREATE",
"model": "TransactionRequest",
"model_id": "11ec829598f0d4008be9aba4",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_details": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_id": "11e95f8ec39de8fbdb0a4f1a",
"field": "next_run_ts",
"old_value": "1643616000"
}
],
"user": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"username": "email@domain.com",
"first_name": "Bob",
"last_name": "Fairview"
}
}
],
"resources": {
"title": "My terminal",
"priv": null,
"resource_name": "v2.addons.iframe.get",
"id": 5693,
"last_used_date": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"domain": {
"url": "fortispayrbyn9y.sandbox.zeamster.com",
"title": "Test Brand Domain Title 2",
"logo": "",
"support_email": "email@domain.com",
"allow_contact_signup": true,
"allow_contact_registration": true,
"allow_contact_login": true,
"registration_fields": [
"account_number"
],
"company_name": null,
"nav_color": null,
"button_primary_color": null,
"logo_background_color": null,
"icon_background_color": null,
"menu_text_background_color": null,
"menu_text_color": null,
"right_menu_background_color": null,
"right_menu_text_color": null,
"button_primary_text_color": null,
"nav_logo": null,
"fav_icon": null,
"aes_key": null,
"help_text": null,
"email_reply_to": "email@domain.com",
"email": "email@domain.com",
"custom_javascript": null,
"custom_theme": null,
"custom_css": null,
"contact_user_default_entry_page": "dashboard",
"contact_user_default_auth_roles": [
null
],
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"created_user": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "11e95f8ec39de8fbdb0a4f1a",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700"
},
"location_marketplaces": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"marketplace_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"email_blacklist": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"isBlacklisted": true,
"detail": true,
"created_ts": 1422040992
},
"helppage": {
"user_type_code": 100,
"body": "Sample Body",
"title": "Sample Title",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |
| 412 | Precondition Failed | Response412Exception |
List all User
function listAllUser(
?Page $page = null,
?Sort27 $sort = null,
?Filter13 $filter = null,
?array $expand = null
): ResponseUsersCollection| Parameter | Type | Tags | Description |
|---|---|---|---|
page |
?Page |
Query, Optional | Use this field to specify paginate your results, by using page size and number. You can use one of the following methods: > /endpoint?page={ "number": 1, "size": 50 } > > /endpoint?page[number]=1&page[size]=50 |
sort |
?Sort27 |
Query, Optional | You can use any field_name from this endpoint results, and you can combine more than one field for more complex sorting. You can use one of the following methods:> /endpoint?sort={ "field_name": "asc", "field_name2": "desc" } > > /endpoint?sort[field_name]=asc&sort[field_name2]=desc |
filter |
?Filter13 |
Query, Optional | You can use any field_name from this endpoint results as a filter, and you can also use more than one field to create AND conditions. For date fields (ended with _ts), you can also search for ranges using the $gte (Greater than or equal to) and/or $lte (Lower than or equal to). You can use one of the following methods:> /endpoint?filter={ "field_name": "Value" } > > /endpoint?filter[field_name]=Value > > /endpoint?filter={ "created_ts": "today" } > > /endpoint?filter[created_ts]=today > > /endpoint?filter={ "created_ts": { "$gte": "yesterday", "$lte": "today" } } > > /endpoint?filter[created_ts][$gte]=yesterday&filter[created_ts][$lte]=today |
expand |
?(string[]) (Expand77Enum) |
Query, Optional | Most endpoints in the API have a way to retrieve extra data related to the current record being retrieved. For example, if the API request is for the accountvaults endpoint, and the end user also needs to know which contact the token belongs to, this data can be returned in the accountvaults endpoint request. Constraints: Unique Items Required, Pattern: ^[\w]+$ |
$result = $usersController->listAllUser();{
"type": "UsersCollection",
"list": [
{
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "Sample contact ID",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700",
"locations": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
}
],
"primary_location": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
},
"received_emails": [
{
"subject": "Payment Receipt - 12skiestech",
"body": "This email is being sent from a server.",
"source_address": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"return_path": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"provider_id": "0100017e67bcc530-e1dd23b4-8a39-4a5b-8d5d-68d51c4c942f-000000",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"reason_sent": "Contact Email",
"reason_model": "Transaction",
"reason_model_id": "11e95f8ec39de8fbdb0a4f1a",
"reply_to": "\"Zeamster\" <emma.p@zeamster.com>",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992
}
],
"contact": {
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"account_number": "54545433332",
"contact_api_id": "137",
"first_name": "John",
"last_name": "Smith",
"cell_phone": "3339998822",
"balance": 245.36,
"address": {
"city": "Novi",
"state": "Michigan",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C"
},
"company_name": "Fortis Payment Systems, LLC",
"header_message": "This is a sample message for you",
"date_of_birth": "2021-12-01",
"email_trx_receipt": true,
"home_phone": "3339998822",
"office_phone": "3339998822",
"office_phone_ext": "5",
"header_message_type": 0,
"update_if_exists": 1,
"contact_c1": "any",
"contact_c2": "anything",
"contact_c3": "something",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"active": true
},
"isDeletable": true,
"active_notification_alerts": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"date_start": "2021-12-01 10:10:00",
"date_end": "2021-12-01 10:10:00",
"user_location": true,
"user_contact": true,
"include_children": true,
"alert_type": 1,
"alert_type_id": 1,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"location_users": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"auth_roles": [
{
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"auth_role_code": 110,
"code": 83931,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"changelogs": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"action": "CREATE",
"model": "TransactionRequest",
"model_id": "11ec829598f0d4008be9aba4",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_details": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_id": "11e95f8ec39de8fbdb0a4f1a",
"field": "next_run_ts",
"old_value": "1643616000"
}
],
"user": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"username": "email@domain.com",
"first_name": "Bob",
"last_name": "Fairview"
}
}
],
"resources": {
"title": "My terminal",
"priv": null,
"resource_name": "v2.addons.iframe.get",
"id": 5693,
"last_used_date": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"domain": {
"url": "fortispayrbyn9y.sandbox.zeamster.com",
"title": "Test Brand Domain Title 2",
"logo": "",
"support_email": "email@domain.com",
"allow_contact_signup": true,
"allow_contact_registration": true,
"allow_contact_login": true,
"registration_fields": [
"account_number"
],
"company_name": null,
"nav_color": null,
"button_primary_color": null,
"logo_background_color": null,
"icon_background_color": null,
"menu_text_background_color": null,
"menu_text_color": null,
"right_menu_background_color": null,
"right_menu_text_color": null,
"button_primary_text_color": null,
"nav_logo": null,
"fav_icon": null,
"aes_key": null,
"help_text": null,
"email_reply_to": "email@domain.com",
"email": "email@domain.com",
"custom_javascript": null,
"custom_theme": null,
"custom_css": null,
"contact_user_default_entry_page": "dashboard",
"contact_user_default_auth_roles": [
null
],
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"created_user": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "11e95f8ec39de8fbdb0a4f1a",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700"
},
"location_marketplaces": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"marketplace_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"email_blacklist": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"isBlacklisted": true,
"detail": true,
"created_ts": 1422040992
},
"helppage": {
"user_type_code": 100,
"body": "Sample Body",
"title": "Sample Title",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
}
],
"links": {
"type": "Links",
"first": "/v1/endpoint?page[size]=10&page[number]=1",
"previous": "/v1/endpoint?page[size]=10&page[number]=5",
"last": "/v1/endpoint?page[size]=10&page[number]=42"
},
"pagination": {
"type": "Pagination",
"total_count": 423,
"page_count": 42,
"page_number": 6,
"page_size": 10
},
"sort": {
"type": "Sorting",
"fields": [
{
"field": "last_name",
"order": "asc"
}
]
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |
Delete a user record
function deleteAUserRecord(string $userId): ResponseUser| Parameter | Type | Tags | Description |
|---|---|---|---|
userId |
string |
Template, Required | User ID Constraints: Pattern: ^(([0-9a-fA-F]{24})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
$userId = '11e95f8ec39de8fbdb0a4f1a';
$result = $usersController->deleteAUserRecord($userId);{
"type": "User",
"data": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "Sample contact ID",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700",
"locations": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
}
],
"primary_location": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
},
"received_emails": [
{
"subject": "Payment Receipt - 12skiestech",
"body": "This email is being sent from a server.",
"source_address": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"return_path": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"provider_id": "0100017e67bcc530-e1dd23b4-8a39-4a5b-8d5d-68d51c4c942f-000000",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"reason_sent": "Contact Email",
"reason_model": "Transaction",
"reason_model_id": "11e95f8ec39de8fbdb0a4f1a",
"reply_to": "\"Zeamster\" <emma.p@zeamster.com>",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992
}
],
"contact": {
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"account_number": "54545433332",
"contact_api_id": "137",
"first_name": "John",
"last_name": "Smith",
"cell_phone": "3339998822",
"balance": 245.36,
"address": {
"city": "Novi",
"state": "Michigan",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C"
},
"company_name": "Fortis Payment Systems, LLC",
"header_message": "This is a sample message for you",
"date_of_birth": "2021-12-01",
"email_trx_receipt": true,
"home_phone": "3339998822",
"office_phone": "3339998822",
"office_phone_ext": "5",
"header_message_type": 0,
"update_if_exists": 1,
"contact_c1": "any",
"contact_c2": "anything",
"contact_c3": "something",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"active": true
},
"isDeletable": true,
"active_notification_alerts": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"date_start": "2021-12-01 10:10:00",
"date_end": "2021-12-01 10:10:00",
"user_location": true,
"user_contact": true,
"include_children": true,
"alert_type": 1,
"alert_type_id": 1,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"location_users": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"auth_roles": [
{
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"auth_role_code": 110,
"code": 83931,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"changelogs": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"action": "CREATE",
"model": "TransactionRequest",
"model_id": "11ec829598f0d4008be9aba4",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_details": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_id": "11e95f8ec39de8fbdb0a4f1a",
"field": "next_run_ts",
"old_value": "1643616000"
}
],
"user": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"username": "email@domain.com",
"first_name": "Bob",
"last_name": "Fairview"
}
}
],
"resources": {
"title": "My terminal",
"priv": null,
"resource_name": "v2.addons.iframe.get",
"id": 5693,
"last_used_date": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"domain": {
"url": "fortispayrbyn9y.sandbox.zeamster.com",
"title": "Test Brand Domain Title 2",
"logo": "",
"support_email": "email@domain.com",
"allow_contact_signup": true,
"allow_contact_registration": true,
"allow_contact_login": true,
"registration_fields": [
"account_number"
],
"company_name": null,
"nav_color": null,
"button_primary_color": null,
"logo_background_color": null,
"icon_background_color": null,
"menu_text_background_color": null,
"menu_text_color": null,
"right_menu_background_color": null,
"right_menu_text_color": null,
"button_primary_text_color": null,
"nav_logo": null,
"fav_icon": null,
"aes_key": null,
"help_text": null,
"email_reply_to": "email@domain.com",
"email": "email@domain.com",
"custom_javascript": null,
"custom_theme": null,
"custom_css": null,
"contact_user_default_entry_page": "dashboard",
"contact_user_default_auth_roles": [
null
],
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"created_user": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "11e95f8ec39de8fbdb0a4f1a",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700"
},
"location_marketplaces": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"marketplace_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"email_blacklist": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"isBlacklisted": true,
"detail": true,
"created_ts": 1422040992
},
"helppage": {
"user_type_code": 100,
"body": "Sample Body",
"title": "Sample Title",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |
View single user record
function viewSingleUserRecord(string $userId, ?array $expand = null): ResponseUser| Parameter | Type | Tags | Description |
|---|---|---|---|
userId |
string |
Template, Required | User ID Constraints: Pattern: ^(([0-9a-fA-F]{24})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
expand |
?(string[]) (Expand77Enum) |
Query, Optional | Most endpoints in the API have a way to retrieve extra data related to the current record being retrieved. For example, if the API request is for the accountvaults endpoint, and the end user also needs to know which contact the token belongs to, this data can be returned in the accountvaults endpoint request. Constraints: Unique Items Required, Pattern: ^[\w]+$ |
$userId = '11e95f8ec39de8fbdb0a4f1a';
$result = $usersController->viewSingleUserRecord($userId);{
"type": "User",
"data": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "Sample contact ID",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700",
"locations": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
}
],
"primary_location": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
},
"received_emails": [
{
"subject": "Payment Receipt - 12skiestech",
"body": "This email is being sent from a server.",
"source_address": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"return_path": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"provider_id": "0100017e67bcc530-e1dd23b4-8a39-4a5b-8d5d-68d51c4c942f-000000",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"reason_sent": "Contact Email",
"reason_model": "Transaction",
"reason_model_id": "11e95f8ec39de8fbdb0a4f1a",
"reply_to": "\"Zeamster\" <emma.p@zeamster.com>",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992
}
],
"contact": {
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"account_number": "54545433332",
"contact_api_id": "137",
"first_name": "John",
"last_name": "Smith",
"cell_phone": "3339998822",
"balance": 245.36,
"address": {
"city": "Novi",
"state": "Michigan",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C"
},
"company_name": "Fortis Payment Systems, LLC",
"header_message": "This is a sample message for you",
"date_of_birth": "2021-12-01",
"email_trx_receipt": true,
"home_phone": "3339998822",
"office_phone": "3339998822",
"office_phone_ext": "5",
"header_message_type": 0,
"update_if_exists": 1,
"contact_c1": "any",
"contact_c2": "anything",
"contact_c3": "something",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"active": true
},
"isDeletable": true,
"active_notification_alerts": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"date_start": "2021-12-01 10:10:00",
"date_end": "2021-12-01 10:10:00",
"user_location": true,
"user_contact": true,
"include_children": true,
"alert_type": 1,
"alert_type_id": 1,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"location_users": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"auth_roles": [
{
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"auth_role_code": 110,
"code": 83931,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"changelogs": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"action": "CREATE",
"model": "TransactionRequest",
"model_id": "11ec829598f0d4008be9aba4",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_details": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_id": "11e95f8ec39de8fbdb0a4f1a",
"field": "next_run_ts",
"old_value": "1643616000"
}
],
"user": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"username": "email@domain.com",
"first_name": "Bob",
"last_name": "Fairview"
}
}
],
"resources": {
"title": "My terminal",
"priv": null,
"resource_name": "v2.addons.iframe.get",
"id": 5693,
"last_used_date": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"domain": {
"url": "fortispayrbyn9y.sandbox.zeamster.com",
"title": "Test Brand Domain Title 2",
"logo": "",
"support_email": "email@domain.com",
"allow_contact_signup": true,
"allow_contact_registration": true,
"allow_contact_login": true,
"registration_fields": [
"account_number"
],
"company_name": null,
"nav_color": null,
"button_primary_color": null,
"logo_background_color": null,
"icon_background_color": null,
"menu_text_background_color": null,
"menu_text_color": null,
"right_menu_background_color": null,
"right_menu_text_color": null,
"button_primary_text_color": null,
"nav_logo": null,
"fav_icon": null,
"aes_key": null,
"help_text": null,
"email_reply_to": "email@domain.com",
"email": "email@domain.com",
"custom_javascript": null,
"custom_theme": null,
"custom_css": null,
"contact_user_default_entry_page": "dashboard",
"contact_user_default_auth_roles": [
null
],
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"created_user": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "11e95f8ec39de8fbdb0a4f1a",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700"
},
"location_marketplaces": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"marketplace_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"email_blacklist": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"isBlacklisted": true,
"detail": true,
"created_ts": 1422040992
},
"helppage": {
"user_type_code": 100,
"body": "Sample Body",
"title": "Sample Title",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |
Update a user record
function updateAUserRecord(string $userId, V1UsersRequest1 $body, ?array $expand = null): ResponseUser| Parameter | Type | Tags | Description |
|---|---|---|---|
userId |
string |
Template, Required | User ID Constraints: Pattern: ^(([0-9a-fA-F]{24})|(([0-9a-fA-F]{8})-(([0-9a-fA-F]{4}\-){3})([0-9a-fA-F]{12})))$ |
body |
V1UsersRequest1 |
Body, Required | - |
expand |
?(string[]) (Expand77Enum) |
Query, Optional | Most endpoints in the API have a way to retrieve extra data related to the current record being retrieved. For example, if the API request is for the accountvaults endpoint, and the end user also needs to know which contact the token belongs to, this data can be returned in the accountvaults endpoint request. Constraints: Unique Items Required, Pattern: ^[\w]+$ |
$userId = '11e95f8ec39de8fbdb0a4f1a';
$body = new Models\V1UsersRequest1();
$result = $usersController->updateAUserRecord($userId, $body);{
"type": "User",
"data": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "Sample contact ID",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700",
"locations": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
}
],
"primary_location": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
},
"received_emails": [
{
"subject": "Payment Receipt - 12skiestech",
"body": "This email is being sent from a server.",
"source_address": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"return_path": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"provider_id": "0100017e67bcc530-e1dd23b4-8a39-4a5b-8d5d-68d51c4c942f-000000",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"reason_sent": "Contact Email",
"reason_model": "Transaction",
"reason_model_id": "11e95f8ec39de8fbdb0a4f1a",
"reply_to": "\"Zeamster\" <emma.p@zeamster.com>",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992
}
],
"contact": {
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"account_number": "54545433332",
"contact_api_id": "137",
"first_name": "John",
"last_name": "Smith",
"cell_phone": "3339998822",
"balance": 245.36,
"address": {
"city": "Novi",
"state": "Michigan",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C"
},
"company_name": "Fortis Payment Systems, LLC",
"header_message": "This is a sample message for you",
"date_of_birth": "2021-12-01",
"email_trx_receipt": true,
"home_phone": "3339998822",
"office_phone": "3339998822",
"office_phone_ext": "5",
"header_message_type": 0,
"update_if_exists": 1,
"contact_c1": "any",
"contact_c2": "anything",
"contact_c3": "something",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"active": true
},
"isDeletable": true,
"active_notification_alerts": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"date_start": "2021-12-01 10:10:00",
"date_end": "2021-12-01 10:10:00",
"user_location": true,
"user_contact": true,
"include_children": true,
"alert_type": 1,
"alert_type_id": 1,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"location_users": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"auth_roles": [
{
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"auth_role_code": 110,
"code": 83931,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"changelogs": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"action": "CREATE",
"model": "TransactionRequest",
"model_id": "11ec829598f0d4008be9aba4",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_details": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_id": "11e95f8ec39de8fbdb0a4f1a",
"field": "next_run_ts",
"old_value": "1643616000"
}
],
"user": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"username": "email@domain.com",
"first_name": "Bob",
"last_name": "Fairview"
}
}
],
"resources": {
"title": "My terminal",
"priv": null,
"resource_name": "v2.addons.iframe.get",
"id": 5693,
"last_used_date": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"domain": {
"url": "fortispayrbyn9y.sandbox.zeamster.com",
"title": "Test Brand Domain Title 2",
"logo": "",
"support_email": "email@domain.com",
"allow_contact_signup": true,
"allow_contact_registration": true,
"allow_contact_login": true,
"registration_fields": [
"account_number"
],
"company_name": null,
"nav_color": null,
"button_primary_color": null,
"logo_background_color": null,
"icon_background_color": null,
"menu_text_background_color": null,
"menu_text_color": null,
"right_menu_background_color": null,
"right_menu_text_color": null,
"button_primary_text_color": null,
"nav_logo": null,
"fav_icon": null,
"aes_key": null,
"help_text": null,
"email_reply_to": "email@domain.com",
"email": "email@domain.com",
"custom_javascript": null,
"custom_theme": null,
"custom_css": null,
"contact_user_default_entry_page": "dashboard",
"contact_user_default_auth_roles": [
null
],
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"created_user": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "11e95f8ec39de8fbdb0a4f1a",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700"
},
"location_marketplaces": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"marketplace_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"email_blacklist": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"isBlacklisted": true,
"detail": true,
"created_ts": 1422040992
},
"helppage": {
"user_type_code": 100,
"body": "Sample Body",
"title": "Sample Title",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |
| 412 | Precondition Failed | Response412Exception |
View self record
function viewSelfRecord(?array $expand = null): ResponseUser| Parameter | Type | Tags | Description |
|---|---|---|---|
expand |
?(string[]) (Expand77Enum) |
Query, Optional | Most endpoints in the API have a way to retrieve extra data related to the current record being retrieved. For example, if the API request is for the accountvaults endpoint, and the end user also needs to know which contact the token belongs to, this data can be returned in the accountvaults endpoint request. Constraints: Unique Items Required, Pattern: ^[\w]+$ |
$result = $usersController->viewSelfRecord();{
"type": "User",
"data": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "Sample contact ID",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700",
"locations": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
}
],
"primary_location": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"account_number": "5454545454545454",
"address": {
"city": "Novi",
"state": "MI",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C",
"street2": "43155 Main Street STE 2310-C"
},
"branding_domain_id": "11e95f8ec39de8fbdb0a4f1a",
"contact_email_trx_receipt_default": true,
"default_ach": "11e608a7d515f1e093242bb2",
"default_cc": "11e608a442a5f1e092242dda",
"developer_company_id": "11e95f8ec39de8fbdb0a4f1a",
"email_reply_to": "email@domain.com",
"fax": "3339998822",
"location_api_id": "location-111111",
"location_api_key": "AE34BBCAADF4AE34BBCAADF4",
"location_c1": "custom 1",
"location_c2": "custom 2",
"location_c3": "custom data 3",
"name": "Sample Company Headquarters",
"office_phone": "2481234567",
"office_ext_phone": "1021021209",
"recurring_notification_days_default": 0,
"tz": "America/New_York",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"ticket_hash_key": "A5F443CADF4AE34BBCAADF4"
},
"received_emails": [
{
"subject": "Payment Receipt - 12skiestech",
"body": "This email is being sent from a server.",
"source_address": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"return_path": "\"12skiestech A7t3qi\" <noreply@zeamster.email>",
"provider_id": "0100017e67bcc530-e1dd23b4-8a39-4a5b-8d5d-68d51c4c942f-000000",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"reason_sent": "Contact Email",
"reason_model": "Transaction",
"reason_model_id": "11e95f8ec39de8fbdb0a4f1a",
"reply_to": "\"Zeamster\" <emma.p@zeamster.com>",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992
}
],
"contact": {
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"account_number": "54545433332",
"contact_api_id": "137",
"first_name": "John",
"last_name": "Smith",
"cell_phone": "3339998822",
"balance": 245.36,
"address": {
"city": "Novi",
"state": "Michigan",
"postal_code": "48375",
"country": "US",
"street": "43155 Main Street STE 2310-C"
},
"company_name": "Fortis Payment Systems, LLC",
"header_message": "This is a sample message for you",
"date_of_birth": "2021-12-01",
"email_trx_receipt": true,
"home_phone": "3339998822",
"office_phone": "3339998822",
"office_phone_ext": "5",
"header_message_type": 0,
"update_if_exists": 1,
"contact_c1": "any",
"contact_c2": "anything",
"contact_c3": "something",
"parent_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"active": true
},
"isDeletable": true,
"active_notification_alerts": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"date_start": "2021-12-01 10:10:00",
"date_end": "2021-12-01 10:10:00",
"user_location": true,
"user_contact": true,
"include_children": true,
"alert_type": 1,
"alert_type_id": 1,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"location_users": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"auth_roles": [
{
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"auth_role_code": 110,
"code": 83931,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"changelogs": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"action": "CREATE",
"model": "TransactionRequest",
"model_id": "11ec829598f0d4008be9aba4",
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_details": [
{
"id": "11e95f8ec39de8fbdb0a4f1a",
"changelog_id": "11e95f8ec39de8fbdb0a4f1a",
"field": "next_run_ts",
"old_value": "1643616000"
}
],
"user": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"username": "email@domain.com",
"first_name": "Bob",
"last_name": "Fairview"
}
}
],
"resources": {
"title": "My terminal",
"priv": null,
"resource_name": "v2.addons.iframe.get",
"id": 5693,
"last_used_date": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"domain": {
"url": "fortispayrbyn9y.sandbox.zeamster.com",
"title": "Test Brand Domain Title 2",
"logo": "",
"support_email": "email@domain.com",
"allow_contact_signup": true,
"allow_contact_registration": true,
"allow_contact_login": true,
"registration_fields": [
"account_number"
],
"company_name": null,
"nav_color": null,
"button_primary_color": null,
"logo_background_color": null,
"icon_background_color": null,
"menu_text_background_color": null,
"menu_text_color": null,
"right_menu_background_color": null,
"right_menu_text_color": null,
"button_primary_text_color": null,
"nav_logo": null,
"fav_icon": null,
"aes_key": null,
"help_text": null,
"email_reply_to": "email@domain.com",
"email": "email@domain.com",
"custom_javascript": null,
"custom_theme": null,
"custom_css": null,
"contact_user_default_entry_page": "dashboard",
"contact_user_default_auth_roles": [
null
],
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992
},
"created_user": {
"account_number": "5454545454545454",
"address": "43155 Main Street STE 2310-C",
"branding_domain_url": "{branding_domain_url}",
"cell_phone": "3339998822",
"city": "Novi",
"company_name": "Fortis Payment Systems, LLC",
"contact_id": "11e95f8ec39de8fbdb0a4f1a",
"date_of_birth": "2021-12-01",
"domain_id": "11e95f8ec39de8fbdb0a4f1a",
"email": "email@domain.com",
"email_trx_receipt": true,
"home_phone": "3339998822",
"first_name": "John",
"last_name": "Smith",
"locale": "en-US",
"office_phone": "3339998822",
"office_ext_phone": "5",
"primary_location_id": "11e95f8ec39de8fbdb0a4f1a",
"requires_new_password": null,
"state": "Michigan",
"terms_condition_code": "20220308",
"tz": "America/New_York",
"ui_prefs": {
"entry_page": "dashboard",
"page_size": 2,
"report_export_type": "csv",
"process_method": "virtual_terminal",
"default_terminal": "11e95f8ec39de8fbdb0a4f1a"
},
"username": "{user_name}",
"user_api_key": "234bas8dfn8238f923w2",
"user_hash_key": null,
"user_type_code": 100,
"password": null,
"zip": "48375",
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"status_id": true,
"id": "11e95f8ec39de8fbdb0a4f1a",
"status": true,
"login_attempts": 0,
"last_login_ts": 1422040992,
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"terms_accepted_ts": 1422040992,
"terms_agree_ip": "192.168.0.10",
"current_date_time": "2019-03-11T10:38:26-0700"
},
"location_marketplaces": [
{
"location_id": "11e95f8ec39de8fbdb0a4f1a",
"marketplace_id": "11e95f8ec39de8fbdb0a4f1a",
"location_api_id": null,
"user_id": "11e95f8ec39de8fbdb0a4f1a",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
],
"email_blacklist": {
"id": "11e95f8ec39de8fbdb0a4f1a",
"isBlacklisted": true,
"detail": true,
"created_ts": 1422040992
},
"helppage": {
"user_type_code": 100,
"body": "Sample Body",
"title": "Sample Title",
"id": "11e95f8ec39de8fbdb0a4f1a",
"created_ts": 1422040992,
"modified_ts": 1422040992,
"created_user_id": "11e95f8ec39de8fbdb0a4f1a",
"modified_user_id": "11e95f8ec39de8fbdb0a4f1a"
}
}
}| HTTP Status Code | Error Description | Exception Class |
|---|---|---|
| 401 | Unauthorized | Response401tokenException |