Posting Specification (JSON)
The objective of this documentation is to present the methodology of connecting to DOT818's environment and transmit a customer's details. The information contained in this document is proprietary and to be used only as defined within and by those it is directly shared with from DOT818.
The intended audience for this documentation would be those individuals who are responsible for the development, testing, and implementation of code that is designed to communicate with web-based APIs.
Protocol Details
Request
{
"referral": {
"channelid": "provided",
"password": "provided"
},
"customer": {
"fname": "Bill",
"lname": "Smith",
"phone": 8888888888
}
}
| No. | Field | Description | Type | Possible Value(s) | Required |
|---|---|---|---|---|---|
| CUSTOMER | |||||
| 1. | channelid |
Seller Account ID | Provided | RwTrQ | Yes |
| 2. | password |
Seller Account Password | Provided | 8cPIYWTFUaxQ1606wyc5LQ9igzSIBruY | Yes |
| REFERRAL | |||||
| 3. | fname |
First Name | String [2-128] | No | |
| 4. | lname |
Last Name | String [2-128] | No | |
| 5. | phone |
Mobile Phone Number | Numeric [10] | No delimiters | Yes |
Responses
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"status": "success",
"message": null,
"price": "0.001"
}
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"status": "decline",
"message": null,
"price": null
}
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"status": "error",
"message": "error message here",
"price": null
}
