Get a list of pending requests
GET/api/v3/_chargeoverjs
Get a list of pending ChargeOver.js requests.
Each object will contain a JSON-encoded payload of data submitted via ChargeOver.js.
Request
Responses
- 200
- 400
- 401
- 404
Object was fetched successfully
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response object
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": {}
}
{
"code": 200,
"status": "OK",
"message": "",
"response": [
{
"action": "customer.create",
"payload": "{\"customer\":{\"company\":\"Test Company, LLC\",\"bill_addr1\":\"56 Cowles Road\",\"bill_addr2\":\"\",\"bill_addr3\":\"\",\"bill_city\":\"Mt Pleasant\",\"bill_state\":\"MI\",\"bill_postcode\":\"48858\",\"bill_country\":\"United States\",\"custom_1\":\"\",\"custom_2\":\"\",\"custom_3\":\"\"},\"user\":{\"name\":\"John Doe\",\"phone\":\"888-924-2347\",\"email\":\"test@ChargeOver.com\"}}",
"token": "9w5jdiqz1pf7h8ga",
"chargeoverjs_id": 1
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 400,
"status": "Error",
"message": "Missing or invalid parameter.",
"details": {},
"response": false
}
Authentication error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 401,
"status": "Error",
"message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
"details": {},
"response": false
}
Object not found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response booleannullable
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 404,
"status": "Error",
"message": "This object does not exist.",
"details": {},
"response": null
}
Loading...