APIs are HTTP-based APIs for authorization. API request and response bodies are formatted in JSON.
When you click on Generate Keys button from the InsurePay Website API's section, you will get two keys that is Public Key and Private Key. Refresh Key can be generated via API.
Key | Description |
---|---|
Public | Public key will not change once it is generated in other words it's a Unique Key |
Private | Private Key can be generated as many times as you click on Generate Key button and of course once you change/ click on generate key button the previous generated key will not work |
Refresh | Required for making the payment. It is valid for only one time |
To construct a REST API request, combine below components and return response in json format:
Attribute | Description |
---|---|
HTTP Method | POST |
End Point |
https://zifflepay.com/v3/states
|
Header | Required. Includes the Authorization header with the access identifier and token
Accept Content-Type Access-Identifier Access-Token Refresh-Token
|
Request Data | Optional. accept only JSON format
{"country_code": "US"}
|
Response Data | Return the JSON format with success/error code
{"code":"200","message":"success","country":{"states":[{"id": "123","name": "Alaska","code": "AK"}, {"id": "122","name": "Alabama","code": "AL"}]}}
|
Request
curl POST https://zifflepay.com/v3/states/
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{"country_code":"US"}
Response
{ "code": 200, "message": "success", "country": { "states": [ { "id": "123", "name": "Alaska", "code": "AK" }, { "id": "122", "name": "Alabama", "code": "AL" } ] } }
To construct the API, combine these components to generate results.
Header | Type | Is Required | Description |
---|---|---|---|
Accept | JSON | Required |
Required for operations with a response body. Specifies the response format |
Content-Type | JSON | Required |
Required for operations with a response body. Specifies the response format |
Access-Identifier | JSON | Required |
Required to get an access identifiers |
Access-Token | JSON | Optional |
Required to get an access identifiers |
Refresh-Token | JSON | Optional |
Required to get an access identifiers |
A unique URL that represents an object or collection of objects
Type | End-Point | Description |
---|---|---|
Token | ||
Refresh Token | https://zifflepay.com/v3/tokens/refresh/ | Generate Regresh Token |
Client | ||
Create | https://zifflepay.com/v3/clients/create/ | Create a new client |
Update | https://zifflepay.com/v3/clients/update{CLIENT_ID} | Update any existing client |
View | https://zifflepay.com/v3/clients/view/CLIENT_ID} | Get details of existing client |
List | https://zifflepay.com/v3/clients/ | Fetch all clients list |
Item | ||
Create | https://zifflepay.com/v3/items/create/ | Create a new item |
Update | https://zifflepay.com/v3/items/update{ITEM_ID} | Update any existing item |
View | https://zifflepay.com/v3/items/view/ITEM_ID} | Get details of existing item |
List | https://zifflepay.com/v3/items/ | Fetch all item list |
Invoice | ||
Send | https://zifflepay.com/v3/invoices/send/ | Create new invoice and send |
Payment | https://zifflepay.com/v3/invoices/payment/ | Create new invoice and payment |
Country | ||
List | https://zifflepay.com/v3/countries/ | Get country list |
State | ||
List | https://zifflepay.com/v3/states/ | Get state list basis of country-code |
API calls return HTTP status codes. API calls also return JSON response bodies that include information. Each REST API request returns a success or error HTTP status code
Code | Description | |
---|---|---|
1 | Success | |
2 | Header missing | |
3 | Body missing | |
4 | Header invalid | |
5 | Body invalid | |
Token | ||
101 | Token missing | |
102 | Token invalid | |
Client | ||
201 | Client missing | |
202 | Client invalid | |
Item | ||
301 | Item missing | |
302 | Item invalid | |
Invoice | ||
401 | Invoice missing | |
402 | Invoice invalid |
The Client's API allows you to create, delete, and update your customers. You can retrieve individual customers as well as a list of all your customers. The client object define client's details, such as action
, company_name
, first_name
, last_name
, email
, username
, address
, country_code
, state_code
, city
, zip
, phone_number
, cell_phone
and so on.
Add new client.
username
, password
, login_url
).
Request
curl POST https://zifflepay.com/v3/clients/create/
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{ "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225", "send_notification": false }
Response
{ "code": 200, "message": "success", "client": { "client_id": "3671568543137_5d7e11a1a70c570", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" } }
Update any existing client. For updating your need client_id
Request
curl PUT https://zifflepay.com/v3/clients/update/client_id
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{ "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225", "send_notification": false }
Response
{ "code": 200, "message": "success", "client": { "client_id": "3671568543137_5d7e11a1a70c570", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" } }
Get details of any existing client. You can fetch client's details using client_id
Request
curl GET https://zifflepay.com/v3/clients/view/client_id
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
Response
{ "code": 200, "message": "success", "client": { "client_id": "3671568543137_5d7e11a1a70c570", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" } }
Get existing client details.
Request
curl GET https://zifflepay.com/v3/clients
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
Response
{ "code": 200, "message": "success", "client": [ { "client_id": "3671568543137_5d7e11a1a70c560", "company_name": "Superior Insurance Pvt Ltd", "first_name": "Ryan ", "last_name": "Pegram", "email": "ryan.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558444", "cell_phone": "8456985355" }, { "client_id": "3671568543137_5d7e11a1a70c570", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" } ] }
The Item's API allows you to create, delete, and update item. An array of item object. The item object define item's details, such as action
, name
, description
, unit_cost
, quantity
, tax1
, tax2
, service_type
and unit_in_stock
.
Add new item.
Request
curl POST https://zifflepay.com/v3/items/create/
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{ "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" }
Response
{ "code": 200, "message": "success", "item": { "item_id": "1211568691056_5d805370e7b6458", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } }
Update any existing item. For updating your need item_id
Request
curl PUT https://zifflepay.com/v3/items/update/item_id
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{ "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" }
Response
{ "code": 200, "message": "success", "item": { "item_id": "1211568691056_5d805370e7b6458", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } }
Get details of any existing item. You can fetch item's details using item_id
Request
curl GET https://zifflepay.com/v3/items/view/item_id
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
Response
{ "code": 200, "message": "success", "item": { "item_id": "1211568691056_5d805370e7b6458", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } }
Get existing item details.
Request
curl GET https://zifflepay.com/v3/items
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
Response
{ "code": 200, "message": "success", "item": [ { "item_id": "1211568691056_5d805370e7b6475", "name": "Car Insurance", "description": "5 years plan.", "unit_cost": "1000", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" }, { "item_id": "1211568691056_5d805370e7b6458", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } ] }
Use the Invoice API to create, send, and manage invoices. To manage invoices, you can also list invoices, show details for invoices, delete draft invoices, and cancel sent invoices. The invoice object include invoice's details such as client's details, item's details, amount's details and so on.
Creates a invoice and send to client
send_notification
must be send_invoice_pdf
is set as send_notification
must be inform_via
is defined.
client_id
or client's details, such as action
, company_name
, first_name
, last_name
, email
, username
, address
, country_code
, state_code
, city
, zip
, phone_number
, cell_phone
and so on.
item_id
, unit_cost
, quantity
, tax1
, tax2
.
action
, name
, description
, unit_cost
, quantity
, tax1
, tax2
, service_type
and unit_in_stock
.
Example 1
Request
curl POST https://zifflepay.com/v3/invoices/send/
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{ "type": "simple", "po_number": "123456", "date_of_issue": "2018-08-25", "discount": "0.00", "send_notification": "False", "send_invoice_pdf": "False", "inform_via": "Email", "terms": "", "notes": "", "client": { "client_id": "32615678572837_5d83198595aea78" }, "items": [ { "item_id": "32615678572837_5d8319859DFRea78", "unit_cost": "10", "quantity": "1", "tax1": "2.00", "tax2": "3.00" } ] }
Response
{ "code": 1, "message": "success", "invoice": { "invoice_id": "3261568872837_5d83198595aea78", "invoice_no": "000006", "type": "simple", "po_number": "123456", "discount": "0.00", "send_notification": true, "send_invoice_pdf": true, "send_invoice_reminder": false, "inform_via": "Email", "invoice_status": "sent", "terms": "", "notes": "", "client": { "client_id": "3261568872885_5d83198595aea965", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" }, "items": [ { "item_id": "3267868872885_5d83862595aea965", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "10", "quantity": "1", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } ], "amount": { "total": "10.00", "tax": "0.00", "discount": "0.00", "processing_fees": "5.00", "paid": "0.00", "balance": "15.00" } } }
Example 2
Request
curl POST https://zifflepay.com/v3/invoices/send/
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Access-Token : Access-Token
"
-d
{ "type": "simple", "po_number": "123456", "date_of_issue": "2018-08-25", "discount": "0.00", "send_notification": "False", "send_invoice_pdf": "False", "inform_via": "Email", "terms": "", "notes": "", "client": { "action": "client_create", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225", "send_notification": false }, "items": [ { "action": "item_create", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "10", "quantity": "1", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } ] }
Response
{ "code": 1, "message": "success", "invoice": { "invoice_id": "3261568872837_5d83198595aea78", "invoice_no": "000006", "type": "simple", "po_number": "123456", "discount": "0.00", "send_notification": true, "send_invoice_pdf": true, "send_invoice_reminder": false, "inform_via": "Email", "invoice_status": "sent", "terms": "", "notes": "", "client": { "client_id": "3261568872885_5d83198595aea965", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" }, "items": [ { "item_id": "3267868872885_5d83862595aea965", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "10", "quantity": "1", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } ], "amount": { "total": "10.00", "tax": "0.00", "discount": "0.00", "processing_fees": "5.00", "paid": "0.00", "balance": "15.00" } } }
Creates a invoice and send payment request to client
send_notification
must be send_invoice_pdf
is set as send_notification
must be inform_via
is defined.
client_id
or client's details, such as action
, company_name
, first_name
, last_name
, email
, username
, address
, country_code
, state_code
, city
, zip
, phone_number
, cell_phone
and so on.
item_id
, unit_cost
, quantity
, tax1
, tax2
.
action
, name
, description
, unit_cost
, quantity
, tax1
, tax2
, service_type
and unit_in_stock
.
card
object is required
ach
object is required
number
, expiry_year
, expiry_month
, cvv
routing_number
, account_number
ach
object is required if payment_mode
is set as Example 1
Payment By Card
Request
curl POST https://zifflepay.com/v3/invoices/payment
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Refresh-Token : Refresh-Token
"
-d
{ "type": "simple", "po_number": "123456", "date_of_issue": "2018-08-25", "discount": "0.00", "send_notification": "False", "send_invoice_pdf": "False", "inform_via": "Email", "terms": "", "notes": "", "client": { "client_id": "32615678572837_5d83198595aea78" }, "items": [ { "item_id": "32615678572837_5d8319859DFRea78", "unit_cost": "10", "quantity": "1", "tax1": "0.00", "tax2": "0.00" } ], "card": { "number": "4111111111111111", "expiry_month": "12", "expiry_year": "2023", "cvv": "110" } }
Response
{ "code": 1, "message": "success", "invoice": { "invoice_id": "5791569389266_5d8afad26583531", "invoice_no": "000006", "type": "simple", "po_number": "123456", "discount": "0.00", "send_notification": true, "send_invoice_pdf": true, "send_invoice_reminder": false, "inform_via": "Email", "invoice_status": "paid", "terms": "", "notes": "", "client": { "client_id": "3261568872885_5d83198595aea965", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" }, "items": [ { "item_id": "3267868872885_5d83862595aea965", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "10", "quantity": "1", "tax1": "0.00", "tax2": "0.00", "service_type": true, "unit_in_stock": "0" } ], "amount": { "total": "10.00", "tax": "0.00", "discount": "0.00", "processing_fees": "5.00", "paid": "15.00", "balance": "0.00" }, "transaction": { "status": "Paid", "payment_id": "1311569389269_5d8afad579d9a40", "invoice_id": "5791569389266_5d8afad26583531" } } }
Example 2
Payment By Card
Request
curl POST https://zifflepay.com/v3/invoices/payment
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Refresh-Token : Refresh-Token
"
-d
{ "type": "simple", "po_number": "123456", "date_of_issue": "2018-08-25", "discount": "0.00", "send_notification": "False", "send_invoice_pdf": "False", "inform_via": "Email", "terms": "", "notes": "", "client": { "action": "client_create", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225", "send_notification": false }, "items": [ { "action": "item_create", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "10", "quantity": "1", "tax1": "0.00", "tax2": "0.00", "service_type": true, "unit_in_stock": "0" } ], "payment_mode": "card", "card": { "number": "4111111111111111", "expiry_month": "12", "expiry_year": "2023", "cvv": "110" } }
Response
{ "code": 1, "message": "success", "invoice": { "invoice_id": "5791569389266_5d8afad26583785", "invoice_no": "000006", "type": "simple", "po_number": "123456", "discount": "0.00", "send_notification": true, "send_invoice_pdf": true, "send_invoice_reminder": false, "inform_via": "Email", "invoice_status": "paid", "terms": "", "notes": "", "client": { "client_id": "3261568872885_5d83198595aea965", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" }, "items": [ { "item_id": "3267868872885_5d83862595aea965", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "10", "quantity": "1", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } ], "amount": { "total": "10.00", "tax": "0.00", "discount": "0.00", "processing_fees": "5.00", "paid": "15.00", "balance": "0.00" }, "transaction": { "status": "Paid", "payment_id": "1311569389269_5d8afad579d9a40", "invoice_id": "5791569389266_5d8afad26583785" } } }
Example 3
Payment By ACH
Request
curl POST https://zifflepay.com/v3/invoices/payment
-H "Accept : application/json"
-H "Content-Type : application/json"
-H "Access-Identifier : Access-Identifier
"
-H "Refresh-Token : Refresh-Token
"
-d
{ "type": "simple", "po_number": "123456", "date_of_issue": "2018-08-25", "discount": "0.00", "send_notification": "False", "send_invoice_pdf": "False", "inform_via": "Email", "terms": "", "notes": "", "client": { "action": "client_create", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225", "send_notification": false }, "items": [ { "action": "item_create", "name": "Car Insurance", "description": "1 year plan.", "unit_cost": "10", "quantity": "1", "tax1": "0.00", "tax2": "0.00", "service_type": true, "unit_in_stock": "0" } ], "payment_mode": "ach", "ach": { "routing_number": "110000000", "account_number": "000123456789" } }
Response
{ "code": 1, "message": "success", "invoice": { "invoice_id": "5791569389266_5d8afad26583541", "invoice_no": "000006", "type": "simple", "po_number": "123456", "discount": "0.00", "send_notification": true, "send_invoice_pdf": true, "send_invoice_reminder": false, "inform_via": "Email", "invoice_status": "paid", "terms": "", "notes": "", "client": { "client_id": "3261568872885_5d83198595aea965", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "password": "THZXEFO@SW", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" }, "items": [ { "item_id": "3267868872885_5d83862595aea856", "name": "Car Insurance", "description": "15 year plan.", "unit_cost": "10", "quantity": "1", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" } ], "amount": { "total": "10.00", "tax": "0.00", "discount": "0.00", "processing_fees": "1.50", "paid": "11.50", "balance": "0.00" }, "transaction": { "status": "Paid", "payment_id": "1311569389269_5d8afad579d9a55", "invoice_id": "5791569389266_5d8afad26583541" } } }
The fundamental concept in any RESTful API is the resource. A resource is an object with a type, associated data, relationships to other resources
The client details, such as first name, last name, email, username, password, login url and so on.
{ "client_id": "3671568543137_5d7e11a1a70c570", "company_name": "Superior Insurance", "first_name": "Derick ", "last_name": "Pegram", "email": "derick.pegram@superiorInsurance.com", "username": "derick123", "login_url": "https://zifflepay.com/users/login/", "address": "12000 Washington Street Suite 290", "country_code": "US", "state_code": "CO", "city": "Denver", "zip": "80022", "phone_number": "8574558555", "cell_phone": "8456985225" }
The item details, such as name, description, unit cost and so on.
{ "item_id": "1211568691056_5d805370e7b6458", "name": "Health Insurance", "description": "Long terms. 35 years plan.", "unit_cost": "100", "quantity": "1", "tax1": "2.00", "tax2": "3.00", "service_type": true, "unit_in_stock": "0" }