| Required role: | Merchant |
| POST | /users/{userKey}/contact-us | Send a message from the user to support contact. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserKey | path | int | Yes | |
| MerchantKey | model | int | Yes | |
| UserMessage | model | string | Yes | |
| ToAddress | model | string | Yes | |
| CCAddress | model | string | No | |
| BCCAddress | model | string | No | |
| LanguageCode | model | LanguageCode | No |
| en_us |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StatusCode | form | int | No | |
| StatusString | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /users/{userKey}/contact-us HTTP/1.1
Host: syntch.simpay.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
UserKey: 0,
MerchantKey: 0,
UserMessage: String,
ToAddress: String,
CCAddress: String,
BCCAddress: String,
LanguageCode: en_us
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
StatusCode: 0,
StatusString: String
}