{
    "openapi": "3.1.0",
    "info": {
        "title": "ChargeOver REST API",
        "description": "The ChargeOver API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and to use HTTP response codes to indicate API errors. JSON will be returned in all responses from the API, including errors.",
        "version": "0.0.1"
    },
    "servers": [
        {
            "url": "https:\/\/{instance}.chargeover.com",
            "variables": {
                "instance": {
                    "default": "example",
                    "description": "ChargeOver instance\/account name"
                }
            }
        }
    ],
    "paths": {
        "\/api\/v3\/customer": {
            "post": {
                "summary": "Create a customer",
                "description": "Note that the response\/id value will be the customer_id value for the newly created customer.",
                "externalDocs": {
                    "description": "Create a customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-a-customer"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "parent_customer_id": {
                                        "type": "integer",
                                        "description": "Parent customer ID #"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "company": {
                                        "type": "string",
                                        "description": "Company\/customer name"
                                    },
                                    "language_id": {
                                        "type": "integer",
                                        "description": "Language ID #"
                                    },
                                    "currency_id": {
                                        "type": "integer",
                                        "description": "Currency ID #"
                                    },
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Default class tracking ID #"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/Worker ID number"
                                    },
                                    "campaign_id": {
                                        "type": "integer",
                                        "description": "Campaign\/lead source ID #"
                                    },
                                    "campaign_details": {
                                        "type": "string",
                                        "description": "Campaign\/lead source details"
                                    },
                                    "superuser_username": {
                                        "type": "string",
                                        "description": "Main contact username"
                                    },
                                    "superuser_email": {
                                        "type": "string",
                                        "description": "Main contact e-mail address"
                                    },
                                    "superuser_name": {
                                        "type": "string",
                                        "description": "Main contact name"
                                    },
                                    "superuser_first_name": {
                                        "type": "string",
                                        "description": "Main contact first name"
                                    },
                                    "superuser_last_name": {
                                        "type": "string",
                                        "description": "Main contact last name"
                                    },
                                    "superuser_phone": {
                                        "type": "string",
                                        "description": "Main contact phone number"
                                    },
                                    "superuser_mobile": {
                                        "type": "string",
                                        "description": "Main contact mobile number"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state\/province"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "custom_21": {
                                        "type": "string",
                                        "description": "Custom field #21"
                                    },
                                    "custom_22": {
                                        "type": "string",
                                        "description": "Custom field #22"
                                    },
                                    "custom_23": {
                                        "type": "string",
                                        "description": "Custom field #23"
                                    },
                                    "custom_24": {
                                        "type": "string",
                                        "description": "Custom field #24"
                                    },
                                    "custom_25": {
                                        "type": "string",
                                        "description": "Custom field #25"
                                    },
                                    "custom_26": {
                                        "type": "string",
                                        "description": "Custom field #26"
                                    },
                                    "custom_27": {
                                        "type": "string",
                                        "description": "Custom field #27"
                                    },
                                    "custom_28": {
                                        "type": "string",
                                        "description": "Custom field #28"
                                    },
                                    "custom_29": {
                                        "type": "string",
                                        "description": "Custom field #29"
                                    },
                                    "custom_30": {
                                        "type": "string",
                                        "description": "Custom field #30"
                                    },
                                    "custom_31": {
                                        "type": "string",
                                        "description": "Custom field #31"
                                    },
                                    "custom_32": {
                                        "type": "string",
                                        "description": "Custom field #32"
                                    },
                                    "custom_33": {
                                        "type": "string",
                                        "description": "Custom field #33"
                                    },
                                    "custom_34": {
                                        "type": "string",
                                        "description": "Custom field #34"
                                    },
                                    "custom_35": {
                                        "type": "string",
                                        "description": "Custom field #35"
                                    },
                                    "custom_36": {
                                        "type": "string",
                                        "description": "Custom field #36"
                                    },
                                    "custom_37": {
                                        "type": "string",
                                        "description": "Custom field #37"
                                    },
                                    "custom_38": {
                                        "type": "string",
                                        "description": "Custom field #38"
                                    },
                                    "custom_39": {
                                        "type": "string",
                                        "description": "Custom field #39"
                                    },
                                    "custom_40": {
                                        "type": "string",
                                        "description": "Custom field #40"
                                    },
                                    "custom_41": {
                                        "type": "string",
                                        "description": "Custom field #41"
                                    },
                                    "custom_42": {
                                        "type": "string",
                                        "description": "Custom field #42"
                                    },
                                    "custom_43": {
                                        "type": "string",
                                        "description": "Custom field #43"
                                    },
                                    "custom_44": {
                                        "type": "string",
                                        "description": "Custom field #44"
                                    },
                                    "custom_45": {
                                        "type": "string",
                                        "description": "Custom field #45"
                                    },
                                    "custom_46": {
                                        "type": "string",
                                        "description": "Custom field #46"
                                    },
                                    "custom_47": {
                                        "type": "string",
                                        "description": "Custom field #47"
                                    },
                                    "custom_48": {
                                        "type": "string",
                                        "description": "Custom field #48"
                                    },
                                    "custom_49": {
                                        "type": "string",
                                        "description": "Custom field #49"
                                    },
                                    "custom_50": {
                                        "type": "string",
                                        "description": "Custom field #50"
                                    },
                                    "brand_id": {
                                        "type": "integer",
                                        "description": "Brand ID #"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Default terms ID number"
                                    },
                                    "no_taxes": {
                                        "type": "boolean",
                                        "description": "Flag to disable charging of taxes"
                                    },
                                    "no_dunning": {
                                        "type": "boolean",
                                        "description": "Flag to disable dunning"
                                    },
                                    "no_latefees": {
                                        "type": "boolean",
                                        "description": "Flag to disable late fees"
                                    },
                                    "no_procfees": {
                                        "type": "boolean",
                                        "description": "Flag to disable processing fees"
                                    },
                                    "invoice_delivery": {
                                        "type": "string",
                                        "enum": [
                                            "print",
                                            "email"
                                        ],
                                        "description": "Delivery method for initial invoices (\"email\" or \"print\" for printed hard-copy)"
                                    },
                                    "dunning_delivery": {
                                        "type": "string",
                                        "enum": [
                                            "print",
                                            "email"
                                        ],
                                        "description": "Delivery method for dunning\/reminder invoices (\"email\" or \"print\" for printed hard-copy via Docsaway, Lob, etc.)"
                                    },
                                    "tax_ident": {
                                        "type": "string",
                                        "description": "Tax ID #\/VAT #"
                                    },
                                    "tags": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "A list of tags"
                                    }
                                },
                                "required": [
                                    "company"
                                ]
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "company": "Test Company Name",
                                        "bill_addr1": "16 Dog Lane",
                                        "bill_addr2": "Suite D",
                                        "bill_city": "Storrs",
                                        "bill_state": "CT",
                                        "superuser_name": "Karli Marie",
                                        "superuser_phone": "860-647-8567",
                                        "superuser_email": "karli@example.com",
                                        "tags": [
                                            "tag1",
                                            "tag2"
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Query for customers",
                "description": "Notes:\n<ul>\n\t<li>The <code>superuser_id<\/code> field is the primary contact (user) for this customer<\/li>\n<\/ul>\n\nAvailable query parameter values for filtering:\n\n<ul>\n\t<li><code>customer_id<\/code><\/li>\n\t<li><code>parent_customer_id<\/code><\/li>\n\t<li><code>bill_state<\/code><\/li>\n\t<li><code>ship_state<\/code><\/li>\n\t<li><code>bill_country<\/code><\/li>\n\t<li><code>ship_country<\/code><\/li>\n\t<li><code>external_key<\/code><\/li>\n\t<li><code>token<\/code><\/li>\n\t<li><code>company<\/code><\/li>\n\t<li><code>superuser_id<\/code><\/li>\n\t<li><code>superuser_email<\/code><\/li>\n\t<li><code>custom_1<\/code><\/li>\n\t<li><code>custom_2<\/code><\/li>\n\t<li><code>custom_3<\/code><\/li>\n\t<li><code>custom_4<\/code><\/li>\n\t<li><code>custom_5<\/code><\/li>\n\t<li><code>custom_6<\/code><\/li>\n\t<li><code>custom_7<\/code><\/li>\n\t<li><code>custom_8<\/code><\/li>\n\t<li><code>custom_9<\/code><\/li>\n\t<li><code>custom_10<\/code><\/li>\n\t<li><code>custom_11<\/code><\/li>\n\t<li><code>custom_12<\/code><\/li>\n\t<li><code>custom_13<\/code><\/li>\n\t<li><code>custom_14<\/code><\/li>\n\t<li><code>custom_15<\/code><\/li>\n\t<li><code>custom_16<\/code><\/li>\n\t<li><code>custom_17<\/code><\/li>\n\t<li><code>custom_18<\/code><\/li>\n\t<li><code>custom_19<\/code><\/li>\n\t<li><code>custom_20<\/code><\/li>\n\t<li><code>custom_21<\/code><\/li>\n\t<li><code>custom_22<\/code><\/li>\n\t<li><code>custom_23<\/code><\/li>\n\t<li><code>custom_24<\/code><\/li>\n\t<li><code>custom_25<\/code><\/li>\n\t<li><code>custom_26<\/code><\/li>\n\t<li><code>custom_27<\/code><\/li>\n\t<li><code>custom_28<\/code><\/li>\n\t<li><code>custom_29<\/code><\/li>\n\t<li><code>custom_30<\/code><\/li>\n\t<li><code>custom_31<\/code><\/li>\n\t<li><code>custom_32<\/code><\/li>\n\t<li><code>custom_33<\/code><\/li>\n\t<li><code>custom_34<\/code><\/li>\n\t<li><code>custom_35<\/code><\/li>\n\t<li><code>custom_36<\/code><\/li>\n\t<li><code>custom_37<\/code><\/li>\n\t<li><code>custom_38<\/code><\/li>\n\t<li><code>custom_39<\/code><\/li>\n\t<li><code>custom_40<\/code><\/li>\n\t<li><code>custom_41<\/code><\/li>\n\t<li><code>custom_42<\/code><\/li>\n\t<li><code>custom_43<\/code><\/li>\n\t<li><code>custom_44<\/code><\/li>\n\t<li><code>custom_45<\/code><\/li>\n\t<li><code>custom_46<\/code><\/li>\n\t<li><code>custom_47<\/code><\/li>\n\t<li><code>custom_48<\/code><\/li>\n\t<li><code>custom_49<\/code><\/li>\n\t<li><code>custom_50<\/code><\/li>\n\n\t<li><code>write_datetime<\/code> - date\/time created<\/li>\n\t<li><code>mod_datetime<\/code> - date\/time last modified<\/li>\n<\/ul>\n\n\nValid values for <code>customer_status_state<\/code>:\n\n<ul>\n\t<li>a (for active customers)<\/li>\n\t<li>i (for customers who have manually been marked \"inactive\" or who have had no recent activity)<\/li>\n<\/ul>\n\nValid values for <code>customer_status_str<\/code>:\n\n<ul>\n\t<li>active-current<\/li>\n\t<li>active-overdue<\/li>\n\t<li>inactive-manual<\/li>\n\t<li>inactive-activity<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Query for customers",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-for-customers"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "bill_country:EQUALS:Canada"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer",
                                                        "description": "Parent customer ID #"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Customer Token"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer",
                                                        "description": "Main contact ID #"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "display_as": {
                                                        "type": "string",
                                                        "description": "Deprecated"
                                                    },
                                                    "company": {
                                                        "type": "string",
                                                        "description": "Company\/customer name"
                                                    },
                                                    "language_id": {
                                                        "type": "integer",
                                                        "description": "Language ID #"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer",
                                                        "description": "Currency ID #"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string",
                                                        "description": "ISO 4217 currency code representation"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string",
                                                        "description": "Symbol for currency ($, \u00a3, etc.)"
                                                    },
                                                    "class_id": {
                                                        "type": "integer",
                                                        "description": "Default class tracking ID #"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer",
                                                        "description": "Admin\/Worker ID number"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer",
                                                        "description": "Campaign\/lead source ID #"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string",
                                                        "description": "Main contact username"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string",
                                                        "description": "Main contact e-mail address"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string",
                                                        "description": "Main contact name"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string",
                                                        "description": "Main contact first name"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string",
                                                        "description": "Main contact last name"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string",
                                                        "description": "Main contact phone number"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string",
                                                        "description": "Main contact mobile number"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string",
                                                        "description": "Main contact token"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string",
                                                        "description": "Main contact title"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string",
                                                        "description": "Billing address line 1"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string",
                                                        "description": "Billing address line 2"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "bill_city": {
                                                        "type": "string",
                                                        "description": "Billing address city"
                                                    },
                                                    "bill_state": {
                                                        "type": "string",
                                                        "description": "Billing address state\/province"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string",
                                                        "description": "Billing address postal code"
                                                    },
                                                    "bill_country": {
                                                        "type": "string",
                                                        "description": "Billing address country"
                                                    },
                                                    "bill_block": {
                                                        "type": "string",
                                                        "description": "Printable billing address"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string",
                                                        "description": "Shipping address line 1"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string",
                                                        "description": "Shipping address line 2"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "ship_city": {
                                                        "type": "string",
                                                        "description": "Shipping address city"
                                                    },
                                                    "ship_state": {
                                                        "type": "string",
                                                        "description": "Shipping address state"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string",
                                                        "description": "Shipping address postal code"
                                                    },
                                                    "ship_country": {
                                                        "type": "string",
                                                        "description": "Shipping address country"
                                                    },
                                                    "ship_block": {
                                                        "type": "string",
                                                        "description": "Printable shipping address"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field #5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field #6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field #7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field #8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field #9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field #10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field #11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field #12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field #13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field #14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field #15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field #16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field #17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field #18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field #19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field #20"
                                                    },
                                                    "custom_21": {
                                                        "type": "string",
                                                        "description": "Custom field #21"
                                                    },
                                                    "custom_22": {
                                                        "type": "string",
                                                        "description": "Custom field #22"
                                                    },
                                                    "custom_23": {
                                                        "type": "string",
                                                        "description": "Custom field #23"
                                                    },
                                                    "custom_24": {
                                                        "type": "string",
                                                        "description": "Custom field #24"
                                                    },
                                                    "custom_25": {
                                                        "type": "string",
                                                        "description": "Custom field #25"
                                                    },
                                                    "custom_26": {
                                                        "type": "string",
                                                        "description": "Custom field #26"
                                                    },
                                                    "custom_27": {
                                                        "type": "string",
                                                        "description": "Custom field #27"
                                                    },
                                                    "custom_28": {
                                                        "type": "string",
                                                        "description": "Custom field #28"
                                                    },
                                                    "custom_29": {
                                                        "type": "string",
                                                        "description": "Custom field #29"
                                                    },
                                                    "custom_30": {
                                                        "type": "string",
                                                        "description": "Custom field #30"
                                                    },
                                                    "custom_31": {
                                                        "type": "string",
                                                        "description": "Custom field #31"
                                                    },
                                                    "custom_32": {
                                                        "type": "string",
                                                        "description": "Custom field #32"
                                                    },
                                                    "custom_33": {
                                                        "type": "string",
                                                        "description": "Custom field #33"
                                                    },
                                                    "custom_34": {
                                                        "type": "string",
                                                        "description": "Custom field #34"
                                                    },
                                                    "custom_35": {
                                                        "type": "string",
                                                        "description": "Custom field #35"
                                                    },
                                                    "custom_36": {
                                                        "type": "string",
                                                        "description": "Custom field #36"
                                                    },
                                                    "custom_37": {
                                                        "type": "string",
                                                        "description": "Custom field #37"
                                                    },
                                                    "custom_38": {
                                                        "type": "string",
                                                        "description": "Custom field #38"
                                                    },
                                                    "custom_39": {
                                                        "type": "string",
                                                        "description": "Custom field #39"
                                                    },
                                                    "custom_40": {
                                                        "type": "string",
                                                        "description": "Custom field #40"
                                                    },
                                                    "custom_41": {
                                                        "type": "string",
                                                        "description": "Custom field #41"
                                                    },
                                                    "custom_42": {
                                                        "type": "string",
                                                        "description": "Custom field #42"
                                                    },
                                                    "custom_43": {
                                                        "type": "string",
                                                        "description": "Custom field #43"
                                                    },
                                                    "custom_44": {
                                                        "type": "string",
                                                        "description": "Custom field #44"
                                                    },
                                                    "custom_45": {
                                                        "type": "string",
                                                        "description": "Custom field #45"
                                                    },
                                                    "custom_46": {
                                                        "type": "string",
                                                        "description": "Custom field #46"
                                                    },
                                                    "custom_47": {
                                                        "type": "string",
                                                        "description": "Custom field #47"
                                                    },
                                                    "custom_48": {
                                                        "type": "string",
                                                        "description": "Custom field #48"
                                                    },
                                                    "custom_49": {
                                                        "type": "string",
                                                        "description": "Custom field #49"
                                                    },
                                                    "custom_50": {
                                                        "type": "string",
                                                        "description": "Custom field #50"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this customer was created"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string",
                                                        "description": "IP address that created this customer"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this customer was updated"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string",
                                                        "description": "IP address that last updated this customer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer",
                                                        "description": "Brand ID #"
                                                    },
                                                    "class_name": {
                                                        "type": "string",
                                                        "description": "Class name"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer",
                                                        "description": "Default terms ID number"
                                                    },
                                                    "terms_name": {
                                                        "type": "string",
                                                        "description": "Default payment terms"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer",
                                                        "description": "Number of days for the default payment terms"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string",
                                                        "description": "URL the customer can visit to view their monthly statement"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string",
                                                        "description": "URL the customer can visit to update their payment method"
                                                    },
                                                    "url_self": {
                                                        "type": "string",
                                                        "description": "URL for viewing the customer in the GUI"
                                                    },
                                                    "admin_name": {
                                                        "type": "string",
                                                        "description": "Admin\/Worker Name"
                                                    },
                                                    "admin_email": {
                                                        "type": "string",
                                                        "description": "Admin\/Worker Email"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer",
                                                        "description": "Customer Status ID #"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string",
                                                        "description": "Human-friendly customer status"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string",
                                                        "description": "Status string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string",
                                                        "description": "Status code"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string",
                                                        "description": "Default payment method type"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer",
                                                        "description": "Default credit card ID number (if the default payment method is a credit card)"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer",
                                                        "description": "Default ACH\/eCheck ID number (if the default payment method is ACH)"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean",
                                                        "description": "Flag to disable charging of taxes"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean",
                                                        "description": "Flag to disable dunning"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean",
                                                        "description": "Flag to disable late fees"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean",
                                                        "description": "Flag to disable processing fees"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ],
                                                        "description": "Delivery method for initial invoices (\"email\" or \"print\" for printed hard-copy)"
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ],
                                                        "description": "Delivery method for dunning\/reminder invoices (\"email\" or \"print\" for printed hard-copy via Docsaway, Lob, etc.)"
                                                    },
                                                    "tax_ident": {
                                                        "type": "string",
                                                        "description": "Tax ID #\/VAT #"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "The sum total amount of all invoices ever issued to this customer (lifetime value)"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Balance due for this customer"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "The lifetime net total payments minus refunds this customer has made"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Current monthly recurring revenue of the customer"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Current annual recurring revenue of the customer"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        },
                                                        "description": "A list of tags"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "superuser_id": 357,
                                                    "external_key": null,
                                                    "company": "CA Test Customer 1",
                                                    "email": "asgdadg@asdgaggd.com",
                                                    "phone": "",
                                                    "bill_addr1": null,
                                                    "bill_addr2": null,
                                                    "bill_addr3": null,
                                                    "bill_city": null,
                                                    "bill_state": null,
                                                    "bill_postcode": null,
                                                    "bill_country": "Canada",
                                                    "bill_email": null,
                                                    "bill_notes": null,
                                                    "ship_addr1": null,
                                                    "ship_addr2": null,
                                                    "ship_addr3": null,
                                                    "ship_city": null,
                                                    "ship_state": null,
                                                    "ship_postcode": null,
                                                    "ship_country": null,
                                                    "ship_email": null,
                                                    "ship_notes": null,
                                                    "write_datetime": "2013-08-22 08:57:09",
                                                    "write_ipaddr": "172.16.16.102",
                                                    "mod_datetime": "2013-08-22 08:57:09",
                                                    "mod_ipaddr": "172.16.16.102",
                                                    "display_as": "CA Test Customer 1",
                                                    "ship_block": "",
                                                    "bill_block": "Canada",
                                                    "customer_id": 7
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}": {
            "put": {
                "summary": "Update a customer",
                "description": "<p>\n\tSetting the <code>parent_customer_id<\/code> to <code>null<\/code> will effectively disconnect the child customer from its parent.\n<\/p>\n\n<p>\n\tNote that a customer's <code>parent_customer_id<\/code> can only be updated if its parent has not made a payment for the customer.\n<\/p>\n",
                "externalDocs": {
                    "description": "Update a customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#update-a-customer"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Object was updated successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "parent_customer_id": {
                                        "type": "integer",
                                        "description": "Parent customer ID #"
                                    },
                                    "superuser_id": {
                                        "type": "integer",
                                        "description": "Main contact ID #"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "company": {
                                        "type": "string",
                                        "description": "Company\/customer name"
                                    },
                                    "language_id": {
                                        "type": "integer",
                                        "description": "Language ID #"
                                    },
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Default class tracking ID #"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/Worker ID number"
                                    },
                                    "campaign_id": {
                                        "type": "integer",
                                        "description": "Campaign\/lead source ID #"
                                    },
                                    "superuser_email": {
                                        "type": "string",
                                        "description": "Main contact e-mail address"
                                    },
                                    "superuser_name": {
                                        "type": "string",
                                        "description": "Main contact name"
                                    },
                                    "superuser_first_name": {
                                        "type": "string",
                                        "description": "Main contact first name"
                                    },
                                    "superuser_last_name": {
                                        "type": "string",
                                        "description": "Main contact last name"
                                    },
                                    "superuser_phone": {
                                        "type": "string",
                                        "description": "Main contact phone number"
                                    },
                                    "superuser_mobile": {
                                        "type": "string",
                                        "description": "Main contact mobile number"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state\/province"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "custom_21": {
                                        "type": "string",
                                        "description": "Custom field #21"
                                    },
                                    "custom_22": {
                                        "type": "string",
                                        "description": "Custom field #22"
                                    },
                                    "custom_23": {
                                        "type": "string",
                                        "description": "Custom field #23"
                                    },
                                    "custom_24": {
                                        "type": "string",
                                        "description": "Custom field #24"
                                    },
                                    "custom_25": {
                                        "type": "string",
                                        "description": "Custom field #25"
                                    },
                                    "custom_26": {
                                        "type": "string",
                                        "description": "Custom field #26"
                                    },
                                    "custom_27": {
                                        "type": "string",
                                        "description": "Custom field #27"
                                    },
                                    "custom_28": {
                                        "type": "string",
                                        "description": "Custom field #28"
                                    },
                                    "custom_29": {
                                        "type": "string",
                                        "description": "Custom field #29"
                                    },
                                    "custom_30": {
                                        "type": "string",
                                        "description": "Custom field #30"
                                    },
                                    "custom_31": {
                                        "type": "string",
                                        "description": "Custom field #31"
                                    },
                                    "custom_32": {
                                        "type": "string",
                                        "description": "Custom field #32"
                                    },
                                    "custom_33": {
                                        "type": "string",
                                        "description": "Custom field #33"
                                    },
                                    "custom_34": {
                                        "type": "string",
                                        "description": "Custom field #34"
                                    },
                                    "custom_35": {
                                        "type": "string",
                                        "description": "Custom field #35"
                                    },
                                    "custom_36": {
                                        "type": "string",
                                        "description": "Custom field #36"
                                    },
                                    "custom_37": {
                                        "type": "string",
                                        "description": "Custom field #37"
                                    },
                                    "custom_38": {
                                        "type": "string",
                                        "description": "Custom field #38"
                                    },
                                    "custom_39": {
                                        "type": "string",
                                        "description": "Custom field #39"
                                    },
                                    "custom_40": {
                                        "type": "string",
                                        "description": "Custom field #40"
                                    },
                                    "custom_41": {
                                        "type": "string",
                                        "description": "Custom field #41"
                                    },
                                    "custom_42": {
                                        "type": "string",
                                        "description": "Custom field #42"
                                    },
                                    "custom_43": {
                                        "type": "string",
                                        "description": "Custom field #43"
                                    },
                                    "custom_44": {
                                        "type": "string",
                                        "description": "Custom field #44"
                                    },
                                    "custom_45": {
                                        "type": "string",
                                        "description": "Custom field #45"
                                    },
                                    "custom_46": {
                                        "type": "string",
                                        "description": "Custom field #46"
                                    },
                                    "custom_47": {
                                        "type": "string",
                                        "description": "Custom field #47"
                                    },
                                    "custom_48": {
                                        "type": "string",
                                        "description": "Custom field #48"
                                    },
                                    "custom_49": {
                                        "type": "string",
                                        "description": "Custom field #49"
                                    },
                                    "custom_50": {
                                        "type": "string",
                                        "description": "Custom field #50"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Default terms ID number"
                                    },
                                    "no_taxes": {
                                        "type": "boolean",
                                        "description": "Flag to disable charging of taxes"
                                    },
                                    "no_dunning": {
                                        "type": "boolean",
                                        "description": "Flag to disable dunning"
                                    },
                                    "no_latefees": {
                                        "type": "boolean",
                                        "description": "Flag to disable late fees"
                                    },
                                    "no_procfees": {
                                        "type": "boolean",
                                        "description": "Flag to disable processing fees"
                                    },
                                    "invoice_delivery": {
                                        "type": "string",
                                        "enum": [
                                            "print",
                                            "email"
                                        ],
                                        "description": "Delivery method for initial invoices (\"email\" or \"print\" for printed hard-copy)"
                                    },
                                    "dunning_delivery": {
                                        "type": "string",
                                        "enum": [
                                            "print",
                                            "email"
                                        ],
                                        "description": "Delivery method for dunning\/reminder invoices (\"email\" or \"print\" for printed hard-copy via Docsaway, Lob, etc.)"
                                    },
                                    "tax_ident": {
                                        "type": "string",
                                        "description": "Tax ID #\/VAT #"
                                    },
                                    "tags": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "A list of tags"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "company": "Test API Company, LLC",
                                        "bill_addr1": "220 ChargeOver Street",
                                        "bill_addr2": "Suite 10",
                                        "bill_city": "Minneapolis",
                                        "bill_state": "MN",
                                        "bill_postcode": "55416",
                                        "bill_country": "USA",
                                        "external_key": "abcd3325",
                                        "superuser_name": "David Palmer",
                                        "superuser_email": "david@palmer.com",
                                        "superuser_phone": "860-634-1111"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Get a specific customer",
                "description": "Get a specific customer using their customer_id.",
                "externalDocs": {
                    "description": "Get a specific customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-a-customer"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "customer_id": {
                                                    "type": "integer",
                                                    "description": "Customer ID #"
                                                },
                                                "parent_customer_id": {
                                                    "type": "integer",
                                                    "description": "Parent customer ID #"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "Customer Token"
                                                },
                                                "superuser_id": {
                                                    "type": "integer",
                                                    "description": "Main contact ID #"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "display_as": {
                                                    "type": "string",
                                                    "description": "Deprecated"
                                                },
                                                "company": {
                                                    "type": "string",
                                                    "description": "Company\/customer name"
                                                },
                                                "language_id": {
                                                    "type": "integer",
                                                    "description": "Language ID #"
                                                },
                                                "currency_id": {
                                                    "type": "integer",
                                                    "description": "Currency ID #"
                                                },
                                                "currency_iso4217": {
                                                    "type": "string",
                                                    "description": "ISO 4217 currency code representation"
                                                },
                                                "currency_symbol": {
                                                    "type": "string",
                                                    "description": "Symbol for currency ($, \u00a3, etc.)"
                                                },
                                                "class_id": {
                                                    "type": "integer",
                                                    "description": "Default class tracking ID #"
                                                },
                                                "admin_id": {
                                                    "type": "integer",
                                                    "description": "Admin\/Worker ID number"
                                                },
                                                "campaign_id": {
                                                    "type": "integer",
                                                    "description": "Campaign\/lead source ID #"
                                                },
                                                "superuser_username": {
                                                    "type": "string",
                                                    "description": "Main contact username"
                                                },
                                                "superuser_email": {
                                                    "type": "string",
                                                    "description": "Main contact e-mail address"
                                                },
                                                "superuser_name": {
                                                    "type": "string",
                                                    "description": "Main contact name"
                                                },
                                                "superuser_first_name": {
                                                    "type": "string",
                                                    "description": "Main contact first name"
                                                },
                                                "superuser_last_name": {
                                                    "type": "string",
                                                    "description": "Main contact last name"
                                                },
                                                "superuser_phone": {
                                                    "type": "string",
                                                    "description": "Main contact phone number"
                                                },
                                                "superuser_mobile": {
                                                    "type": "string",
                                                    "description": "Main contact mobile number"
                                                },
                                                "superuser_token": {
                                                    "type": "string",
                                                    "description": "Main contact token"
                                                },
                                                "superuser_title": {
                                                    "type": "string",
                                                    "description": "Main contact title"
                                                },
                                                "bill_addr1": {
                                                    "type": "string",
                                                    "description": "Billing address line 1"
                                                },
                                                "bill_addr2": {
                                                    "type": "string",
                                                    "description": "Billing address line 2"
                                                },
                                                "bill_addr3": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "bill_city": {
                                                    "type": "string",
                                                    "description": "Billing address city"
                                                },
                                                "bill_state": {
                                                    "type": "string",
                                                    "description": "Billing address state\/province"
                                                },
                                                "bill_postcode": {
                                                    "type": "string",
                                                    "description": "Billing address postal code"
                                                },
                                                "bill_country": {
                                                    "type": "string",
                                                    "description": "Billing address country"
                                                },
                                                "bill_block": {
                                                    "type": "string",
                                                    "description": "Printable billing address"
                                                },
                                                "ship_addr1": {
                                                    "type": "string",
                                                    "description": "Shipping address line 1"
                                                },
                                                "ship_addr2": {
                                                    "type": "string",
                                                    "description": "Shipping address line 2"
                                                },
                                                "ship_addr3": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "ship_city": {
                                                    "type": "string",
                                                    "description": "Shipping address city"
                                                },
                                                "ship_state": {
                                                    "type": "string",
                                                    "description": "Shipping address state"
                                                },
                                                "ship_postcode": {
                                                    "type": "string",
                                                    "description": "Shipping address postal code"
                                                },
                                                "ship_country": {
                                                    "type": "string",
                                                    "description": "Shipping address country"
                                                },
                                                "ship_block": {
                                                    "type": "string",
                                                    "description": "Printable shipping address"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "custom_21": {
                                                    "type": "string",
                                                    "description": "Custom field #21"
                                                },
                                                "custom_22": {
                                                    "type": "string",
                                                    "description": "Custom field #22"
                                                },
                                                "custom_23": {
                                                    "type": "string",
                                                    "description": "Custom field #23"
                                                },
                                                "custom_24": {
                                                    "type": "string",
                                                    "description": "Custom field #24"
                                                },
                                                "custom_25": {
                                                    "type": "string",
                                                    "description": "Custom field #25"
                                                },
                                                "custom_26": {
                                                    "type": "string",
                                                    "description": "Custom field #26"
                                                },
                                                "custom_27": {
                                                    "type": "string",
                                                    "description": "Custom field #27"
                                                },
                                                "custom_28": {
                                                    "type": "string",
                                                    "description": "Custom field #28"
                                                },
                                                "custom_29": {
                                                    "type": "string",
                                                    "description": "Custom field #29"
                                                },
                                                "custom_30": {
                                                    "type": "string",
                                                    "description": "Custom field #30"
                                                },
                                                "custom_31": {
                                                    "type": "string",
                                                    "description": "Custom field #31"
                                                },
                                                "custom_32": {
                                                    "type": "string",
                                                    "description": "Custom field #32"
                                                },
                                                "custom_33": {
                                                    "type": "string",
                                                    "description": "Custom field #33"
                                                },
                                                "custom_34": {
                                                    "type": "string",
                                                    "description": "Custom field #34"
                                                },
                                                "custom_35": {
                                                    "type": "string",
                                                    "description": "Custom field #35"
                                                },
                                                "custom_36": {
                                                    "type": "string",
                                                    "description": "Custom field #36"
                                                },
                                                "custom_37": {
                                                    "type": "string",
                                                    "description": "Custom field #37"
                                                },
                                                "custom_38": {
                                                    "type": "string",
                                                    "description": "Custom field #38"
                                                },
                                                "custom_39": {
                                                    "type": "string",
                                                    "description": "Custom field #39"
                                                },
                                                "custom_40": {
                                                    "type": "string",
                                                    "description": "Custom field #40"
                                                },
                                                "custom_41": {
                                                    "type": "string",
                                                    "description": "Custom field #41"
                                                },
                                                "custom_42": {
                                                    "type": "string",
                                                    "description": "Custom field #42"
                                                },
                                                "custom_43": {
                                                    "type": "string",
                                                    "description": "Custom field #43"
                                                },
                                                "custom_44": {
                                                    "type": "string",
                                                    "description": "Custom field #44"
                                                },
                                                "custom_45": {
                                                    "type": "string",
                                                    "description": "Custom field #45"
                                                },
                                                "custom_46": {
                                                    "type": "string",
                                                    "description": "Custom field #46"
                                                },
                                                "custom_47": {
                                                    "type": "string",
                                                    "description": "Custom field #47"
                                                },
                                                "custom_48": {
                                                    "type": "string",
                                                    "description": "Custom field #48"
                                                },
                                                "custom_49": {
                                                    "type": "string",
                                                    "description": "Custom field #49"
                                                },
                                                "custom_50": {
                                                    "type": "string",
                                                    "description": "Custom field #50"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this customer was created"
                                                },
                                                "write_ipaddr": {
                                                    "type": "string",
                                                    "description": "IP address that created this customer"
                                                },
                                                "mod_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this customer was updated"
                                                },
                                                "mod_ipaddr": {
                                                    "type": "string",
                                                    "description": "IP address that last updated this customer"
                                                },
                                                "brand_id": {
                                                    "type": "integer",
                                                    "description": "Brand ID #"
                                                },
                                                "class_name": {
                                                    "type": "string",
                                                    "description": "Class name"
                                                },
                                                "terms_id": {
                                                    "type": "integer",
                                                    "description": "Default terms ID number"
                                                },
                                                "terms_name": {
                                                    "type": "string",
                                                    "description": "Default payment terms"
                                                },
                                                "terms_days": {
                                                    "type": "integer",
                                                    "description": "Number of days for the default payment terms"
                                                },
                                                "url_statementlink": {
                                                    "type": "string",
                                                    "description": "URL the customer can visit to view their monthly statement"
                                                },
                                                "url_paymethodlink": {
                                                    "type": "string",
                                                    "description": "URL the customer can visit to update their payment method"
                                                },
                                                "url_self": {
                                                    "type": "string",
                                                    "description": "URL for viewing the customer in the GUI"
                                                },
                                                "admin_name": {
                                                    "type": "string",
                                                    "description": "Admin\/Worker Name"
                                                },
                                                "admin_email": {
                                                    "type": "string",
                                                    "description": "Admin\/Worker Email"
                                                },
                                                "customer_status_id": {
                                                    "type": "integer",
                                                    "description": "Customer Status ID #"
                                                },
                                                "customer_status_name": {
                                                    "type": "string",
                                                    "description": "Human-friendly customer status"
                                                },
                                                "customer_status_str": {
                                                    "type": "string",
                                                    "description": "Status string"
                                                },
                                                "customer_status_state": {
                                                    "type": "string",
                                                    "description": "Status code"
                                                },
                                                "default_paymethod": {
                                                    "type": "string",
                                                    "description": "Default payment method type"
                                                },
                                                "default_creditcard_id": {
                                                    "type": "integer",
                                                    "description": "Default credit card ID number (if the default payment method is a credit card)"
                                                },
                                                "default_ach_id": {
                                                    "type": "integer",
                                                    "description": "Default ACH\/eCheck ID number (if the default payment method is ACH)"
                                                },
                                                "no_taxes": {
                                                    "type": "boolean",
                                                    "description": "Flag to disable charging of taxes"
                                                },
                                                "no_dunning": {
                                                    "type": "boolean",
                                                    "description": "Flag to disable dunning"
                                                },
                                                "no_latefees": {
                                                    "type": "boolean",
                                                    "description": "Flag to disable late fees"
                                                },
                                                "no_procfees": {
                                                    "type": "boolean",
                                                    "description": "Flag to disable processing fees"
                                                },
                                                "invoice_delivery": {
                                                    "type": "string",
                                                    "enum": [
                                                        "print",
                                                        "email"
                                                    ],
                                                    "description": "Delivery method for initial invoices (\"email\" or \"print\" for printed hard-copy)"
                                                },
                                                "dunning_delivery": {
                                                    "type": "string",
                                                    "enum": [
                                                        "print",
                                                        "email"
                                                    ],
                                                    "description": "Delivery method for dunning\/reminder invoices (\"email\" or \"print\" for printed hard-copy via Docsaway, Lob, etc.)"
                                                },
                                                "tax_ident": {
                                                    "type": "string",
                                                    "description": "Tax ID #\/VAT #"
                                                },
                                                "total": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "The sum total amount of all invoices ever issued to this customer (lifetime value)"
                                                },
                                                "balance": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Balance due for this customer"
                                                },
                                                "paid": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "The lifetime net total payments minus refunds this customer has made"
                                                },
                                                "mrr": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Current monthly recurring revenue of the customer"
                                                },
                                                "arr": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Current annual recurring revenue of the customer"
                                                },
                                                "tags": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "description": "A list of tags"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "superuser_id": 364,
                                                "external_key": null,
                                                "token": "fozdqj169569",
                                                "company": "Karli Marie",
                                                "bill_addr1": "56 Wintergreen Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Hamden",
                                                "bill_state": "CT",
                                                "bill_postcode": "06517",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 3,
                                                "class_id": 0,
                                                "custom_1": "",
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 4,
                                                "campaign_id": 0,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": "crd",
                                                "default_creditcard_id": 51,
                                                "default_ach_id": null,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-05-18 09:36:19",
                                                "write_ipaddr": "130.215.123.7",
                                                "mod_datetime": "2017-12-01 21:37:50",
                                                "mod_ipaddr": "192.168.21.14",
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "class_name": "",
                                                "paid": 1145.46,
                                                "total": 2656.11,
                                                "balance": 1510.65,
                                                "url_paymethodlink": "https:\/\/dev.chargeover.com\/r\/paymethod\/i\/fozdqj169569",
                                                "url_self": "https:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/16",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Karli Marie",
                                                "ship_block": "",
                                                "bill_block": "56 Wintergreen Street\nHamden CT 06517\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": "860-249-1317",
                                                "superuser_email": "karli@chargeover.com",
                                                "superuser_token": "1892mske1j64",
                                                "customer_id": 16,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 2,
                                                "customer_status_name": "Over Due",
                                                "customer_status_str": "active-overdue",
                                                "customer_status_state": "a",
                                                "superuser_username": "QATPM1zD4CLE",
                                                "tags": [
                                                    "tag1",
                                                    "tag2"
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "summary": "Delete a customer",
                "description": "\n<p>Allows you to delete a customer.<\/p>\n\n<p>Note that you can only delete a customer if:<\/p>\n\n<ul>\n\t<li>They have no active subscriptions<\/li>\n\t<li>They have no open\/unpaid invoices<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Delete a customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-a-customer"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}\/_action\/setInactive": {
            "post": {
                "summary": "Set a customer as inactive",
                "description": "Allows you to set a customer as \"Inactive\".",
                "externalDocs": {
                    "description": "Set a customer as inactive",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-customer-inactive"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}\/_action\/setActive": {
            "post": {
                "summary": "Set a customer as active",
                "description": "Allows you to set a specified customer as \"Active\".",
                "externalDocs": {
                    "description": "Set a customer as active",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-customer-active"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}\/_action\/setSuperUser": {
            "post": {
                "summary": "Set the primary contact for a customer",
                "description": "Specify the user you want to assign as the customer's primary contact using the user's <code>user_id<\/code>.",
                "externalDocs": {
                    "description": "Set the primary contact for a customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-primary-contact"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "user_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "user_id": 789
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}\/_action\/setPayMethod": {
            "post": {
                "summary": "Set the default payment method for a customer",
                "description": "<p> Allows you to set the defaut payment method for a customer.<\/p>  \n\n<p>The <code>update_subscriptions_and_scheduled_invoices<\/code> field is optional. \nIf you leave it off entirely OR set it to <code>true<\/code>, we will update any already existing subscriptions for that customer to use this payment method too. If you set it to <code>false<\/code>, we'll update the customer but NOT their already existing subscriptions.<\/p>",
                "externalDocs": {
                    "description": "Set the default payment method for a customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-default-paymethod"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "creditcard_id": {
                                        "type": "integer"
                                    },
                                    "paymethod": {
                                        "type": "string"
                                    },
                                    "update_subscriptions_and_scheduled_invoices": {
                                        "type": "boolean"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "creditcard_id": 74,
                                        "paymethod": "crd",
                                        "update_subscriptions_and_scheduled_invoices": true
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}\/_action\/email": {
            "post": {
                "summary": "Email a customer",
                "description": "Allows you to send an email from a template to a customer.<br\/><br\/>\n\nThe <code>message_id<\/code> field is optional. If left out, the default email will be a welcome message.\n",
                "externalDocs": {
                    "description": "Email a customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#email-customer"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "message_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "If you wish to use an existing template other than the default, specify the message_id of the template:",
                                        "message_id": 16
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/customer\/{customer_id}\/_action\/disconnectParent": {
            "post": {
                "summary": "Disconnect a customer from its parent customer",
                "description": "<p>\n\tAllows you to disconnect a child customer from its parent customer via POST API Request.\n<\/p>\n\n<p>\n\tA customer's parent can only be disconnected if its parent has not made a payment for the customer.\n<\/p>\n\n\n<p>\n\tNote you can also disconnect a parent by updating the customer and setting its <code>parent_customer_id<\/code> to <code>null<\/code>\n<\/p>\n",
                "externalDocs": {
                    "description": "Disconnect a customer from its parent customer",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#disconnect-parent"
                },
                "tags": [
                    "customers"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/user": {
            "post": {
                "summary": "Add a contact",
                "description": "Notes:\r\n<ul>\r\n\t<li>The response\/id value will be the user_id value for the newly created user.<\/li>\r\n<\/ul>",
                "externalDocs": {
                    "description": "Add a contact",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-a-user"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "username": {
                                        "type": "string",
                                        "description": "Customer portal username"
                                    },
                                    "password": {
                                        "type": "string",
                                        "description": "Customer portal password"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "First and last name of the contact"
                                    },
                                    "first_name": {
                                        "type": "string",
                                        "description": "First name of contact"
                                    },
                                    "middle_name_glob": {
                                        "type": "string",
                                        "description": "Middle name\/initial"
                                    },
                                    "last_name": {
                                        "type": "string",
                                        "description": "Last name"
                                    },
                                    "name_suffix": {
                                        "type": "string",
                                        "description": "Suffix (e.g. \"Jr.\", \"Sr.\", \"III\", etc.)"
                                    },
                                    "title": {
                                        "type": "string",
                                        "description": "Title"
                                    },
                                    "email": {
                                        "type": "string",
                                        "description": "E-mail address"
                                    },
                                    "phone": {
                                        "type": "string",
                                        "description": "Phone number"
                                    },
                                    "mobile": {
                                        "type": "string",
                                        "description": "Mobile number"
                                    },
                                    "user_type_id": {
                                        "type": "integer",
                                        "description": "User type ID #"
                                    },
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "The customer ID # this contact belongs to"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    }
                                },
                                "required": [
                                    "username"
                                ]
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": 21,
                                        "username": "my_test_username_393",
                                        "password": "some test password",
                                        "name": "Ryan Bantz",
                                        "email": "ryan@adgadgagadg.com",
                                        "phone": "888-555-1212"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Query for contacts",
                "description": "Available query parameter values for filtering:\r\n\r\n<ul>\r\n\t<li><code>user_id<\/code><\/li>\r\n\t<li><code>external_key<\/code><\/li>\r\n\t<li><code>first_name<\/code><\/li>\r\n\t<li><code>last_name<\/code><\/li>\r\n\t<li><code>email<\/code><\/li>\r\n\t<li><code>phone<\/code><\/li>\r\n\t<li><code>user_type_id<\/code><\/li>\r\n\t<li><code>username<\/code><\/li>\r\n\t<li><code>customers.customer_id<\/code> - Get contacts belonging to a specific customer<\/li>\r\n<\/ul>\r\n",
                "externalDocs": {
                    "description": "Query for contacts",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-users"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "first_name:EQUALS:jane"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "user_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer",
                                                        "description": "The user\/contact ID #"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Unique token"
                                                    },
                                                    "username": {
                                                        "type": "string",
                                                        "description": "Customer portal username"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "First and last name of the contact"
                                                    },
                                                    "first_name": {
                                                        "type": "string",
                                                        "description": "First name of contact"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string",
                                                        "description": "Middle name\/initial"
                                                    },
                                                    "last_name": {
                                                        "type": "string",
                                                        "description": "Last name"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string",
                                                        "description": "Suffix (e.g. \"Jr.\", \"Sr.\", \"III\", etc.)"
                                                    },
                                                    "display_as": {
                                                        "type": "string",
                                                        "description": "(deprecated)"
                                                    },
                                                    "title": {
                                                        "type": "string",
                                                        "description": "Title"
                                                    },
                                                    "email": {
                                                        "type": "string",
                                                        "description": "E-mail address"
                                                    },
                                                    "phone": {
                                                        "type": "string",
                                                        "description": "Phone number"
                                                    },
                                                    "mobile": {
                                                        "type": "string",
                                                        "description": "Mobile number"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer",
                                                        "description": "User type ID #"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string",
                                                        "description": "User type"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "The customer ID # this contact belongs to"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field #5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field #6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field #7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field #8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field #9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field #10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field #11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field #12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field #13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field #14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field #15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field #16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field #17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field #18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field #19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field #20"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the user\/contact was created"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the user\/contact was last modified"
                                                    },
                                                    "url_self": {
                                                        "type": "string",
                                                        "description": "URL for viewing the user\/contact in the GUI"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "user_id": 362,
                                                    "external_key": null,
                                                    "first_name": "Keith",
                                                    "middle_name_glob": null,
                                                    "last_name": "Palmer",
                                                    "name_suffix": null,
                                                    "title": "",
                                                    "email": "keith@chargeover.com",
                                                    "phone": "860-634-1602",
                                                    "write_datetime": "2014-07-02 09:58:37",
                                                    "mod_datetime": "2014-07-08 14:26:01",
                                                    "name": "Keith Palmer",
                                                    "display_as": "Keith Palmer",
                                                    "username": "7yanhoctj6qs"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/user\/{user_id}": {
            "put": {
                "summary": "Update a contact",
                "description": "",
                "externalDocs": {
                    "description": "Update a contact",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#update-a-user"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Object was updated successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "username": {
                                        "type": "string",
                                        "description": "Customer portal username"
                                    },
                                    "password": {
                                        "type": "string",
                                        "description": "Customer portal password"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "First and last name of the contact"
                                    },
                                    "first_name": {
                                        "type": "string",
                                        "description": "First name of contact"
                                    },
                                    "middle_name_glob": {
                                        "type": "string",
                                        "description": "Middle name\/initial"
                                    },
                                    "last_name": {
                                        "type": "string",
                                        "description": "Last name"
                                    },
                                    "name_suffix": {
                                        "type": "string",
                                        "description": "Suffix (e.g. \"Jr.\", \"Sr.\", \"III\", etc.)"
                                    },
                                    "title": {
                                        "type": "string",
                                        "description": "Title"
                                    },
                                    "email": {
                                        "type": "string",
                                        "description": "E-mail address"
                                    },
                                    "phone": {
                                        "type": "string",
                                        "description": "Phone number"
                                    },
                                    "mobile": {
                                        "type": "string",
                                        "description": "Mobile number"
                                    },
                                    "user_type_id": {
                                        "type": "integer",
                                        "description": "User type ID #"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": 19,
                                        "username": "my_test_username",
                                        "password": "my_test_password",
                                        "name": "Jessica Maye",
                                        "email": "jmae@example.com",
                                        "phone": "888-222-3432"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Get a specific contact",
                "description": "",
                "externalDocs": {
                    "description": "Get a specific contact",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-users"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "user_id": {
                                                    "type": "integer",
                                                    "description": "The user\/contact ID #"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "Unique token"
                                                },
                                                "username": {
                                                    "type": "string",
                                                    "description": "Customer portal username"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "First and last name of the contact"
                                                },
                                                "first_name": {
                                                    "type": "string",
                                                    "description": "First name of contact"
                                                },
                                                "middle_name_glob": {
                                                    "type": "string",
                                                    "description": "Middle name\/initial"
                                                },
                                                "last_name": {
                                                    "type": "string",
                                                    "description": "Last name"
                                                },
                                                "name_suffix": {
                                                    "type": "string",
                                                    "description": "Suffix (e.g. \"Jr.\", \"Sr.\", \"III\", etc.)"
                                                },
                                                "display_as": {
                                                    "type": "string",
                                                    "description": "(deprecated)"
                                                },
                                                "title": {
                                                    "type": "string",
                                                    "description": "Title"
                                                },
                                                "email": {
                                                    "type": "string",
                                                    "description": "E-mail address"
                                                },
                                                "phone": {
                                                    "type": "string",
                                                    "description": "Phone number"
                                                },
                                                "mobile": {
                                                    "type": "string",
                                                    "description": "Mobile number"
                                                },
                                                "user_type_id": {
                                                    "type": "integer",
                                                    "description": "User type ID #"
                                                },
                                                "user_type_name": {
                                                    "type": "string",
                                                    "description": "User type"
                                                },
                                                "customer_id": {
                                                    "type": "integer",
                                                    "description": "The customer ID # this contact belongs to"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the user\/contact was created"
                                                },
                                                "mod_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the user\/contact was last modified"
                                                },
                                                "url_self": {
                                                    "type": "string",
                                                    "description": "URL for viewing the user\/contact in the GUI"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": {
                                                "user_id": 362,
                                                "external_key": null,
                                                "first_name": "Keith",
                                                "middle_name_glob": null,
                                                "last_name": "Palmer",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "keith@chargeover.com",
                                                "phone": "860-634-1602",
                                                "write_datetime": "2014-07-08 14:26:01",
                                                "mod_datetime": "2014-07-08 14:26:01",
                                                "name": "Keith Palmer",
                                                "display_as": "Keith Palmer",
                                                "user_type_id": 1,
                                                "user_type_name": "Billing",
                                                "username": "7yanhoctj6qs"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "summary": "Delete a contact",
                "description": "",
                "externalDocs": {
                    "description": "Delete a contact",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-a-user"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/user\/{user_id}\/_action\/password": {
            "post": {
                "summary": "Send a password reset \/ Set a password",
                "description": "<p>\n\tBy default, calling the <code>password<\/code> action will send an e-mail to the end-user containing a link. The end-user will follow the link to reset their password.\n<\/p>\n<p>\n\tIf you\u2019d instead prefer to explicitly set the password to something for the user, you can tell <code>password<\/code> to set the password to a passed in value. An email will be sent to the end-user containing the new password.\n<\/p>\n<p>\n\tIMPORTANT: In either of the above two cases, the default behavior sends an e-mail. If you don\u2019t want the e-mail to be sent, use the <code>_flag_emails=0<\/code> advanced flag to suppress the outgoing e-mail.\n<\/p>",
                "externalDocs": {
                    "description": "Send a password reset \/ Set a password",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-a-password"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "password": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Set a password": {
                                    "value": {
                                        "password": "here is the new password"
                                    }
                                },
                                "Send a password reset": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/user\/{user_id}\/_action\/getLoginURL": {
            "post": {
                "summary": "Log in a user",
                "description": "<p>\n\tThis fetches a short-lived, one-time-use login URL that you can use to automatically log a user into the ChargeOver\n\tcustomer portal. This link is only valid for a very short amount of time, so you must forward the user to this URL\n\timmediately. The user will be immediately and automatically logged into the customer portal.\n<\/p>\n<p>\n\tBy default when the user is logged in, they will be dropped on the home page. You can optionally specify a\n\t<code>destination<\/code> attribute to send them to a specific page of the portal after login.\n<\/p>\n<p>\n\tPossible values for <code>destination<\/code>:\n<\/p>\n<ul>\n\t<li><code>subscriptions<\/code> (for the list of subscriptions)<\/li>\n\t<li><code>invoices<\/code>  (for the list of invoices)<\/li>\n\t<li><code>payments<\/code>  (for the list of payments)<\/li>\n\t<li><code>info<\/code>  (for the \"My Info\" page with the company\/name\/phone\/etc.)<\/li>\n\t<li><code>paymethods<\/code>  (for the \"Payment Methods\" tab with credit card info, etc.)<\/li>\n\t<li><code>paymethods-creditcard<\/code>  (the \"Payment Methods\" tab, and prompt the user to save a new credit card)<\/li>\n\t<li><code>paymethods-ach<\/code>  (the \"Payment Methods\" tab, and prompt the user to save a new bank account)<\/li>\n\t<li><code>password<\/code> (for the \"Change My Password\" tab)<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Log in a user",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#login-a-user"
                },
                "tags": [
                    "users"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "destination": {
                                        "type": "string",
                                        "enum": [
                                            "subscriptions",
                                            "invoices",
                                            "payments",
                                            "info",
                                            "paymethods",
                                            "paymethods-creditcard",
                                            "paymethods-ach",
                                            "password"
                                        ]
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "This JSON payload is optional. If you do NOT specify a 'destination' attribute, the user will be dropped on the home page.",
                                        "destination": "home"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice": {
            "post": {
                "summary": "Create an invoice \/ Overriding tax calculations on an invoice",
                "description": "\n<h4>Requirements<\/h4>\n<ul>\n\t<li>You must specify an existing <code>customer_id<\/code>, <code>customer_token<\/code>, or <code>customer_external_key<\/code> value.<\/li>\n\t<li>You must specify at least one line item.<\/li>\n\t<li>Each line item must refer to an existing <code>item_id<\/code> value.<\/li>\n<\/ul>\n\n<h4>Notes<\/h4>\n<ul>\n\t<li>The response\/id value is the invoice_id value of the newly created invoice.<\/li>\n\t<li>The <code>Location:<\/code> header will provide a direct API link to the newly created invoice.<\/li>\n\t<li>Additionally, you can override the tax configurations in your account and specify a specific tax amount to charge when creating an invoice.<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Create an invoice \/ Overriding tax calculations on an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-an-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "refnumber": {
                                        "type": "string",
                                        "description": "Invoice reference number"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Invoice date"
                                    },
                                    "currency_id": {
                                        "type": "integer",
                                        "description": "Currency ID #"
                                    },
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Class ID #"
                                    },
                                    "paycycle": {
                                        "type": "string",
                                        "enum": [
                                            "evy",
                                            "dly",
                                            "1wk",
                                            "2wk",
                                            "116",
                                            "4wk",
                                            "8wk",
                                            "30d",
                                            "mon",
                                            "2mn",
                                            "12w",
                                            "fst",
                                            "lst",
                                            "qtr",
                                            "six",
                                            "yrl",
                                            "2yr",
                                            "3yr",
                                            "4yr",
                                            "5yr",
                                            "10y",
                                            "one"
                                        ],
                                        "description": "Payment cycle"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Terms ID #"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/Worker ID number"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "bill_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "ship_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "no_dunning": {
                                        "type": "boolean",
                                        "description": "Is invoice exempt from dunning?"
                                    },
                                    "no_latefees": {
                                        "type": "boolean",
                                        "description": "Is invoice exempt from late fees?"
                                    },
                                    "no_procfees": {
                                        "type": "boolean",
                                        "description": "Is invoice exempt from processing fees?"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Memo\/notes to customer"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "line_items": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID # for this line"
                                                },
                                                "paycycle": {
                                                    "type": "string",
                                                    "description": "Payment cycle"
                                                },
                                                "descrip": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "line_rate": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Rate"
                                                },
                                                "line_quantity": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Quantity"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                }
                                            }
                                        },
                                        "description": "A list of line items for the invoice"
                                    },
                                    "tags": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "A list of tags"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Create an invoice": {
                                    "value": {
                                        "customer_id": 1,
                                        "bill_addr1": "72 E Blue Grass Road",
                                        "bill_city": "Willington",
                                        "bill_state": "Connecticut",
                                        "bill_postcode": "06279",
                                        "line_items": [
                                            {
                                                "item_id": 307,
                                                "descrip": "My description goes here",
                                                "line_rate": 29.95,
                                                "line_quantity": 12
                                            },
                                            {
                                                "item_id": 293,
                                                "descrip": "Another description",
                                                "line_rate": 12.95,
                                                "line_quantity": 2
                                            }
                                        ]
                                    }
                                },
                                "Overriding tax calculations on an invoice": {
                                    "value": {
                                        "customer_id": 57,
                                        "bill_addr1": "78 W Blue Grass Road",
                                        "bill_city": "Willington",
                                        "bill_state": "Connecticut",
                                        "bill_postcode": "06279",
                                        "line_items": [
                                            {
                                                "item_id": 247,
                                                "descrip": "My description goes here",
                                                "line_rate": 29.95,
                                                "line_quantity": 12,
                                                "tax_total": 34.56,
                                                "tax_override": true,
                                                "tax_name": "Connecticut"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Query for invoices",
                "description": "<h2>\n\tFiltering\n<\/h2>\n<p>\n\t<strong>Available query parameter values for filtering:<\/strong>\n<\/p>\n<ul>\n\t<li><code>invoice_id<\/code><\/li>\n\t<li><code>refnumber<\/code><\/li>\n\t<li><code>customer_id<\/code><\/li>\n\t<li><code>bill_state<\/code><\/li>\n\t<li><code>ship_state<\/code><\/li>\n\t<li><code>bill_country<\/code><\/li>\n\t<li><code>ship_country<\/code><\/li>\n\t<li><code>invoice_status_str<\/code>  - See the list of valid values below<\/li>\n\t<li><code>invoice_status_state<\/code> - See the list of valid values below<\/li>\n\t<li><code>package_token<\/code><\/li>\n\t<li><code>package_id<\/code><\/li>\n\t<li><code>invoice_index<\/code><\/li>\n\t<li><code>date<\/code><\/li>\n\t<li><code>currency_id<\/code><\/li>\n\t<li><code>token<\/code><\/li>\n\t<li><code>custom_1<\/code><\/li>\n\t<li><code>custom_2<\/code><\/li>\n\t<li><code>custom_3<\/code><\/li>\n\t<li><code>subtotal<\/code><\/li>\n\t<li><code>total<\/code><\/li>\n\t<li><code>balance<\/code><\/li>\n\t<li><code>line_items.item_id<\/code><\/li>\n\t<li><code>line_items.custom_1<\/code><\/li>\n\t<li><code>line_items.custom_2<\/code><\/li>\n\t<li><code>line_items.custom_3<\/code><\/li>\n\t<li><code>line_items.item.categories.item_category_id<\/code><\/li>\n\t<li><code>transaction.transaction_id<\/code> - Get a list of invoices paid by this transaction<\/li>\n\t<li><code>quote.quote_id<\/code> - Get the invoice that originated from a specific quote<\/li>\n\t<li><code>write_datetime<\/code> - date\/time created<\/li>\n\t<li><code>mod_datetime<\/code> - date\/time last modified<\/li>\n<\/ul>\n\n<h2>\n\tExpansions\n<\/h2>\n<p>\n\tNodes you can expand by using the <code>?expand=<\/code> query parameter:\n<\/p>\n<ul>\n\t<li><code>line_items<\/code> - To get the line items for each invoice<\/li>\n<\/ul>\n\n<h2>\n\tEnums\n<\/h2>\n<p>\n\t<strong>Valid values for invoice_status_str:<\/strong>\n<\/p>\n<ul>\n\t<li>open-unpaid<\/li>\n\t<li>open-overdue<\/li>\n\t<li>open-collections<\/li>\n\t<li>closed-void<\/li>\n\t<li>closed-paid<\/li>\n<\/ul>\n<p>\n\t<strong>Valid values for invoice_status_state:<\/strong>\n<\/p>\n<ul>\n\t<li><code>o<\/code> (any \u201copen\u201d invoice, i.e. anything with money due)<\/li>\n\t<li><code>c<\/code> (any \u201cclosed\u201d invoice, i.e. anything without money due)<\/li>\n<\/ul>\n\n",
                "externalDocs": {
                    "description": "Query for invoices",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-for-invoices"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:EQUALS:1000"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer",
                                                        "description": "Invoice ID #"
                                                    },
                                                    "refnumber": {
                                                        "type": "string",
                                                        "description": "Invoice reference number"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "invoice_index": {
                                                        "type": "integer",
                                                        "description": "The invoice subscription sequence number on a subscription"
                                                    },
                                                    "package_id": {
                                                        "type": "integer",
                                                        "description": "Subscription ID # this invoice was generated from"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer",
                                                        "description": "Parent customer ID #"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer",
                                                        "description": "Brand ID #"
                                                    },
                                                    "brand_name": {
                                                        "type": "string",
                                                        "description": "Brand name"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the invoice was created"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was last updated"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the invoice was voided"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Invoice date"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer",
                                                        "description": "Currency ID #"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string",
                                                        "description": "Currency symbol"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string",
                                                        "description": "Currency ISO 4217 representation"
                                                    },
                                                    "class_id": {
                                                        "type": "integer",
                                                        "description": "Class ID #"
                                                    },
                                                    "class_name": {
                                                        "type": "string",
                                                        "description": "Class Name"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "enum": [
                                                            "evy",
                                                            "dly",
                                                            "1wk",
                                                            "2wk",
                                                            "116",
                                                            "4wk",
                                                            "8wk",
                                                            "30d",
                                                            "mon",
                                                            "2mn",
                                                            "12w",
                                                            "fst",
                                                            "lst",
                                                            "qtr",
                                                            "six",
                                                            "yrl",
                                                            "2yr",
                                                            "3yr",
                                                            "4yr",
                                                            "5yr",
                                                            "10y",
                                                            "one"
                                                        ],
                                                        "description": "Payment cycle"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string",
                                                        "description": "Payment cycle name"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer",
                                                        "description": "Terms ID #"
                                                    },
                                                    "terms_name": {
                                                        "type": "string",
                                                        "description": "Terms name"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer",
                                                        "description": "Terms number of days"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer",
                                                        "description": "Admin\/Worker ID number"
                                                    },
                                                    "admin_name": {
                                                        "type": "string",
                                                        "description": "Admin\/Worker Name"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Unique token"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string",
                                                        "description": "Billing address line 1"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string",
                                                        "description": "Billing address line 2"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "bill_city": {
                                                        "type": "string",
                                                        "description": "Billing address city"
                                                    },
                                                    "bill_state": {
                                                        "type": "string",
                                                        "description": "Billing address state"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string",
                                                        "description": "Billing address postal code"
                                                    },
                                                    "bill_country": {
                                                        "type": "string",
                                                        "description": "Billing address country"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string",
                                                        "description": "(deprecated)"
                                                    },
                                                    "bill_block": {
                                                        "type": "string",
                                                        "description": "Printable billing address"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string",
                                                        "description": "Shipping address line 1"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string",
                                                        "description": "Shipping address line 2"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "ship_city": {
                                                        "type": "string",
                                                        "description": "Shipping address city"
                                                    },
                                                    "ship_state": {
                                                        "type": "string",
                                                        "description": "Shipping address state"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string",
                                                        "description": "Shipping address postal code"
                                                    },
                                                    "ship_country": {
                                                        "type": "string",
                                                        "description": "Shipping address country"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string",
                                                        "description": "(deprecated)"
                                                    },
                                                    "ship_block": {
                                                        "type": "string",
                                                        "description": "Printable shipping address"
                                                    },
                                                    "cycle_pre_from_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "For pre-billing, cycle start date"
                                                    },
                                                    "cycle_pre_to_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "For pre-billing, cycle end date"
                                                    },
                                                    "cycle_this_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Cycle date (generally the invoice date)"
                                                    },
                                                    "cycle_post_from_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "For post-billing (in arrears), cycle start date"
                                                    },
                                                    "cycle_post_to_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "For post-billing (in arrears), cycle end date"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string",
                                                        "description": "URL to view the invoice"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string",
                                                        "description": "URL to download the invoice PDF"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string",
                                                        "description": "URL to pay for the invoice"
                                                    },
                                                    "url_ttl_paylink": {
                                                        "type": "string",
                                                        "description": "Short-lived URL to pay the invoice"
                                                    },
                                                    "url_self": {
                                                        "type": "string",
                                                        "description": "URL for viewing the invoice in the GUI"
                                                    },
                                                    "is_paid": {
                                                        "type": "boolean",
                                                        "description": "Whether or not the invoice has been paid"
                                                    },
                                                    "is_void": {
                                                        "type": "boolean",
                                                        "description": "Whether or not the invoice has been voided"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean",
                                                        "description": "Whether or not the invoice is overdue"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Date the invoice is due"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer",
                                                        "description": "Number days overdue the invoice is"
                                                    },
                                                    "paid_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Date this invoice was paid"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Balance of the invoice"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount applied to the invoice"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Invoice total"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Invoice subtotal"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Taxes"
                                                    },
                                                    "credits": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount of credits applied to the invoice"
                                                    },
                                                    "payments": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount of payments applied to the invoice"
                                                    },
                                                    "writeoffs": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount written off"
                                                    },
                                                    "refunds": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount refunded"
                                                    },
                                                    "overdue": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount overdue"
                                                    },
                                                    "declines": {
                                                        "type": "integer",
                                                        "description": "Number of times that payment was attempted and failed for this invoice"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean",
                                                        "description": "Is invoice exempt from dunning?"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean",
                                                        "description": "Is invoice exempt from late fees?"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean",
                                                        "description": "Is invoice exempt from processing fees?"
                                                    },
                                                    "sum_base": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Sum of the amounts of all base fees on the invoice"
                                                    },
                                                    "sum_usage": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Sum of the amounts of all usage-based\/metered fees on the invoice"
                                                    },
                                                    "sum_onetime": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Sum of the amounts of all of the one-time charges on the invoice"
                                                    },
                                                    "invoice_status_name": {
                                                        "type": "string",
                                                        "description": "Human-friendly invoice status"
                                                    },
                                                    "invoice_status_str": {
                                                        "type": "string",
                                                        "description": "Status string"
                                                    },
                                                    "invoice_status_state": {
                                                        "type": "string",
                                                        "description": "Status code"
                                                    },
                                                    "memo": {
                                                        "type": "string",
                                                        "description": "Memo\/notes to customer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field #5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field #6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field #7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field #8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field #9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field #10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field #11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field #12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field #13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field #14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field #15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field #16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field #17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field #18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field #19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field #20"
                                                    },
                                                    "line_items": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "line_item_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice line ID #"
                                                                },
                                                                "invoice_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice ID #"
                                                                },
                                                                "admin_id": {
                                                                    "type": "integer",
                                                                    "description": "Admin worker\/sales rep ID #"
                                                                },
                                                                "item_id": {
                                                                    "type": "integer",
                                                                    "description": "Item ID # for this line"
                                                                },
                                                                "item_name": {
                                                                    "type": "string",
                                                                    "description": "Item name"
                                                                },
                                                                "item_accounting_sku": {
                                                                    "type": "string",
                                                                    "description": "Item accounting SKU"
                                                                },
                                                                "item_external_key": {
                                                                    "type": "string",
                                                                    "description": "Item external key"
                                                                },
                                                                "item_token": {
                                                                    "type": "string",
                                                                    "description": "Item token"
                                                                },
                                                                "item_units": {
                                                                    "type": "string",
                                                                    "description": "Item units"
                                                                },
                                                                "item_type": {
                                                                    "type": "string",
                                                                    "description": "Item type"
                                                                },
                                                                "invoice_line_bundle_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice line bundle ID #"
                                                                },
                                                                "paycycle": {
                                                                    "type": "string",
                                                                    "description": "Payment cycle"
                                                                },
                                                                "tierset_id": {
                                                                    "type": "integer",
                                                                    "description": "Tierset ID # for this line"
                                                                },
                                                                "package_line_id": {
                                                                    "type": "integer",
                                                                    "description": "Package line ID # that this line originated from"
                                                                },
                                                                "package_line_external_key": {
                                                                    "type": "string",
                                                                    "description": "Subscription line external key"
                                                                },
                                                                "package_obligation_id": {
                                                                    "type": "int",
                                                                    "description": "The contractual obligation this line counted towards"
                                                                },
                                                                "package_line_first_obligation_id": {
                                                                    "type": "int",
                                                                    "description": "The ID number of the first contractual obligation for the subscription line that this line originated from"
                                                                },
                                                                "descrip": {
                                                                    "type": "string",
                                                                    "description": "Description"
                                                                },
                                                                "line_prorate": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "If the line is prorated this value is the prorated percentage"
                                                                },
                                                                "line_rate": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Rate"
                                                                },
                                                                "line_quantity": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Quantity"
                                                                },
                                                                "line_usage": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Usage value"
                                                                },
                                                                "line_subtotal": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Line subtotal"
                                                                },
                                                                "line_total": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Line total"
                                                                },
                                                                "usage_from": {
                                                                    "type": "number",
                                                                    "format": "float"
                                                                },
                                                                "usage_to": {
                                                                    "type": "number",
                                                                    "format": "float"
                                                                },
                                                                "number_of_recurs_this": {
                                                                    "type": "integer",
                                                                    "description": "Number of times this has recurred since the last up\/downgrade"
                                                                },
                                                                "number_of_recurs_line": {
                                                                    "type": "integer",
                                                                    "description": "Number of times this line has recurred"
                                                                },
                                                                "tax_taxable": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "The total amount that was taxable"
                                                                },
                                                                "tax_taxed": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "The amount that tax was calculated from"
                                                                },
                                                                "tax_total": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "The tax amount for this line"
                                                                },
                                                                "tax_id": {
                                                                    "type": "string"
                                                                },
                                                                "tax_group_id": {
                                                                    "type": "string"
                                                                },
                                                                "tax_name": {
                                                                    "type": "string"
                                                                },
                                                                "tax_group_name": {
                                                                    "type": "string"
                                                                },
                                                                "is_usage": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line item was created from usage data"
                                                                },
                                                                "is_setup": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line was a one-time setup fee"
                                                                },
                                                                "is_base": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line is the base line item for other tiered\/volume\/unit lines"
                                                                },
                                                                "is_free": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line item was free (equal to $0.00)"
                                                                },
                                                                "is_recurring": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line is recurring"
                                                                },
                                                                "is_taxed": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line item was taxed\/subject to VAT"
                                                                },
                                                                "is_latefee": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line item was a late fee"
                                                                },
                                                                "is_obligation": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not this line item was towards a contractual obligation"
                                                                },
                                                                "service_from_date": {
                                                                    "type": "string",
                                                                    "format": "date",
                                                                    "description": "Service period start date"
                                                                },
                                                                "service_to_date": {
                                                                    "type": "string",
                                                                    "format": "date",
                                                                    "description": "Service period end date"
                                                                },
                                                                "custom_1": {
                                                                    "type": "string",
                                                                    "description": "Custom field #1"
                                                                },
                                                                "custom_2": {
                                                                    "type": "string",
                                                                    "description": "Custom field #2"
                                                                },
                                                                "custom_3": {
                                                                    "type": "string",
                                                                    "description": "Custom field #3"
                                                                },
                                                                "custom_4": {
                                                                    "type": "string",
                                                                    "description": "Custom field #4"
                                                                },
                                                                "custom_5": {
                                                                    "type": "string",
                                                                    "description": "Custom field #5"
                                                                },
                                                                "custom_6": {
                                                                    "type": "string",
                                                                    "description": "Custom field #6"
                                                                },
                                                                "custom_7": {
                                                                    "type": "string",
                                                                    "description": "Custom field #7"
                                                                },
                                                                "custom_8": {
                                                                    "type": "string",
                                                                    "description": "Custom field #8"
                                                                },
                                                                "custom_9": {
                                                                    "type": "string",
                                                                    "description": "Custom field #9"
                                                                },
                                                                "custom_10": {
                                                                    "type": "string",
                                                                    "description": "Custom field #10"
                                                                }
                                                            }
                                                        },
                                                        "description": "A list of line items for the invoice"
                                                    },
                                                    "schedule": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "invoice_schedule_id": {
                                                                    "type": "integer",
                                                                    "description": "Scheduled ID #"
                                                                },
                                                                "invoice_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice ID #"
                                                                },
                                                                "token": {
                                                                    "type": "string",
                                                                    "description": "A unique token to identify this scheduled event"
                                                                },
                                                                "paymethod": {
                                                                    "type": "string",
                                                                    "description": "The payment method (crd for credit card, ach for ACH\/eCheck, inv for just sending an invoice"
                                                                },
                                                                "creditcard_id": {
                                                                    "type": "integer",
                                                                    "description": "If the payment is scheduled against a credit card, the creditcard_id value"
                                                                },
                                                                "ach_id": {
                                                                    "type": "integer",
                                                                    "description": "If a bank account payment, the ach_id value"
                                                                },
                                                                "tokenized_id": {
                                                                    "type": "integer",
                                                                    "description": "If a tokenized payment method, the tokenized_id value"
                                                                },
                                                                "due_date": {
                                                                    "type": "string",
                                                                    "format": "date",
                                                                    "description": "Payment due date"
                                                                },
                                                                "days_overdue": {
                                                                    "type": "integer",
                                                                    "description": "Number of days overdue"
                                                                },
                                                                "amount": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Amount to schedule payment for"
                                                                },
                                                                "amount_or_percent_formatted": {
                                                                    "type": "string",
                                                                    "description": "A pretty-formatted amount or percent that was scheduled"
                                                                },
                                                                "balance": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Balance (amount due) of this payment"
                                                                },
                                                                "date": {
                                                                    "type": "string",
                                                                    "format": "date",
                                                                    "description": "Date to run the payment on"
                                                                },
                                                                "url_paylink": {
                                                                    "type": "string",
                                                                    "description": "URL to pay for this scheduled payment"
                                                                },
                                                                "url_ttl_paylink": {
                                                                    "type": "string",
                                                                    "description": "URL to pay for this scheduled payment"
                                                                }
                                                            }
                                                        },
                                                        "description": "A list of scheduled payments for this invoice"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        },
                                                        "description": "A list of tags"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "invoice_id": "2688",
                                                    "bill_addr1": null,
                                                    "bill_addr2": null,
                                                    "bill_addr3": null,
                                                    "bill_city": null,
                                                    "bill_state": null,
                                                    "bill_postcode": null,
                                                    "bill_country": null,
                                                    "bill_email": null,
                                                    "bill_notes": null,
                                                    "ship_addr1": null,
                                                    "ship_addr2": null,
                                                    "ship_addr3": null,
                                                    "ship_city": null,
                                                    "ship_state": null,
                                                    "ship_postcode": null,
                                                    "ship_country": null,
                                                    "ship_email": null,
                                                    "ship_notes": null,
                                                    "write_datetime": "2012-11-09 18:10:03",
                                                    "void_datetime": null,
                                                    "invoice_status_name": "Unpaid",
                                                    "invoice_status_str": "open-unpaid",
                                                    "invoice_status_state": "o",
                                                    "total": 150,
                                                    "credits": 0,
                                                    "payments": 0,
                                                    "is_paid": false,
                                                    "balance": 150,
                                                    "is_void": false,
                                                    "bill_block": "",
                                                    "ship_block": "",
                                                    "url_permalink": "https:\/\/dev.chargeover.com\/r\/invoice\/view\/i17fq4huy2ar",
                                                    "url_pdflink": "https:\/\/dev.chargeover.com\/r\/invoice\/pdf\/i17fq4huy2ar",
                                                    "customer_id": "1"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}": {
            "put": {
                "summary": "Update an invoice",
                "description": "If you want to keep a line item unchanged, pass just the line_item_id value of the existing line item. ",
                "externalDocs": {
                    "description": "Update an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#update-an-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Object was updated successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "refnumber": {
                                        "type": "string",
                                        "description": "Invoice reference number"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "paycycle": {
                                        "type": "string",
                                        "enum": [
                                            "evy",
                                            "dly",
                                            "1wk",
                                            "2wk",
                                            "116",
                                            "4wk",
                                            "8wk",
                                            "30d",
                                            "mon",
                                            "2mn",
                                            "12w",
                                            "fst",
                                            "lst",
                                            "qtr",
                                            "six",
                                            "yrl",
                                            "2yr",
                                            "3yr",
                                            "4yr",
                                            "5yr",
                                            "10y",
                                            "one"
                                        ],
                                        "description": "Payment cycle"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Terms ID #"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/Worker ID number"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "bill_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "ship_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Memo\/notes to customer"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "line_items": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID # for this line"
                                                },
                                                "paycycle": {
                                                    "type": "string",
                                                    "description": "Payment cycle"
                                                },
                                                "descrip": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "line_rate": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Rate"
                                                },
                                                "line_quantity": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Quantity"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                }
                                            }
                                        },
                                        "description": "A list of line items for the invoice"
                                    },
                                    "tags": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "A list of tags"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "date": "2015-06-08",
                                        "line_items": [
                                            {
                                                "item_id": 3,
                                                "line_rate": 29.95,
                                                "line_quantity": 3,
                                                "descrip": "Add this new line item to the invoice."
                                            },
                                            {
                                                "line_item_id": 2575
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Get a specific invoice",
                "description": "",
                "externalDocs": {
                    "description": "Get a specific invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-for-invoices"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "invoice_id": {
                                                    "type": "integer",
                                                    "description": "Invoice ID #"
                                                },
                                                "refnumber": {
                                                    "type": "string",
                                                    "description": "Invoice reference number"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "invoice_index": {
                                                    "type": "integer",
                                                    "description": "The invoice subscription sequence number on a subscription"
                                                },
                                                "package_id": {
                                                    "type": "integer",
                                                    "description": "Subscription ID # this invoice was generated from"
                                                },
                                                "customer_id": {
                                                    "type": "integer",
                                                    "description": "Customer ID #"
                                                },
                                                "parent_customer_id": {
                                                    "type": "integer",
                                                    "description": "Parent customer ID #"
                                                },
                                                "brand_id": {
                                                    "type": "integer",
                                                    "description": "Brand ID #"
                                                },
                                                "brand_name": {
                                                    "type": "string",
                                                    "description": "Brand name"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the invoice was created"
                                                },
                                                "mod_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was last updated"
                                                },
                                                "void_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the invoice was voided"
                                                },
                                                "date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Invoice date"
                                                },
                                                "currency_id": {
                                                    "type": "integer",
                                                    "description": "Currency ID #"
                                                },
                                                "currency_symbol": {
                                                    "type": "string",
                                                    "description": "Currency symbol"
                                                },
                                                "currency_iso4217": {
                                                    "type": "string",
                                                    "description": "Currency ISO 4217 representation"
                                                },
                                                "class_id": {
                                                    "type": "integer",
                                                    "description": "Class ID #"
                                                },
                                                "class_name": {
                                                    "type": "string",
                                                    "description": "Class Name"
                                                },
                                                "paycycle": {
                                                    "type": "string",
                                                    "enum": [
                                                        "evy",
                                                        "dly",
                                                        "1wk",
                                                        "2wk",
                                                        "116",
                                                        "4wk",
                                                        "8wk",
                                                        "30d",
                                                        "mon",
                                                        "2mn",
                                                        "12w",
                                                        "fst",
                                                        "lst",
                                                        "qtr",
                                                        "six",
                                                        "yrl",
                                                        "2yr",
                                                        "3yr",
                                                        "4yr",
                                                        "5yr",
                                                        "10y",
                                                        "one"
                                                    ],
                                                    "description": "Payment cycle"
                                                },
                                                "paycycle_name": {
                                                    "type": "string",
                                                    "description": "Payment cycle name"
                                                },
                                                "terms_id": {
                                                    "type": "integer",
                                                    "description": "Terms ID #"
                                                },
                                                "terms_name": {
                                                    "type": "string",
                                                    "description": "Terms name"
                                                },
                                                "terms_days": {
                                                    "type": "integer",
                                                    "description": "Terms number of days"
                                                },
                                                "admin_id": {
                                                    "type": "integer",
                                                    "description": "Admin\/Worker ID number"
                                                },
                                                "admin_name": {
                                                    "type": "string",
                                                    "description": "Admin\/Worker Name"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "Unique token"
                                                },
                                                "bill_addr1": {
                                                    "type": "string",
                                                    "description": "Billing address line 1"
                                                },
                                                "bill_addr2": {
                                                    "type": "string",
                                                    "description": "Billing address line 2"
                                                },
                                                "bill_addr3": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "bill_city": {
                                                    "type": "string",
                                                    "description": "Billing address city"
                                                },
                                                "bill_state": {
                                                    "type": "string",
                                                    "description": "Billing address state"
                                                },
                                                "bill_postcode": {
                                                    "type": "string",
                                                    "description": "Billing address postal code"
                                                },
                                                "bill_country": {
                                                    "type": "string",
                                                    "description": "Billing address country"
                                                },
                                                "bill_notes": {
                                                    "type": "string",
                                                    "description": "(deprecated)"
                                                },
                                                "bill_block": {
                                                    "type": "string",
                                                    "description": "Printable billing address"
                                                },
                                                "ship_addr1": {
                                                    "type": "string",
                                                    "description": "Shipping address line 1"
                                                },
                                                "ship_addr2": {
                                                    "type": "string",
                                                    "description": "Shipping address line 2"
                                                },
                                                "ship_addr3": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "ship_city": {
                                                    "type": "string",
                                                    "description": "Shipping address city"
                                                },
                                                "ship_state": {
                                                    "type": "string",
                                                    "description": "Shipping address state"
                                                },
                                                "ship_postcode": {
                                                    "type": "string",
                                                    "description": "Shipping address postal code"
                                                },
                                                "ship_country": {
                                                    "type": "string",
                                                    "description": "Shipping address country"
                                                },
                                                "ship_notes": {
                                                    "type": "string",
                                                    "description": "(deprecated)"
                                                },
                                                "ship_block": {
                                                    "type": "string",
                                                    "description": "Printable shipping address"
                                                },
                                                "cycle_pre_from_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "For pre-billing, cycle start date"
                                                },
                                                "cycle_pre_to_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "For pre-billing, cycle end date"
                                                },
                                                "cycle_this_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Cycle date (generally the invoice date)"
                                                },
                                                "cycle_post_from_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "For post-billing (in arrears), cycle start date"
                                                },
                                                "cycle_post_to_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "For post-billing (in arrears), cycle end date"
                                                },
                                                "url_permalink": {
                                                    "type": "string",
                                                    "description": "URL to view the invoice"
                                                },
                                                "url_pdflink": {
                                                    "type": "string",
                                                    "description": "URL to download the invoice PDF"
                                                },
                                                "url_paylink": {
                                                    "type": "string",
                                                    "description": "URL to pay for the invoice"
                                                },
                                                "url_ttl_paylink": {
                                                    "type": "string",
                                                    "description": "Short-lived URL to pay the invoice"
                                                },
                                                "url_self": {
                                                    "type": "string",
                                                    "description": "URL for viewing the invoice in the GUI"
                                                },
                                                "is_paid": {
                                                    "type": "boolean",
                                                    "description": "Whether or not the invoice has been paid"
                                                },
                                                "is_void": {
                                                    "type": "boolean",
                                                    "description": "Whether or not the invoice has been voided"
                                                },
                                                "is_overdue": {
                                                    "type": "boolean",
                                                    "description": "Whether or not the invoice is overdue"
                                                },
                                                "due_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Date the invoice is due"
                                                },
                                                "days_overdue": {
                                                    "type": "integer",
                                                    "description": "Number days overdue the invoice is"
                                                },
                                                "paid_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Date this invoice was paid"
                                                },
                                                "balance": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Balance of the invoice"
                                                },
                                                "applied": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount applied to the invoice"
                                                },
                                                "total": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Invoice total"
                                                },
                                                "subtotal": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Invoice subtotal"
                                                },
                                                "taxes": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Taxes"
                                                },
                                                "credits": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount of credits applied to the invoice"
                                                },
                                                "payments": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount of payments applied to the invoice"
                                                },
                                                "writeoffs": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount written off"
                                                },
                                                "refunds": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount refunded"
                                                },
                                                "overdue": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount overdue"
                                                },
                                                "declines": {
                                                    "type": "integer",
                                                    "description": "Number of times that payment was attempted and failed for this invoice"
                                                },
                                                "no_dunning": {
                                                    "type": "boolean",
                                                    "description": "Is invoice exempt from dunning?"
                                                },
                                                "no_latefees": {
                                                    "type": "boolean",
                                                    "description": "Is invoice exempt from late fees?"
                                                },
                                                "no_procfees": {
                                                    "type": "boolean",
                                                    "description": "Is invoice exempt from processing fees?"
                                                },
                                                "sum_base": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Sum of the amounts of all base fees on the invoice"
                                                },
                                                "sum_usage": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Sum of the amounts of all usage-based\/metered fees on the invoice"
                                                },
                                                "sum_onetime": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Sum of the amounts of all of the one-time charges on the invoice"
                                                },
                                                "invoice_status_name": {
                                                    "type": "string",
                                                    "description": "Human-friendly invoice status"
                                                },
                                                "invoice_status_str": {
                                                    "type": "string",
                                                    "description": "Status string"
                                                },
                                                "invoice_status_state": {
                                                    "type": "string",
                                                    "description": "Status code"
                                                },
                                                "memo": {
                                                    "type": "string",
                                                    "description": "Memo\/notes to customer"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "line_items": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "line_item_id": {
                                                                "type": "integer",
                                                                "description": "Invoice line ID #"
                                                            },
                                                            "invoice_id": {
                                                                "type": "integer",
                                                                "description": "Invoice ID #"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer",
                                                                "description": "Admin worker\/sales rep ID #"
                                                            },
                                                            "item_id": {
                                                                "type": "integer",
                                                                "description": "Item ID # for this line"
                                                            },
                                                            "item_name": {
                                                                "type": "string",
                                                                "description": "Item name"
                                                            },
                                                            "item_accounting_sku": {
                                                                "type": "string",
                                                                "description": "Item accounting SKU"
                                                            },
                                                            "item_external_key": {
                                                                "type": "string",
                                                                "description": "Item external key"
                                                            },
                                                            "item_token": {
                                                                "type": "string",
                                                                "description": "Item token"
                                                            },
                                                            "item_units": {
                                                                "type": "string",
                                                                "description": "Item units"
                                                            },
                                                            "item_type": {
                                                                "type": "string",
                                                                "description": "Item type"
                                                            },
                                                            "invoice_line_bundle_id": {
                                                                "type": "integer",
                                                                "description": "Invoice line bundle ID #"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "description": "Payment cycle"
                                                            },
                                                            "tierset_id": {
                                                                "type": "integer",
                                                                "description": "Tierset ID # for this line"
                                                            },
                                                            "package_line_id": {
                                                                "type": "integer",
                                                                "description": "Package line ID # that this line originated from"
                                                            },
                                                            "package_line_external_key": {
                                                                "type": "string",
                                                                "description": "Subscription line external key"
                                                            },
                                                            "package_obligation_id": {
                                                                "type": "int",
                                                                "description": "The contractual obligation this line counted towards"
                                                            },
                                                            "package_line_first_obligation_id": {
                                                                "type": "int",
                                                                "description": "The ID number of the first contractual obligation for the subscription line that this line originated from"
                                                            },
                                                            "descrip": {
                                                                "type": "string",
                                                                "description": "Description"
                                                            },
                                                            "line_prorate": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "If the line is prorated this value is the prorated percentage"
                                                            },
                                                            "line_rate": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Rate"
                                                            },
                                                            "line_quantity": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Quantity"
                                                            },
                                                            "line_usage": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Usage value"
                                                            },
                                                            "line_subtotal": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Line subtotal"
                                                            },
                                                            "line_total": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Line total"
                                                            },
                                                            "usage_from": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "usage_to": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "number_of_recurs_this": {
                                                                "type": "integer",
                                                                "description": "Number of times this has recurred since the last up\/downgrade"
                                                            },
                                                            "number_of_recurs_line": {
                                                                "type": "integer",
                                                                "description": "Number of times this line has recurred"
                                                            },
                                                            "tax_taxable": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "The total amount that was taxable"
                                                            },
                                                            "tax_taxed": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "The amount that tax was calculated from"
                                                            },
                                                            "tax_total": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "The tax amount for this line"
                                                            },
                                                            "tax_id": {
                                                                "type": "string"
                                                            },
                                                            "tax_group_id": {
                                                                "type": "string"
                                                            },
                                                            "tax_name": {
                                                                "type": "string"
                                                            },
                                                            "tax_group_name": {
                                                                "type": "string"
                                                            },
                                                            "is_usage": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line item was created from usage data"
                                                            },
                                                            "is_setup": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line was a one-time setup fee"
                                                            },
                                                            "is_base": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line is the base line item for other tiered\/volume\/unit lines"
                                                            },
                                                            "is_free": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line item was free (equal to $0.00)"
                                                            },
                                                            "is_recurring": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line is recurring"
                                                            },
                                                            "is_taxed": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line item was taxed\/subject to VAT"
                                                            },
                                                            "is_latefee": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line item was a late fee"
                                                            },
                                                            "is_obligation": {
                                                                "type": "bool",
                                                                "description": "Whether or not this line item was towards a contractual obligation"
                                                            },
                                                            "service_from_date": {
                                                                "type": "string",
                                                                "format": "date",
                                                                "description": "Service period start date"
                                                            },
                                                            "service_to_date": {
                                                                "type": "string",
                                                                "format": "date",
                                                                "description": "Service period end date"
                                                            },
                                                            "custom_1": {
                                                                "type": "string",
                                                                "description": "Custom field #1"
                                                            },
                                                            "custom_2": {
                                                                "type": "string",
                                                                "description": "Custom field #2"
                                                            },
                                                            "custom_3": {
                                                                "type": "string",
                                                                "description": "Custom field #3"
                                                            },
                                                            "custom_4": {
                                                                "type": "string",
                                                                "description": "Custom field #4"
                                                            },
                                                            "custom_5": {
                                                                "type": "string",
                                                                "description": "Custom field #5"
                                                            },
                                                            "custom_6": {
                                                                "type": "string",
                                                                "description": "Custom field #6"
                                                            },
                                                            "custom_7": {
                                                                "type": "string",
                                                                "description": "Custom field #7"
                                                            },
                                                            "custom_8": {
                                                                "type": "string",
                                                                "description": "Custom field #8"
                                                            },
                                                            "custom_9": {
                                                                "type": "string",
                                                                "description": "Custom field #9"
                                                            },
                                                            "custom_10": {
                                                                "type": "string",
                                                                "description": "Custom field #10"
                                                            }
                                                        }
                                                    },
                                                    "description": "A list of line items for the invoice"
                                                },
                                                "schedule": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_schedule_id": {
                                                                "type": "integer",
                                                                "description": "Scheduled ID #"
                                                            },
                                                            "invoice_id": {
                                                                "type": "integer",
                                                                "description": "Invoice ID #"
                                                            },
                                                            "token": {
                                                                "type": "string",
                                                                "description": "A unique token to identify this scheduled event"
                                                            },
                                                            "paymethod": {
                                                                "type": "string",
                                                                "description": "The payment method (crd for credit card, ach for ACH\/eCheck, inv for just sending an invoice"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer",
                                                                "description": "If the payment is scheduled against a credit card, the creditcard_id value"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer",
                                                                "description": "If a bank account payment, the ach_id value"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer",
                                                                "description": "If a tokenized payment method, the tokenized_id value"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date",
                                                                "description": "Payment due date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer",
                                                                "description": "Number of days overdue"
                                                            },
                                                            "amount": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Amount to schedule payment for"
                                                            },
                                                            "amount_or_percent_formatted": {
                                                                "type": "string",
                                                                "description": "A pretty-formatted amount or percent that was scheduled"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Balance (amount due) of this payment"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date",
                                                                "description": "Date to run the payment on"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string",
                                                                "description": "URL to pay for this scheduled payment"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string",
                                                                "description": "URL to pay for this scheduled payment"
                                                            }
                                                        }
                                                    },
                                                    "description": "A list of scheduled payments for this invoice"
                                                },
                                                "tags": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "description": "A list of tags"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "invoice_id": 98165,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "external_key": null,
                                                "token": "1tslo5m9h51b",
                                                "refnumber": "98165",
                                                "cycle_pre_from_date": null,
                                                "cycle_pre_to_date": null,
                                                "cycle_this_date": null,
                                                "cycle_post_from_date": null,
                                                "cycle_post_to_date": null,
                                                "bill_addr1": "56 Cowles",
                                                "bill_addr2": "Suite 620",
                                                "bill_addr3": "",
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2019-09-26 10:16:43",
                                                "void_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "admin_name": "ChargeOver Support",
                                                "invoice_status_name": "Unpaid",
                                                "invoice_status_str": "open-unpaid",
                                                "invoice_status_state": "o",
                                                "subtotal": 100,
                                                "total": 100,
                                                "taxes": 0,
                                                "credits": 0,
                                                "payments": 35,
                                                "writeoffs": 0,
                                                "declines": 0,
                                                "applied": 35,
                                                "sum_base": 0,
                                                "sum_usage": 0,
                                                "sum_onetime": 100,
                                                "is_paid": false,
                                                "paid_date": null,
                                                "balance": 65,
                                                "is_void": false,
                                                "due_date": "2019-12-20",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "days_overdue": 0,
                                                "is_overdue": false,
                                                "date": "2019-09-26",
                                                "bill_block": "56 Cowles\r\nSuite 620\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev1.chargeover.test\/r\/invoice\/view\/1tslo5m9h51b",
                                                "url_paylink": "http:\/\/dev1.chargeover.test\/r\/trans\/pay\/1tslo5m9h51b",
                                                "url_pdflink": "http:\/\/dev1.chargeover.test\/r\/invoice\/pdf\/1tslo5m9h51b",
                                                "url_self": "http:\/\/dev1.chargeover.test\/admin\/r\/invoice\/view\/98165",
                                                "package_id": null,
                                                "customer_id": 3488,
                                                "line_items": [
                                                    {
                                                        "invoice_id": 98165,
                                                        "item_id": 29,
                                                        "tierset_id": null,
                                                        "admin_id": null,
                                                        "descrip": "1-month subscription to gold plan.",
                                                        "line_rate": 100,
                                                        "line_quantity": 1,
                                                        "line_prorate": 1,
                                                        "line_usage": 0,
                                                        "usage_from": 0,
                                                        "usage_to": 0,
                                                        "tax_id": null,
                                                        "tax_group_id": null,
                                                        "tax_taxable": 100,
                                                        "tax_taxed": 0,
                                                        "tax_total": 0,
                                                        "is_base": false,
                                                        "is_free": false,
                                                        "is_setup": false,
                                                        "is_usage": false,
                                                        "is_recurring": false,
                                                        "is_latefee": false,
                                                        "is_taxed": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "custom_4": null,
                                                        "custom_5": null,
                                                        "item_name": "Gold Plan",
                                                        "item_external_key": null,
                                                        "item_token": "1kzl806611h1",
                                                        "item_accounting_sku": null,
                                                        "item_units": null,
                                                        "tax_name": null,
                                                        "tax_group_name": null,
                                                        "line_subtotal": 100,
                                                        "line_total": 100,
                                                        "line_item_id": 234,
                                                        "package_line_id": null,
                                                        "package_line_external_key": null
                                                    }
                                                ],
                                                "sent": [],
                                                "schedule": [
                                                    {
                                                        "invoice_schedule_id": 13,
                                                        "invoice_id": 98165,
                                                        "token": "199m59nc2k1p",
                                                        "paymethod": "inv",
                                                        "creditcard_id": null,
                                                        "ach_id": null,
                                                        "url_paylink": "http:\/\/dev1.chargeover.test\/r\/trans\/sch\/1tslo5m9h51b\/199m59nc2k1p",
                                                        "amount": 10,
                                                        "balance": 0,
                                                        "amount_or_percent_formatted": "$ 10.00",
                                                        "date": "2019-09-30"
                                                    },
                                                    {
                                                        "invoice_schedule_id": 16,
                                                        "invoice_id": 98165,
                                                        "token": "19nvqp56y146",
                                                        "paymethod": "ach",
                                                        "creditcard_id": null,
                                                        "ach_id": 8,
                                                        "url_paylink": "http:\/\/dev1.chargeover.test\/r\/trans\/sch\/1tslo5m9h51b\/19nvqp56y146",
                                                        "amount": 25,
                                                        "balance": 25,
                                                        "amount_or_percent_formatted": "25%",
                                                        "date": "2019-11-20"
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/latefee": {
            "post": {
                "summary": "Add a late fee to an invoice",
                "description": "Allows you to add a late fee to an invoice. The late fee amount is dictated by the configuration of the Late Fees feature in your account.",
                "externalDocs": {
                    "description": "Add a late fee to an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#invoice-late-fee"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/schedule": {
            "post": {
                "summary": "Scheduling payments for invoices",
                "description": "<p>\n\tChargeOver allows you to schedule a full payment or several partial payments to\n\tinvoices via the REST API. You must specify the <code>amount<\/code> and\n\t<code>date<\/code> of the payment.\n<\/p>\n<p>\n\tFor invoices created <i>from a subscription<\/i>, the payment method used is always the payment method from the\n\tsubscription itself.\n<\/p>\n<p>\n\tFor <i>one-time invoices<\/i>, you can specify a credit card, bank account, or tokenized payment method\n\tto be used for the payment by providing the <code>creditcard_id<\/code>, <code>ach_id<\/code>, or\n\t<code>tokenized_id<\/code> in the <code>paymethod<\/code> field. Otherwise, you can use <code>any<\/code> to allow any\n\tof the customer's stored payment methods to be used.\n<\/p>\n<p>\n\tYou can also use <code>crd<\/code> to have the payment charged to any credit card stored for the customer,\n\t<code>ach<\/code> to specify the payment method as any of the stored ACH bank accounts the customer has, or\n\t<code>tok<\/code> to specify the payment method as any of the stored tokenized payment methods the customer has.\n<\/p>\n",
                "externalDocs": {
                    "description": "Scheduling payments for invoices",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#schedule-for-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "schedule": {
                                        "type": "object",
                                        "properties": [
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "_comment": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number"
                                                    },
                                                    "date": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    }
                                                }
                                            },
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "_comment": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number"
                                                    },
                                                    "date": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "_comment": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number"
                                                    },
                                                    "date": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "_comment": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number"
                                                    },
                                                    "date": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "schedule": [
                                            {
                                                "_comment": "You can specify a specific creditcard or ach to use as the payment method:",
                                                "amount": 50,
                                                "date": "2021-10-20",
                                                "creditcard_id": 9
                                            },
                                            {
                                                "_comment": "To schedule with ANY payment method the customer has on file:",
                                                "amount": 10,
                                                "date": "2021-11-28",
                                                "paymethod": "any"
                                            },
                                            {
                                                "_comment": "To schedule the payment(s) with ANY CREDITCARD the customer has on file:",
                                                "amount": 10,
                                                "date": "2021-12-28",
                                                "paymethod": "crd"
                                            },
                                            {
                                                "_comment": "To schedule the payment(s) with ANY ACH the customer has on file:",
                                                "amount": 10,
                                                "date": "2022-01-28",
                                                "paymethod": "ach"
                                            },
                                            {
                                                "_comment": "To schedule the payment(s) with a percentage of the invoice:",
                                                "percent": 50,
                                                "date": "2024-12-05",
                                                "paymethod": "any"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/unschedule": {
            "post": {
                "summary": "Removing scheduled payments from invoices",
                "description": "This will remove all scheduled payments from a specific invoice.",
                "externalDocs": {
                    "description": "Removing scheduled payments from invoices",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-remove-schedule"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/setPayMethod": {
            "post": {
                "summary": "Set the payment method for an invoice",
                "description": "<p>\n\tSet the payment method for an invoice.\n<\/p>\n<ul>\n\t<li>If the invoice was created <b>from a subscription<\/b>, this <i>updates the subscription payment method<\/i>.<\/li>\n\t<li>If the invoice has <b>scheduled payments<\/b> attached, this <i>updates the payment method for the attached scheduled payments<\/i>.<\/li>\n\t<li>If the invoice is <i>not<\/i> from an invoice, and has <i>no attached scheduled payments<\/i>, this method does nothing.<\/li>\n<\/ul>\n<p>\n\tIf you want to remove any payment methods from the scheduled payments\/subscription, you can set a payment method of <code>paymethod: \"inv\"<\/code>.\n<\/p>\n",
                "externalDocs": {
                    "description": "Set the payment method for an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-invoice-paymethod"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "path",
                        "name": "invoice_id",
                        "schema": {
                            "type": "integer"
                        },
                        "required": true,
                        "description": "The ID # of the invoice"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "paymethod": {
                                        "type": "string",
                                        "enum": [
                                            "crd",
                                            "ach",
                                            "tok",
                                            "inv"
                                        ]
                                    },
                                    "creditcard_id": {
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "ach_id": {
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "tokenized_id": {
                                        "type": "integer",
                                        "nullable": true
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "Specify a paymethod of: crd, ach, tok, inv",
                                        "paymethod": "crd",
                                        "creditcard_id": 59
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/pay": {
            "post": {
                "summary": "Apply a payment to an invoice",
                "description": "If a customer has an available balance (due to credit given, or previous overpayment), you can use this to apply their open\/available customer balance to an invoice.",
                "externalDocs": {
                    "description": "Apply a payment to an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#payment-for-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "number": {
                                        "type": "string"
                                    },
                                    "expdate_year": {
                                        "type": "string"
                                    },
                                    "expdate_month": {
                                        "type": "string"
                                    },
                                    "name": {
                                        "type": "string"
                                    },
                                    "address": {
                                        "type": "string"
                                    },
                                    "city": {
                                        "type": "string"
                                    },
                                    "state": {
                                        "type": "string"
                                    },
                                    "postcode": {
                                        "type": "string"
                                    },
                                    "country": {
                                        "type": "string"
                                    },
                                    "routing": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string"
                                    },
                                    "use_customer_balance": {
                                        "type": "boolean"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Credit card payment (specify card details)": {
                                    "value": {
                                        "number": "4111 1111 1111 1111",
                                        "expdate_year": "2017",
                                        "expdate_month": "08",
                                        "name": "Keith Palmer",
                                        "address": "72 E Blue Grass Road",
                                        "city": "Willington",
                                        "state": "CT",
                                        "postcode": "06279",
                                        "country": "United States"
                                    }
                                },
                                "ACH\/eCheck payment (specify ACH details)": {
                                    "value": {
                                        "number": "1234-1234-1234",
                                        "routing": "072403004",
                                        "name": "Keith Palmer",
                                        "type": "chec"
                                    }
                                },
                                "Apply an open customer balance": {
                                    "value": {
                                        "use_customer_balance": true
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/void": {
            "post": {
                "summary": "Void an invoice",
                "description": "Voiding an invoice effectively makes the total due\/balance zero, and will halt all dunning attempts\/payments against this invoice.",
                "externalDocs": {
                    "description": "Void an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#void-an-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/email": {
            "post": {
                "summary": "Email an invoice",
                "description": "Send an invoice via e-mail. You can specify an email template to use with the <code>message_id<\/code>, which is the id number you see in the URL when you edit an email template in ChargeOver.",
                "externalDocs": {
                    "description": "Email an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#email-an-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "email": {
                                        "type": "string"
                                    },
                                    "cc": {
                                        "type": "string"
                                    },
                                    "bcc": {
                                        "type": "string"
                                    },
                                    "subject": {
                                        "type": "string"
                                    },
                                    "body": {
                                        "type": "string"
                                    },
                                    "html": {
                                        "type": "string"
                                    },
                                    "from": {
                                        "type": "string"
                                    },
                                    "_comment_message_id": {
                                        "type": "string"
                                    },
                                    "message_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "All attributes are optional, and can be used to override the default email templates, etc.",
                                        "email": "to@example.com",
                                        "cc": "cc@example.com",
                                        "bcc": "bcc@example.com",
                                        "subject": "Override the default subject",
                                        "body": "Override the default plain-text body of the email",
                                        "html": "Override the default &lt;b&gt;HTML body&lt;\/b&gt; of the email",
                                        "from": "\"Example Company\" &lt;from@example.com&gt;",
                                        "_comment_message_id": "If you wish to use an existing template other than the default, specify the message_id of the template:",
                                        "message_id": 1
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/print": {
            "post": {
                "summary": "Print & mail an invoice",
                "description": "Physically print a hard-copy of an invoice, and mail it (via USPS or other local carrier) to the customer.<br\/><br\/>This requires an active subscription with one of ChargeOver's supported print vendors (Docsaway, Postal Methods, etc.).",
                "externalDocs": {
                    "description": "Print & mail an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#print-an-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {}
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/invoice\/{invoice_id}\/_action\/pdf": {
            "post": {
                "summary": "Get a PDF of an invoice",
                "description": "Retrieve a PDF of an invoice.",
                "externalDocs": {
                    "description": "Get a PDF of an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#print-an-invoice"
                },
                "tags": [
                    "invoices"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/_action\/pay": {
            "post": {
                "summary": "Make a payment",
                "description": "<p>\n\tAttempt to make a payment for a customer, using a credit card.\n<\/p>\n<p>\n\tIf you specify one or more <code>paymethods<\/code> then those specific payment methods will be used.\n\tIf you do not specify, then:\n<\/p>\n<ul>\n\t<li>If the invoice is from a subscription, the payment method for the subscription will be tried.<\/li>\n\t<li>Otherwise, if the customer has a default payment method specified, the default payment method will be tried.<\/li>\n\t<li>Otherwise, all payment methods for the customer will be tried.<\/li>\n<\/ul>\n<p>\n\tAlternatively, you can specify an existing <code>creditcard_id<\/code> or <code>ach_id<\/code> within <code>paymethods<\/code> if you wish to attempt the transaction on an existing pay method.\n<\/p>\n<p>\n\tValid <code>paymethods<\/code> values:\n\t<ul>\n\t\t<li>New credit card<\/li>\n\t\t<li>New ACH<\/li>\n\t\t<li>Existing <code>creditcard_id<\/code><\/li>\n        <li>Existing <code>ach_id<\/code><\/li>\n\t<\/ul>\n<\/p>\n<p>\n\tThe returned <code>id<\/code> value will be the <code>transaction_id<\/code> value of the resulting transaction.\n<\/p>\n\n<h4>Requirements<\/h4>\n<ul>\n\t<li>You must specify an existing <code>customer_id<\/code>, <code>customer_token<\/code>, or <code>customer_external_key<\/code>.<\/li>\n\t<li>You must specify either an <code>amount<\/code> or at least one <code>invoice_id<\/code> to pay.<\/li>\n<\/ul>\n\n<p>\n\tAttempt to make a payment for a customer, using a bank account (ACH\/direct debit\/PAD).\n<\/p>\n<p>\n\tNote that bank account payments (ACH\/direct debit\/PAD) do not return a real-time response from the bank. Payments\n\twill go to a \"Pending\" status, and take an average of 2-5 business days to settle (or be returned by the bank), at\n\twhich time the status will update to either \"Success\" or \"Failed (decline)\".\n<\/p>\n<p>\n\tIf you specify one or more <code>paymethods<\/code> then those specific payment methods will be used.\n\tIf you do not specify, then:\n<\/p>\n<ul>\n\t<li>If the invoice is from a subscription, the payment method for the subscription will be tried.<\/li>\n\t<li>Otherwise, if the customer has a default payment method specified, the default payment method will be tried.<\/li>\n\t<li>Otherwise, all payment methods for the customer will be tried.<\/li>\n<\/ul>\n<p>\n\tAlternatively, you can specify an existing <code>creditcard_id<\/code> or <code>ach_id<\/code> within <code>paymethods<\/code> if you wish to attempt the transaction on an existing pay method.\n<\/p>\n<p>\n\tValid <code>paymethods<\/code> values:\n\t<ul>\n\t\t<li>New credit card<\/li>\n\t\t<li>New ACH<\/li>\n\t\t<li>Existing <code>creditcard_id<\/code><\/li>\n        <li>Existing <code>ach_id<\/code><\/li>\n\t<\/ul>\n<\/p>\n<p>\n\tThe returned <code>id<\/code> value will be the <code>transaction_id<\/code> value of the resulting transaction.\n<\/p>\n\n<h4>Requirements<\/h4>\n<ul>\n\t<li>You must specify an existing <code>customer_id<\/code>, <code>customer_token<\/code>, or <code>customer_external_key<\/code>.<\/li>\n\t<li>You must specify either an <code>amount<\/code> or at least one <code>invoice_id<\/code> to pay.<\/li>\n<\/ul>\n\n<p>\n\tAttempt to make a payment for a customer, against a scheduled payment or installment.\n<\/p>\n\n<p>\n\tIf you are using ChargeOver's scheduled payments features (scheduling payments or installments against an invoice)\n\tthen you can take payments using the API, against a particular scheduled payment.\n<\/p>\n<p>\n\tYou will specify the <code>invoice_schedule_id<\/code> of the scheduled payment you want to pay against, along with\n\tthe amount of the payment to apply to that scheduled payment.\n<\/p>\n",
                "externalDocs": {
                    "description": "Make a payment",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#pay-transaction"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer"
                                    },
                                    "customer_external_key": {
                                        "type": "string"
                                    },
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "amount": {
                                        "type": "number"
                                    },
                                    "applied_to": {
                                        "type": "array",
                                        "properties": {
                                            "invoice_id": {
                                                "type": "integer"
                                            },
                                            "invoice_schedule_id": {
                                                "type": "integer"
                                            },
                                            "applied": {
                                                "type": "number"
                                            },
                                            "lines": {
                                                "type": "array",
                                                "properties": {
                                                    "line_item_id": {
                                                        "type": "integer"
                                                    },
                                                    "applied": {
                                                        "type": "number"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "paymethods": {
                                        "type": "array",
                                        "properties": {
                                            "creditcard_id": {
                                                "type": "integer"
                                            },
                                            "number": {
                                                "type": "string"
                                            },
                                            "expdate_year": {
                                                "type": "string"
                                            },
                                            "expdate_month": {
                                                "type": "string"
                                            },
                                            "cvv": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            },
                                            "routing": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "utm": {
                                        "type": "object",
                                        "properties": {
                                            "utm_term": {
                                                "type": "string"
                                            },
                                            "utm_source": {
                                                "type": "string"
                                            },
                                            "utm_campaign": {
                                                "type": "string"
                                            },
                                            "utm_medium": {
                                                "type": "string"
                                            },
                                            "utm_content": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Pay with credit card": {
                                    "value": {
                                        "customer_id": 4130,
                                        "_comment": "Payment amount amount (if you don't specify an amount, you MUST specify a list of invoice_id values -- the amount will be calculated for you).",
                                        "amount": 15.95,
                                        "applied_to": [
                                            {
                                                "invoice_id": 16891
                                            }
                                        ],
                                        "paymethods": [
                                            {
                                                "_comment": "You can supply just an existing pay method id value (e.g. creditcard_id, ach_id, tokenized_id)... ",
                                                "creditcard_id": 1234
                                            },
                                            {
                                                "_comment": "... or the full credit card details...",
                                                "number": "4111 1111 1111 1111",
                                                "expdate_year": "2025",
                                                "expdate_month": "09",
                                                "cvv": "123"
                                            }
                                        ]
                                    }
                                },
                                "Pay with bank account": {
                                    "value": {
                                        "customer_id": 4130,
                                        "_comment": "Payment amount amount (if you don't specify an amount, you MUST specify a list of invoice_id values -- the amount will be calculated for you).",
                                        "amount": 15.95,
                                        "applied_to": [
                                            {
                                                "invoice_id": 16891
                                            }
                                        ],
                                        "paymethods": [
                                            {
                                                "_comment": "You can supply just an existing pay method id value (e.g. creditcard_id, ach_id, tokenized_id)... ",
                                                "ach_id": 1234
                                            },
                                            {
                                                "_comment": "... or full ACH\/bank account details.",
                                                "type": "chec",
                                                "number": "856667",
                                                "routing": "072403004",
                                                "name": "Jane Doe"
                                            }
                                        ]
                                    }
                                },
                                "Pay against a schedule \/ installment": {
                                    "value": {
                                        "customer_id": 4130,
                                        "_comment": "Payment amount amount (if you don't specify an amount, you MUST specify a list of invoice_id values -- the amount will be calculated for you).",
                                        "amount": 15.95,
                                        "applied_to": [
                                            {
                                                "invoice_id": 16891,
                                                "invoice_schedule_id": 79,
                                                "applied": 15.95
                                            }
                                        ],
                                        "paymethods": [
                                            {
                                                "_comment": "You can supply just an existing pay method id value (e.g. creditcard_id, ach_id, tokenized_id)... ",
                                                "creditcard_id": 1234
                                            },
                                            {
                                                "_comment": "... or the full credit card details...",
                                                "number": "4111 1111 1111 1111",
                                                "expdate_year": "2025",
                                                "expdate_month": "09",
                                                "cvv": "123"
                                            },
                                            {
                                                "_comment": "... or full ACH\/bank account details.",
                                                "type": "chec",
                                                "number": "856667",
                                                "routing": "072403004",
                                                "name": "Jane Doe"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/_example\/offline": {
            "post": {
                "summary": "Record offline payment",
                "description": "<p>\n\tPayment transactions mark an invoice paid (either entirely paid, or partially paid for).\n<\/p>\n<p>\n\t<strong>Note:<\/strong> This does <strong>not<\/strong> actually charge a credit card or an ACH account.\n\tIf you're trying to do that, please see the <a href=\"\/docs\/api\/make-a-payment\">make a payment<\/a> endpoint.\n<\/p>\n<p>\n\tNotes:\n<\/p>\n<ul>\n\t<li>To record a payment, set <code>transaction_type=pay<\/code><\/li>\n\t<li>The <code>gateway_status<\/code> value should be either <code>1<\/code> (to indicate the payment was successful) or <code>0<\/code> (zero, to log a payment that failed\/was declined)<\/li>\n\t<li>The <code>gateway_method<\/code> value MUST be one of: <code>visa<\/code>, <code>mastercard<\/code>, <code>american-express<\/code>, <code>discover<\/code>, <code>check<\/code>, <code>paypal<\/code>, <code>credit<\/code>, <code>ach<\/code><\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Record offline payment",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-transaction-offline"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "gateway_id": {
                                        "type": "integer",
                                        "description": "Payment gateway ID #"
                                    },
                                    "gateway_status": {
                                        "type": "integer",
                                        "description": "Payment gateway status (1 for success, 0 for failure)"
                                    },
                                    "gateway_transid": {
                                        "type": "string",
                                        "description": "Payment gateway transaction identifier"
                                    },
                                    "gateway_method": {
                                        "type": "string",
                                        "description": "Payment gateway method"
                                    },
                                    "gateway_msg": {
                                        "type": "string",
                                        "description": "A customer-facing error message indicating why the transaction declined\/failed"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "Transaction external key value"
                                    },
                                    "amount": {
                                        "type": "number",
                                        "format": "float",
                                        "description": "Total transaction amount (refunds will be negative)"
                                    },
                                    "transaction_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Date of the transaction"
                                    },
                                    "transaction_type": {
                                        "type": "string",
                                        "description": "Transaction type (one of: pay, ref, cre, spl)"
                                    },
                                    "transaction_method": {
                                        "type": "string",
                                        "description": "Transaction method"
                                    },
                                    "transaction_detail": {
                                        "type": "string",
                                        "description": "Transaction details"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Transaction memo"
                                    }
                                },
                                "required": [
                                    "customer_id",
                                    "transaction_type",
                                    "amount"
                                ]
                            },
                            "examples": {
                                "Record an offline payment": {
                                    "value": {
                                        "customer_id": 1,
                                        "gateway_id": 1,
                                        "gateway_status": 1,
                                        "gateway_transid": "abcd1234",
                                        "gateway_msg": "test gateway message",
                                        "gateway_method": "check",
                                        "amount": 15.95,
                                        "transaction_type": "pay",
                                        "transaction_detail": "here are some details",
                                        "transaction_datetime": "2013-06-20 18:48:17",
                                        "_comment": "You can specify which invoices to apply the payments to...",
                                        "applied_to": [
                                            {
                                                "invoice_id": 16891
                                            }
                                        ],
                                        "auto_apply": "oldest_first"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/_example\/credit": {
            "post": {
                "summary": "Create a credit memo",
                "description": "<p>\n\tCredit memo transactions mark an invoice paid (either entirely paid, or partially paid for). It acts as a \"credit\"\n\tfor purchases, to correct errors like overcharges or returns.\n<\/p>\n<p>\n\t<strong>Note:<\/strong> This does <strong>not<\/strong> actually charge a credit card or an ACH account.\n\tIf you're trying to do that, please see the <a href=\"\/docs\/api\/make-a-payment\">make a payment<\/a> endpoint.\n<\/p>\n<p>\n\tNotes:\n<\/p>\n<ul>\n\t<li>To record a credit, set <code>transaction_type=cre<\/code><\/li>\n\t<li>The <code>gateway_status<\/code> value should be either <code>1<\/code><\/li>\n\t<li>The <code>gateway_method<\/code> value MUST be one of: <code>credit<\/code><\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Create a credit memo",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-transaction-credit"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "gateway_id": {
                                        "type": "integer",
                                        "description": "Payment gateway ID #"
                                    },
                                    "gateway_status": {
                                        "type": "integer",
                                        "description": "Payment gateway status (1 for success, 0 for failure)"
                                    },
                                    "gateway_transid": {
                                        "type": "string",
                                        "description": "Payment gateway transaction identifier"
                                    },
                                    "gateway_method": {
                                        "type": "string",
                                        "description": "Payment gateway method"
                                    },
                                    "gateway_msg": {
                                        "type": "string",
                                        "description": "A customer-facing error message indicating why the transaction declined\/failed"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "Transaction external key value"
                                    },
                                    "amount": {
                                        "type": "number",
                                        "format": "float",
                                        "description": "Total transaction amount (refunds will be negative)"
                                    },
                                    "transaction_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Date of the transaction"
                                    },
                                    "transaction_type": {
                                        "type": "string",
                                        "description": "Transaction type (one of: pay, ref, cre, spl)"
                                    },
                                    "transaction_method": {
                                        "type": "string",
                                        "description": "Transaction method"
                                    },
                                    "transaction_detail": {
                                        "type": "string",
                                        "description": "Transaction details"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Transaction memo"
                                    }
                                },
                                "required": [
                                    "customer_id",
                                    "transaction_type",
                                    "amount"
                                ]
                            },
                            "examples": {
                                "Create a Credit Memo": {
                                    "value": {
                                        "customer_id": 1,
                                        "gateway_id": 1,
                                        "gateway_status": 1,
                                        "gateway_transid": "abcd1234",
                                        "gateway_msg": "test gateway message",
                                        "gateway_method": "credit",
                                        "amount": 15.95,
                                        "transaction_type": "cre",
                                        "transaction_detail": "here are some details",
                                        "transaction_datetime": "2013-06-20 18:48:17",
                                        "_comment": "You can specify which invoices to apply the payments to...",
                                        "applied_to": [
                                            {
                                                "invoice_id": 10071,
                                                "applied": 10.95
                                            },
                                            {
                                                "invoice_id": 10072,
                                                "applied": 5
                                            }
                                        ],
                                        "auto_apply": "best_fit"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/{transaction_id}": {
            "get": {
                "summary": "Get a specific transaction",
                "description": "<p>\n\tGetting a transaction (a payment, refund, credit, etc.) gives you the full transaction details.\n<\/p>\n<p>\n\tA couple of notes about some specific attributes returned:\n<\/p>\n<ul>\n\t<li><strong>applied_to<\/strong> - if the payment is applied to any invoices, a list of invoices and the amount of the payment applied will be listed here<\/li>\n\t<li><strong>refunds<\/strong> - for <i>payments<\/i>, if any portion of the payment was refunded, a list of related refund <code>transaction_id<\/code> values will be here<\/li>\n\t<li><strong>payments<\/strong> - for <i>refunds<\/i>, the original payment <code>transaction_id<\/code> value will be here<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Get a specific transaction",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-transaction"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "transaction_id": {
                                                    "type": "integer",
                                                    "description": "Transaction ID #"
                                                },
                                                "parent_transaction_id": {
                                                    "type": "integer",
                                                    "description": "Parent transaction ID #"
                                                },
                                                "transaction_batch_id": {
                                                    "type": "integer",
                                                    "description": "Transaction batch ID #"
                                                },
                                                "customer_id": {
                                                    "type": "integer",
                                                    "description": "Customer ID #"
                                                },
                                                "parent_customer_id": {
                                                    "type": "integer",
                                                    "description": "Parent customer ID #"
                                                },
                                                "brand_id": {
                                                    "type": "integer",
                                                    "description": "Brand ID #"
                                                },
                                                "gateway_id": {
                                                    "type": "integer",
                                                    "description": "Payment gateway ID #"
                                                },
                                                "gateway_type": {
                                                    "type": "string",
                                                    "description": "Payment gateway type"
                                                },
                                                "gateway_nickname": {
                                                    "type": "string",
                                                    "description": "Nickname for the payment gateway"
                                                },
                                                "gateway_status": {
                                                    "type": "integer",
                                                    "description": "Payment gateway status (1 for success, 0 for failure)"
                                                },
                                                "gateway_transid": {
                                                    "type": "string",
                                                    "description": "Payment gateway transaction identifier"
                                                },
                                                "gateway_method": {
                                                    "type": "string",
                                                    "description": "Payment gateway method"
                                                },
                                                "gateway_msg": {
                                                    "type": "string",
                                                    "description": "A customer-facing error message indicating why the transaction declined\/failed"
                                                },
                                                "gateway_err_code": {
                                                    "type": "integer",
                                                    "description": "A merchant-facing specific error code indicating why the transaction declined\/failed"
                                                },
                                                "gateway_err_detail": {
                                                    "type": "string",
                                                    "description": "A merchant-facing detailed error message indicating why the transaction declined\/failed"
                                                },
                                                "gateway_opts": {
                                                    "type": "string",
                                                    "description": "Additional gateway-specific data"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "A unique token for the transaction"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "Transaction external key value"
                                                },
                                                "currency_id": {
                                                    "type": "integer",
                                                    "description": "Currency ID #"
                                                },
                                                "currency_iso4217": {
                                                    "type": "string",
                                                    "description": "Currency ISO 4217 code"
                                                },
                                                "currency_symbol": {
                                                    "type": "string",
                                                    "description": "Currency symbol"
                                                },
                                                "amount": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Total transaction amount (refunds will be negative)"
                                                },
                                                "fee": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Transaction fee (if gateway provides this data)"
                                                },
                                                "applied": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount that is applied to invoices"
                                                },
                                                "unapplied": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount that is unapplied (not applied to any invoices)"
                                                },
                                                "transaction_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Date of the transaction"
                                                },
                                                "transaction_status_name": {
                                                    "type": "string",
                                                    "description": "Human-friendly transaction status"
                                                },
                                                "transaction_status_str": {
                                                    "type": "string",
                                                    "description": "Status string"
                                                },
                                                "transaction_status_state": {
                                                    "type": "string",
                                                    "description": "State code"
                                                },
                                                "transaction_type": {
                                                    "type": "string",
                                                    "description": "Transaction type (one of: pay, ref, cre, spl)"
                                                },
                                                "transaction_type_name": {
                                                    "type": "string",
                                                    "description": "Transaction type name"
                                                },
                                                "transaction_method": {
                                                    "type": "string",
                                                    "description": "Transaction method"
                                                },
                                                "transaction_detail": {
                                                    "type": "string",
                                                    "description": "Transaction details"
                                                },
                                                "transaction_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time of the transaction was created"
                                                },
                                                "transaction_ipaddr": {
                                                    "type": "string",
                                                    "description": "IP address that created the transaction"
                                                },
                                                "void_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the transaction was voided"
                                                },
                                                "url_self": {
                                                    "type": "string",
                                                    "description": "URL for viewing the transaction in the GUI"
                                                },
                                                "applied_to": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "transaction_applied_id": {
                                                                "type": "integer",
                                                                "description": "Line item ID #"
                                                            },
                                                            "transaction_id": {
                                                                "type": "integer",
                                                                "description": "Transaction ID #"
                                                            },
                                                            "invoice_id": {
                                                                "type": "integer",
                                                                "description": "Invoice ID #"
                                                            },
                                                            "invoice_schedule_id": {
                                                                "type": "integer",
                                                                "description": "Invoice schedule ID #"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Amount applied to the invoice"
                                                            }
                                                        }
                                                    },
                                                    "description": "Information about how the payment is applied"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "memo": {
                                                    "type": "string",
                                                    "description": "Transaction memo"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "transaction_id": 43,
                                                "gateway_id": 201,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "185g5984n91k",
                                                "transaction_date": "2019-07-24",
                                                "gateway_status": 1,
                                                "gateway_transid": "1563978556",
                                                "gateway_msg": "",
                                                "gateway_err_code": 0,
                                                "gateway_err_detail": null,
                                                "gateway_opts": {
                                                    "time_stamp": "Wed, 24 Jul 2019 09:29:16 -0500",
                                                    "auth_code": "ABC123"
                                                },
                                                "gateway_method": "visa",
                                                "amount": 75,
                                                "fee": 0,
                                                "transaction_type": "pay",
                                                "transaction_method": "Visa",
                                                "transaction_detail": "x1111",
                                                "transaction_datetime": "2019-07-24 09:29:16",
                                                "transaction_ipaddr": "10.80.1.1",
                                                "void_datetime": null,
                                                "transaction_status_name": "Success",
                                                "transaction_status_str": "ok-successful",
                                                "transaction_status_state": "o",
                                                "transaction_type_name": "Payment",
                                                "applied": 75,
                                                "brand_id": 1,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/transaction\/view\/43",
                                                "customer_id": 48,
                                                "unapplied": 0,
                                                "applied_to": [
                                                    {
                                                        "invoice_id": 1027,
                                                        "applied": 75
                                                    }
                                                ],
                                                "refunds": [
                                                    {
                                                        "transaction_id": 44
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction": {
            "get": {
                "summary": "Query for transactions",
                "description": "<h2>\n\tFiltering\n<\/h2>\n<p>\n\tAvailable query parameter values for filtering:\n<\/p>\n<ul>\n\t<li>transaction_id<\/li>\n\t<li>customer_id<\/li>\n\t<li>gateway_id<\/li>\n\t<li>currency_id <\/li>\n\t<li>creditcard_id<\/li>\n\t<li>ach_id<\/li>\n\t<li>tokenized_id<\/li>\n\t<li>token<\/li>\n\t<li>external_key<\/li>\n\t<li>gateway_status<\/li>\n\t<li>gateway_transid<\/li>\n\t<li>amount<\/li>\n\t<li>fee<\/li>\n\t<li>transaction_type<\/li>\n\t<li>transaction_method<\/li>\n\t<li>transaction_detail<\/li>\n\t<li>transaction_datetime<\/li>\n\t<li>transaction_status.state<\/li>\n\t<li>transaction_status.str<\/li>\n\t<li>applied_to.package_id (this will find transactions that are applied to invoices from a specific package)<\/li>\n\t<li>applied_to.package_external_key (this will find transactions that are applied to invoices from a specific package)<\/li>\n\t<li>applied_to.invoice_id (this will find transactions that are applied to a particular invoice)<\/li>\n<\/ul>\n\n<h2>\n\tExpansions\n<\/h2>\n<p>\n\tNodes you can expand by using the <code>?expand=<\/code> query parameter:\n<\/p>\n<ul>\n\t<li><code>applied_to<\/code> - To get which invoices each transaction is associated with<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Query for transactions",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-for-transactions"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "transaction_type:EQUALS:pay"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "transaction_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "transaction_id": {
                                                        "type": "integer",
                                                        "description": "Transaction ID #"
                                                    },
                                                    "parent_transaction_id": {
                                                        "type": "integer",
                                                        "description": "Parent transaction ID #"
                                                    },
                                                    "transaction_batch_id": {
                                                        "type": "integer",
                                                        "description": "Transaction batch ID #"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer",
                                                        "description": "Parent customer ID #"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer",
                                                        "description": "Brand ID #"
                                                    },
                                                    "gateway_id": {
                                                        "type": "integer",
                                                        "description": "Payment gateway ID #"
                                                    },
                                                    "gateway_type": {
                                                        "type": "string",
                                                        "description": "Payment gateway type"
                                                    },
                                                    "gateway_nickname": {
                                                        "type": "string",
                                                        "description": "Nickname for the payment gateway"
                                                    },
                                                    "gateway_status": {
                                                        "type": "integer",
                                                        "description": "Payment gateway status (1 for success, 0 for failure)"
                                                    },
                                                    "gateway_transid": {
                                                        "type": "string",
                                                        "description": "Payment gateway transaction identifier"
                                                    },
                                                    "gateway_method": {
                                                        "type": "string",
                                                        "description": "Payment gateway method"
                                                    },
                                                    "gateway_msg": {
                                                        "type": "string",
                                                        "description": "A customer-facing error message indicating why the transaction declined\/failed"
                                                    },
                                                    "gateway_err_code": {
                                                        "type": "integer",
                                                        "description": "A merchant-facing specific error code indicating why the transaction declined\/failed"
                                                    },
                                                    "gateway_err_detail": {
                                                        "type": "string",
                                                        "description": "A merchant-facing detailed error message indicating why the transaction declined\/failed"
                                                    },
                                                    "gateway_opts": {
                                                        "type": "string",
                                                        "description": "Additional gateway-specific data"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "A unique token for the transaction"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "Transaction external key value"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer",
                                                        "description": "Currency ID #"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string",
                                                        "description": "Currency ISO 4217 code"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string",
                                                        "description": "Currency symbol"
                                                    },
                                                    "amount": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Total transaction amount (refunds will be negative)"
                                                    },
                                                    "fee": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Transaction fee (if gateway provides this data)"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount that is applied to invoices"
                                                    },
                                                    "unapplied": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount that is unapplied (not applied to any invoices)"
                                                    },
                                                    "transaction_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Date of the transaction"
                                                    },
                                                    "transaction_status_name": {
                                                        "type": "string",
                                                        "description": "Human-friendly transaction status"
                                                    },
                                                    "transaction_status_str": {
                                                        "type": "string",
                                                        "description": "Status string"
                                                    },
                                                    "transaction_status_state": {
                                                        "type": "string",
                                                        "description": "State code"
                                                    },
                                                    "transaction_type": {
                                                        "type": "string",
                                                        "description": "Transaction type (one of: pay, ref, cre, spl)"
                                                    },
                                                    "transaction_type_name": {
                                                        "type": "string",
                                                        "description": "Transaction type name"
                                                    },
                                                    "transaction_method": {
                                                        "type": "string",
                                                        "description": "Transaction method"
                                                    },
                                                    "transaction_detail": {
                                                        "type": "string",
                                                        "description": "Transaction details"
                                                    },
                                                    "transaction_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time of the transaction was created"
                                                    },
                                                    "transaction_ipaddr": {
                                                        "type": "string",
                                                        "description": "IP address that created the transaction"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the transaction was voided"
                                                    },
                                                    "url_self": {
                                                        "type": "string",
                                                        "description": "URL for viewing the transaction in the GUI"
                                                    },
                                                    "applied_to": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "transaction_applied_id": {
                                                                    "type": "integer",
                                                                    "description": "Line item ID #"
                                                                },
                                                                "transaction_id": {
                                                                    "type": "integer",
                                                                    "description": "Transaction ID #"
                                                                },
                                                                "invoice_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice ID #"
                                                                },
                                                                "invoice_schedule_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice schedule ID #"
                                                                },
                                                                "applied": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Amount applied to the invoice"
                                                                }
                                                            }
                                                        },
                                                        "description": "Information about how the payment is applied"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field #5"
                                                    },
                                                    "memo": {
                                                        "type": "string",
                                                        "description": "Transaction memo"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "transaction_id": 65,
                                                    "gateway_id": 201,
                                                    "currency_id": 1,
                                                    "token": "6by30nr7dxlh",
                                                    "transaction_date": "2015-02-16",
                                                    "gateway_status": 1,
                                                    "gateway_transid": "*TEST CC* Mon, 16 Feb 2015 16:29:13 -0500",
                                                    "gateway_msg": "",
                                                    "amount": 10.95,
                                                    "fee": -0.33,
                                                    "transaction_type": "pay",
                                                    "transaction_method": "Visa",
                                                    "transaction_detail": "x1111",
                                                    "transaction_datetime": "2015-02-16 20:29:13",
                                                    "void_datetime": null,
                                                    "transaction_type_name": "Payment",
                                                    "currency_symbol": "$",
                                                    "currency_iso4217": "USD",
                                                    "customer_id": 1
                                                },
                                                {
                                                    "transaction_id": 66,
                                                    "gateway_id": 202,
                                                    "currency_id": 1,
                                                    "token": "flsxubzeao0t",
                                                    "transaction_date": "2015-02-20",
                                                    "gateway_status": 0,
                                                    "gateway_transid": null,
                                                    "gateway_msg": "-",
                                                    "amount": 25.95,
                                                    "fee": 0,
                                                    "transaction_type": "pay",
                                                    "transaction_method": "Visa",
                                                    "transaction_detail": "x1111",
                                                    "transaction_datetime": "2015-02-20 20:20:34",
                                                    "void_datetime": null,
                                                    "transaction_type_name": "Payment",
                                                    "currency_symbol": "$",
                                                    "currency_iso4217": "USD",
                                                    "customer_id": 1
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/{transaction_id}\/_action\/decline": {
            "post": {
                "summary": "Mark a transaction declined",
                "description": "<p>If ChargeOver is unable to get informaton back about NSF payments from your ACH payment gateway, you can use this API call to manually mark a transaction as declined via the API.<\/p>\n\n<p>Optionally, you can specify values for the <code>gateway_msg<\/code>, <code>gateway_err_code<\/code>, and <code>gateway_err_detail<\/code> fields to supply more information about the failed transaction.<\/p>\n\n<p>For the <code>gateway_msg<\/code> field, you can put the message from your gateway about why the transaction failed. For instance, if a transaction failed because of insufficient funds, you could put <code>\"Insufficient Funds\"<\/code> in for this field.<\/p>\n<p>If you are not sure what error code to use for the <code>gateway_err_code<\/code> field, you can view our list of payment processor error codes <a href=\"https:\/\/help.chargeover.com\/docs\/for-developers\/payment-processor-error-codes\/\"> here<\/a>. <\/p>\n",
                "externalDocs": {
                    "description": "Mark a transaction declined",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#mark-transaction-declined"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "gateway_msg": {
                                        "type": "string"
                                    },
                                    "gateway_err_code": {
                                        "type": "string"
                                    },
                                    "gateway_err_detail": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "gateway_msg": "Your message here",
                                        "gateway_err_code": "Error code integer here",
                                        "gateway_err_detail": "Your message here"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/{transaction_id}\/_action\/changeAppliedAmounts": {
            "post": {
                "summary": "Adjust applied amounts",
                "description": "<p>\n\tUse this to adjust how much of a payment or credit is applied to specific invoices, or which invoices a payment or credit is applied to.\n<\/p>\n<p>\n\tOn every REST API request, you need to specify <i>all<\/i> of the invoices the payment is applied to. Any existing applications of the payment will be overwritten by the applications in this REST API request (e.g. if an invoice previously had this payment applied to it, and you don't specify that invoice in this request, the payment application will be removed from that invoice).\n<\/p>\n<p>\n    To unapply the payment entirely, specify an empty `applied_to` array.\n<\/p>\n<p>\n\t<strong>Note:<\/strong> You can only adjust how payments and credits are applied.\n<\/p>\n",
                "externalDocs": {
                    "description": "Adjust applied amounts",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#transaction-applied-amounts"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "applied_to": {
                                        "type": "object",
                                        "properties": [
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "applied": {
                                                        "type": "number"
                                                    }
                                                }
                                            },
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "applied": {
                                                        "type": "number"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "applied_to": [
                                            {
                                                "invoice_id": 1274,
                                                "applied": 10
                                            },
                                            {
                                                "invoice_id": 1287,
                                                "applied": 2.9
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/{transaction_id}\/_action\/void": {
            "post": {
                "summary": "Void a transaction",
                "description": "Voiding a transaction through ChargeOver's API is for logging externally-voided transactions. Note that voiding a transaction through the API does not reach out to any payment gateways or credit card processors.",
                "externalDocs": {
                    "description": "Void a transaction",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#void-a-transaction"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/transaction\/{transaction_id}\/_action\/email": {
            "post": {
                "summary": "Email a receipt",
                "description": "Send a payment receipt, or payment failure notification, via e-mail. You can specify an email template to use with the <code>message_id<\/code>, which is the id number you see in the URL when you edit an email template in ChargeOver.",
                "externalDocs": {
                    "description": "Email a receipt",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#email-a-transaction"
                },
                "tags": [
                    "transactions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "email": {
                                        "type": "string"
                                    },
                                    "cc": {
                                        "type": "string"
                                    },
                                    "bcc": {
                                        "type": "string"
                                    },
                                    "subject": {
                                        "type": "string"
                                    },
                                    "body": {
                                        "type": "string"
                                    },
                                    "html": {
                                        "type": "string"
                                    },
                                    "from": {
                                        "type": "string"
                                    },
                                    "_comment_message_id": {
                                        "type": "string"
                                    },
                                    "message_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "All attributes are optional, and can be used to override the default email templates, etc.",
                                        "email": "to@example.com",
                                        "cc": "cc@example.com",
                                        "bcc": "bcc@example.com",
                                        "subject": "Override the default subject",
                                        "body": "Override the default plain-text body of the email",
                                        "html": "Override the default &lt;b&gt;HTML body&lt;\/b&gt; of the email",
                                        "from": "\"Example Company\" &lt;from@example.com&gt;",
                                        "_comment_message_id": "You can optionally specify a message_id value to use a specific email template.",
                                        "message_id": 2
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/quote": {
            "post": {
                "summary": "Create a quote",
                "description": "<strong>Requirements<\/strong>\n<ul>\n<li>You must specify an existing customer_id, customer_token, or customer_external_key value.<\/li>\n<li>You must specify at least one line item.<\/li>\n<li>Each line item must refer to an existing item_id value.<\/li>\n<li>You must specify a paycycle:<\/li>\n\n<ul>\n       <li><code>one<\/code> - a quote for a one-time invoice<\/li>\n       <li><code>mon<\/code> - a quote for a monthly subscription<\/li>\n       <li><code>2mn<\/code> - a quote for a subscription that invoices the customer every 2 months<\/li>\n       <li><code>yrl<\/code> - a quote for a yearly subscription<\/li>        \n       <li><code>2yr<\/code> - a quote for a subscription that invoices the customer every 2 years<\/li>\n       <li><code>3yr<\/code> - a quote for a subscription that invoices the customer every 3 years<\/li>\n       <li><code>1wk<\/code> - a quote for a weekly subscription<\/li>\n       <li><code>2wk<\/code> - a quote for a subscription that invoices the customer every 2 weeks<\/li>     \n       <li><code>qtr<\/code> - a quote for a quarterly subscription<\/li>\n       <li><code>six<\/code> - a quote for a subscription that invoices customers every 6 months<\/li>\n<\/ul>\n<\/ul>\n\n<strong>Notes<\/strong>\n<ul>\n<li>The id value in the response is the <code>quote_id<\/code> value of the newly created quote.<\/li>\n<li>The \"Location:\" header will provide a direct API link to the newly created quote.<\/li>\n<\/ul>\n\n\n\n\n",
                "externalDocs": {
                    "description": "Create a quote",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-quote"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "refnumber": {
                                        "type": "string",
                                        "description": "Quote reference number"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "paycycle": {
                                        "type": "string",
                                        "description": "Payment cycle for the quote (e.g. monthly, etc.)"
                                    },
                                    "nickname": {
                                        "type": "string",
                                        "description": "Quote nickname"
                                    },
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Quote date"
                                    },
                                    "validuntil_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Quote valid until"
                                    },
                                    "holduntil_datetime_str": {
                                        "type": "string",
                                        "description": "Date\/time invoicing for the resulting subscription to be delayed until"
                                    },
                                    "currency_id": {
                                        "type": "integer",
                                        "description": "Currency ID #"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Terms ID number"
                                    },
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Class ID number for Quickbooks"
                                    },
                                    "brand_id": {
                                        "type": "integer",
                                        "description": "Brand ID number"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/Worker ID number"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "Billing address line 3"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "bill_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "Shipping address line 3"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "ship_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "url_acceptredirect": {
                                        "type": "string",
                                        "description": "URL the lead should be redirected to after accepting a quote"
                                    },
                                    "url_rejectredirect": {
                                        "type": "string",
                                        "description": "URL the lead should be redirected to after rejecting a quote"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Memo\/notes to customer"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "line_items": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID # for this line"
                                                },
                                                "descrip": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "line_rate": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "(Deprecated - see the \"tierset\" attribute)"
                                                },
                                                "line_quantity": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Quantity"
                                                },
                                                "expire_recurs": {
                                                    "type": "integer",
                                                    "description": "Number of invoices to occur on before expiring"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "subscribe_prorate_from_datetime": {
                                                    "type": "string"
                                                },
                                                "subscribe_prorate_to_datetime": {
                                                    "type": "string"
                                                },
                                                "tierset": {
                                                    "type": "array",
                                                    "description": "Pricing information"
                                                }
                                            }
                                        },
                                        "description": "A list of line items for the quote"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": 5,
                                        "paycycle": "mon",
                                        "line_items": [
                                            {
                                                "item_id": 1,
                                                "descrip": "Here is a description for my line item.",
                                                "line_quantity": 15
                                            },
                                            {
                                                "item_id": 1,
                                                "descrip": "Here is a description for my line item.",
                                                "line_quantity": 15,
                                                "tierset": {
                                                    "pricemodel": "fla",
                                                    "base": 10.95,
                                                    "setup": 199.99
                                                }
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Query for quotes",
                "description": "<p>\n\t<strong>Available query parameter values for filtering:<\/strong>\n<\/p>\n<ul>\n\t<li><code>quote_id<\/code><\/li>\n\t<li><code>customer_id<\/code><\/li>\n\t<li><code>brand_id<\/code><\/li>\n\t<li><code>currency_id<\/code><\/li>\n\t<li><code>refnumber<\/code><\/li>\n\t<li><code>token<\/code><\/li>\n\t<li><code>external_key<\/code><\/li>\n\t<li><code>date<\/code><\/li>\n\t<li><code>bill_state<\/code><\/li>\n\t<li><code>ship_state<\/code><\/li>\n\t<li><code>bill_country<\/code><\/li>\n\t<li><code>ship_country<\/code><\/li>\n\t<li><code>quote_status_str<\/code><\/li>\n\t<li><code>quote_status_state<\/code><\/li>\n<\/ul>\n<p>\n\t<strong>Valid values for quote_status_str:<\/strong>\n<\/p>\n<ul>\n\t<li>open-new<\/li>\n\t<li>open-sent<\/li>\n\t<li>closed-won<\/li>\n\t<li>closed-lost<\/li>\n<\/ul>\n<p>\n\t<strong>Valid values for quote_status_state:<\/strong>\n<\/p>\n<ul>\n\t<li><code>o<\/code> (any \u201copen\u201d quote, i.e. any that have not been accepted or lost)<\/li>\n\t<li><code>c<\/code> (any \u201cclosed\u201d quote, i.e. any that have been accepted or lost)<\/li>\n<\/ul>\n<p>\n\tBy default, only the overview quote details are returned (i.e. no individual line items). If you get a specific quote by quote id value (e.g. <code> GET \/api\/v3\/quote\/1234<\/code>) you'll get back the invoice line items\n<\/p>\n",
                "externalDocs": {
                    "description": "Query for quotes",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-for-quotes"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "quote_status_state:EQUALS:o"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "quote_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer",
                                                        "description": "Quote ID #"
                                                    },
                                                    "refnumber": {
                                                        "type": "string",
                                                        "description": "Quote reference number"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "description": "Payment cycle for the quote (e.g. monthly, etc.)"
                                                    },
                                                    "nickname": {
                                                        "type": "string",
                                                        "description": "Quote nickname"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer",
                                                        "description": "Parent customer ID #"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the quote was created"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Quote date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Quote valid until"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string",
                                                        "description": "Date\/time invoicing for the resulting subscription to be delayed until"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer",
                                                        "description": "Currency ID #"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string",
                                                        "description": "Currency symbol"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string",
                                                        "description": "Currency ISO 4217 representation"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer",
                                                        "description": "Terms ID number"
                                                    },
                                                    "class_id": {
                                                        "type": "integer",
                                                        "description": "Class ID number for Quickbooks"
                                                    },
                                                    "terms_name": {
                                                        "type": "string",
                                                        "description": "Terms name"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer",
                                                        "description": "Terms Number of days"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer",
                                                        "description": "Brand ID number"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string",
                                                        "description": "Payment cycle name"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer",
                                                        "description": "Admin\/Worker ID number"
                                                    },
                                                    "admin_name": {
                                                        "type": "string",
                                                        "description": "Admin\/Worker Name"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Unique token"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string",
                                                        "description": "Billing address line 1"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string",
                                                        "description": "Billing address line 2"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string",
                                                        "description": "Billing address line 3"
                                                    },
                                                    "bill_city": {
                                                        "type": "string",
                                                        "description": "Billing address city"
                                                    },
                                                    "bill_state": {
                                                        "type": "string",
                                                        "description": "Billing address state"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string",
                                                        "description": "Billing address postal code"
                                                    },
                                                    "bill_country": {
                                                        "type": "string",
                                                        "description": "Billing address country"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string",
                                                        "description": "(deprecated)"
                                                    },
                                                    "bill_block": {
                                                        "type": "string",
                                                        "description": "Printable billing address"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string",
                                                        "description": "Shipping address line 1"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string",
                                                        "description": "Shipping address line 2"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string",
                                                        "description": "Shipping address line 3"
                                                    },
                                                    "ship_city": {
                                                        "type": "string",
                                                        "description": "Shipping address city"
                                                    },
                                                    "ship_state": {
                                                        "type": "string",
                                                        "description": "Shipping address state"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string",
                                                        "description": "Shipping address postal code"
                                                    },
                                                    "ship_country": {
                                                        "type": "string",
                                                        "description": "Shipping address country"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string",
                                                        "description": "(deprecated)"
                                                    },
                                                    "ship_block": {
                                                        "type": "string",
                                                        "description": "Printable shipping address"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string",
                                                        "description": "URL to view the quote"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string",
                                                        "description": "URL to get a PDF of the quote"
                                                    },
                                                    "url_self": {
                                                        "type": "string",
                                                        "description": "URL for viewing the quote in the GUI"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string",
                                                        "description": "URL to visit to accept the quote"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string",
                                                        "description": "URL to visit to provide a payment method for the quote"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string",
                                                        "description": "URL to visit to reject the quote"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string",
                                                        "description": "URL the lead should be redirected to after accepting a quote"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string",
                                                        "description": "URL the lead should be redirected to after rejecting a quote"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string",
                                                        "description": "The Date\/time that the quote was accepted"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string",
                                                        "description": "The Date\/time that the quote was rejected"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Date the quote is due"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Optional one time free charged for set up expenses"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount due after taxes and fees"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "The amount due\u00a0when you accept the quote\u00a0"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount due before taxes and fees"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Amount due for taxes"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string",
                                                        "description": "Human-friendly quote status"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string",
                                                        "description": "Status string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string",
                                                        "description": "Status code"
                                                    },
                                                    "memo": {
                                                        "type": "string",
                                                        "description": "Memo\/notes to customer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field #5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field #6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field #7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field #8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field #9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field #10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field #11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field #12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field #13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field #14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field #15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field #16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field #17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field #18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field #19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field #20"
                                                    },
                                                    "line_items": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "line_item_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice line ID #"
                                                                },
                                                                "quote_id": {
                                                                    "type": "integer",
                                                                    "description": "Invoice ID #"
                                                                },
                                                                "item_id": {
                                                                    "type": "integer",
                                                                    "description": "Item ID # for this line"
                                                                },
                                                                "item_name": {
                                                                    "type": "string",
                                                                    "description": "Item name"
                                                                },
                                                                "item_accounting_sku": {
                                                                    "type": "string",
                                                                    "description": "Item accounting SKU"
                                                                },
                                                                "item_external_key": {
                                                                    "type": "string",
                                                                    "description": "Item external key"
                                                                },
                                                                "item_token": {
                                                                    "type": "string",
                                                                    "description": "Item token"
                                                                },
                                                                "item_type": {
                                                                    "type": "string",
                                                                    "description": "Item type"
                                                                },
                                                                "quote_line_bundle_id": {
                                                                    "type": "integer",
                                                                    "description": "Quote line bundle ID #"
                                                                },
                                                                "tierset_id": {
                                                                    "type": "integer",
                                                                    "description": "Tierset ID # for this line"
                                                                },
                                                                "descrip": {
                                                                    "type": "string",
                                                                    "description": "Description"
                                                                },
                                                                "line_rate": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "(Deprecated - see the \"tierset\" attribute)"
                                                                },
                                                                "line_quantity": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Quantity"
                                                                },
                                                                "line_subtotal": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Line subtotal"
                                                                },
                                                                "line_total": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Line total"
                                                                },
                                                                "expire_recurs": {
                                                                    "type": "integer",
                                                                    "description": "Number of invoices to occur on before expiring"
                                                                },
                                                                "tax_taxable": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "The total amount that was taxable"
                                                                },
                                                                "tax_taxed": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "The amount that tax was calculated from"
                                                                },
                                                                "tax_total": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "The tax amount for this line"
                                                                },
                                                                "tax_id": {
                                                                    "type": "string"
                                                                },
                                                                "tax_group_id": {
                                                                    "type": "string"
                                                                },
                                                                "is_setup": {
                                                                    "type": "bool",
                                                                    "description": "(Deprecated)"
                                                                },
                                                                "is_base": {
                                                                    "type": "bool",
                                                                    "description": "(Deprecated)"
                                                                },
                                                                "is_taxed": {
                                                                    "type": "bool"
                                                                },
                                                                "custom_1": {
                                                                    "type": "string",
                                                                    "description": "Custom field #1"
                                                                },
                                                                "custom_2": {
                                                                    "type": "string",
                                                                    "description": "Custom field #2"
                                                                },
                                                                "custom_3": {
                                                                    "type": "string",
                                                                    "description": "Custom field #3"
                                                                },
                                                                "custom_4": {
                                                                    "type": "string",
                                                                    "description": "Custom field #4"
                                                                },
                                                                "custom_5": {
                                                                    "type": "string",
                                                                    "description": "Custom field #5"
                                                                },
                                                                "custom_6": {
                                                                    "type": "string",
                                                                    "description": "Custom field #6"
                                                                },
                                                                "custom_7": {
                                                                    "type": "string",
                                                                    "description": "Custom field #7"
                                                                },
                                                                "custom_8": {
                                                                    "type": "string",
                                                                    "description": "Custom field #8"
                                                                },
                                                                "custom_9": {
                                                                    "type": "string",
                                                                    "description": "Custom field #9"
                                                                },
                                                                "custom_10": {
                                                                    "type": "string",
                                                                    "description": "Custom field #10"
                                                                },
                                                                "custom_11": {
                                                                    "type": "string",
                                                                    "description": "Custom field #11"
                                                                },
                                                                "custom_12": {
                                                                    "type": "string",
                                                                    "description": "Custom field #12"
                                                                },
                                                                "custom_13": {
                                                                    "type": "string",
                                                                    "description": "Custom field #13"
                                                                },
                                                                "custom_14": {
                                                                    "type": "string",
                                                                    "description": "Custom field #14"
                                                                },
                                                                "custom_15": {
                                                                    "type": "string",
                                                                    "description": "Custom field #15"
                                                                },
                                                                "custom_16": {
                                                                    "type": "string",
                                                                    "description": "Custom field #16"
                                                                },
                                                                "custom_17": {
                                                                    "type": "string",
                                                                    "description": "Custom field #17"
                                                                },
                                                                "custom_18": {
                                                                    "type": "string",
                                                                    "description": "Custom field #18"
                                                                },
                                                                "custom_19": {
                                                                    "type": "string",
                                                                    "description": "Custom field #19"
                                                                },
                                                                "custom_20": {
                                                                    "type": "string",
                                                                    "description": "Custom field #20"
                                                                },
                                                                "subscribe_prorate_from_datetime": {
                                                                    "type": "string"
                                                                },
                                                                "subscribe_prorate_to_datetime": {
                                                                    "type": "string"
                                                                },
                                                                "tierset": {
                                                                    "type": "array",
                                                                    "description": "Pricing information"
                                                                }
                                                            }
                                                        },
                                                        "description": "A list of line items for the quote"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "quote_id": 9,
                                                    "terms_id": 2,
                                                    "admin_id": null,
                                                    "external_key": "a0K3D000001Wv8cUAg",
                                                    "currency_id": 1,
                                                    "token": "i5d57esw422k",
                                                    "refnumber": "9",
                                                    "paycycle": "mon",
                                                    "bill_addr1": null,
                                                    "bill_addr2": null,
                                                    "bill_addr3": null,
                                                    "bill_city": null,
                                                    "bill_state": null,
                                                    "bill_postcode": null,
                                                    "bill_country": null,
                                                    "bill_notes": null,
                                                    "ship_addr1": null,
                                                    "ship_addr2": null,
                                                    "ship_addr3": null,
                                                    "ship_city": null,
                                                    "ship_state": null,
                                                    "ship_postcode": null,
                                                    "ship_country": null,
                                                    "ship_notes": null,
                                                    "memo": null,
                                                    "custom_1": null,
                                                    "custom_2": null,
                                                    "custom_3": null,
                                                    "write_datetime": "2020-05-04 17:13:35",
                                                    "quote_status_name": "New",
                                                    "quote_status_str": "open-new",
                                                    "quote_status_state": "o",
                                                    "currency_symbol": "$",
                                                    "currency_iso4217": "USD",
                                                    "total": 100.83,
                                                    "setup": 0,
                                                    "terms_name": "Net 30",
                                                    "date": "2020-05-04",
                                                    "due_date": "2020-06-03",
                                                    "paycycle_name": "Monthly",
                                                    "bill_block": "",
                                                    "ship_block": "",
                                                    "url_permalink": "http:\/\/dev1.chargeover.test\/r\/quote\/view\/i5d57esw422k",
                                                    "url_pdflink": "http:\/\/dev1.chargeover.test\/r\/quote\/pdf\/i5d57esw422k",
                                                    "url_self": "http:\/\/dev1.chargeover.test\/admin\/r\/quote\/view\/9",
                                                    "url_acceptlink": "http:\/\/dev1.chargeover.test\/r\/quote\/accept\/i5d57esw422k",
                                                    "url_rejectlink": "http:\/\/dev1.chargeover.test\/r\/quote\/reject\/i5d57esw422k",
                                                    "customer_id": 35
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/quote\/{quote_id}": {
            "put": {
                "summary": "Update a quote",
                "description": "If you want to keep a line item unchanged, pass just the line_item_id value of the existing line item.\n",
                "externalDocs": {
                    "description": "Update a quote",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#update-quote"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Object was updated successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "refnumber": {
                                        "type": "string",
                                        "description": "Quote reference number"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "paycycle": {
                                        "type": "string",
                                        "description": "Payment cycle for the quote (e.g. monthly, etc.)"
                                    },
                                    "nickname": {
                                        "type": "string",
                                        "description": "Quote nickname"
                                    },
                                    "holduntil_datetime_str": {
                                        "type": "string",
                                        "description": "Date\/time invoicing for the resulting subscription to be delayed until"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Terms ID number"
                                    },
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Class ID number for Quickbooks"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/Worker ID number"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "Billing address line 3"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "bill_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "Shipping address line 3"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "ship_notes": {
                                        "type": "string",
                                        "description": "(deprecated)"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Memo\/notes to customer"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "line_items": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID # for this line"
                                                },
                                                "descrip": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "line_rate": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "(Deprecated - see the \"tierset\" attribute)"
                                                },
                                                "line_quantity": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Quantity"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "tierset": {
                                                    "type": "array",
                                                    "description": "Pricing information"
                                                }
                                            }
                                        },
                                        "description": "A list of line items for the quote"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": 5,
                                        "paycycle": "mon",
                                        "line_items": [
                                            {
                                                "_comment": "To update an existing line item, pass it's line_item_id value:",
                                                "line_item_id": 369,
                                                "descrip": "Updated description.",
                                                "line_quantity": 25
                                            },
                                            {
                                                "_comment": "Custom pricing can be specified via the tierset attribute:",
                                                "item_id": 1,
                                                "line_quantity": 1,
                                                "tierset": {
                                                    "pricemodel": "fla",
                                                    "base": 10.95,
                                                    "setup": 199.99
                                                }
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Get a specific quote",
                "description": "<p>\n\tIf the quote has been turned into an <i>invoice<\/i>, there will be an <code>invoices<\/code> attribute which links\n\tto the related invoice.\n<\/p>\n<p>\n\tIf the quote has been turned into a <i>subscription<\/i>, there will be a <code>packages<\/code> attribute which links\n\tto the related subscription.\n<\/p>\n",
                "externalDocs": {
                    "description": "Get a specific quote",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#quote-get"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "quote_id": {
                                                    "type": "integer",
                                                    "description": "Quote ID #"
                                                },
                                                "refnumber": {
                                                    "type": "string",
                                                    "description": "Quote reference number"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "paycycle": {
                                                    "type": "string",
                                                    "description": "Payment cycle for the quote (e.g. monthly, etc.)"
                                                },
                                                "nickname": {
                                                    "type": "string",
                                                    "description": "Quote nickname"
                                                },
                                                "customer_id": {
                                                    "type": "integer",
                                                    "description": "Customer ID #"
                                                },
                                                "parent_customer_id": {
                                                    "type": "integer",
                                                    "description": "Parent customer ID #"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the quote was created"
                                                },
                                                "date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Quote date"
                                                },
                                                "validuntil_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Quote valid until"
                                                },
                                                "holduntil_datetime_str": {
                                                    "type": "string",
                                                    "description": "Date\/time invoicing for the resulting subscription to be delayed until"
                                                },
                                                "currency_id": {
                                                    "type": "integer",
                                                    "description": "Currency ID #"
                                                },
                                                "currency_symbol": {
                                                    "type": "string",
                                                    "description": "Currency symbol"
                                                },
                                                "currency_iso4217": {
                                                    "type": "string",
                                                    "description": "Currency ISO 4217 representation"
                                                },
                                                "terms_id": {
                                                    "type": "integer",
                                                    "description": "Terms ID number"
                                                },
                                                "class_id": {
                                                    "type": "integer",
                                                    "description": "Class ID number for Quickbooks"
                                                },
                                                "terms_name": {
                                                    "type": "string",
                                                    "description": "Terms name"
                                                },
                                                "terms_days": {
                                                    "type": "integer",
                                                    "description": "Terms Number of days"
                                                },
                                                "brand_id": {
                                                    "type": "integer",
                                                    "description": "Brand ID number"
                                                },
                                                "paycycle_name": {
                                                    "type": "string",
                                                    "description": "Payment cycle name"
                                                },
                                                "admin_id": {
                                                    "type": "integer",
                                                    "description": "Admin\/Worker ID number"
                                                },
                                                "admin_name": {
                                                    "type": "string",
                                                    "description": "Admin\/Worker Name"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "Unique token"
                                                },
                                                "bill_addr1": {
                                                    "type": "string",
                                                    "description": "Billing address line 1"
                                                },
                                                "bill_addr2": {
                                                    "type": "string",
                                                    "description": "Billing address line 2"
                                                },
                                                "bill_addr3": {
                                                    "type": "string",
                                                    "description": "Billing address line 3"
                                                },
                                                "bill_city": {
                                                    "type": "string",
                                                    "description": "Billing address city"
                                                },
                                                "bill_state": {
                                                    "type": "string",
                                                    "description": "Billing address state"
                                                },
                                                "bill_postcode": {
                                                    "type": "string",
                                                    "description": "Billing address postal code"
                                                },
                                                "bill_country": {
                                                    "type": "string",
                                                    "description": "Billing address country"
                                                },
                                                "bill_notes": {
                                                    "type": "string",
                                                    "description": "(deprecated)"
                                                },
                                                "bill_block": {
                                                    "type": "string",
                                                    "description": "Printable billing address"
                                                },
                                                "ship_addr1": {
                                                    "type": "string",
                                                    "description": "Shipping address line 1"
                                                },
                                                "ship_addr2": {
                                                    "type": "string",
                                                    "description": "Shipping address line 2"
                                                },
                                                "ship_addr3": {
                                                    "type": "string",
                                                    "description": "Shipping address line 3"
                                                },
                                                "ship_city": {
                                                    "type": "string",
                                                    "description": "Shipping address city"
                                                },
                                                "ship_state": {
                                                    "type": "string",
                                                    "description": "Shipping address state"
                                                },
                                                "ship_postcode": {
                                                    "type": "string",
                                                    "description": "Shipping address postal code"
                                                },
                                                "ship_country": {
                                                    "type": "string",
                                                    "description": "Shipping address country"
                                                },
                                                "ship_notes": {
                                                    "type": "string",
                                                    "description": "(deprecated)"
                                                },
                                                "ship_block": {
                                                    "type": "string",
                                                    "description": "Printable shipping address"
                                                },
                                                "url_permalink": {
                                                    "type": "string",
                                                    "description": "URL to view the quote"
                                                },
                                                "url_pdflink": {
                                                    "type": "string",
                                                    "description": "URL to get a PDF of the quote"
                                                },
                                                "url_self": {
                                                    "type": "string",
                                                    "description": "URL for viewing the quote in the GUI"
                                                },
                                                "url_acceptlink": {
                                                    "type": "string",
                                                    "description": "URL to visit to accept the quote"
                                                },
                                                "url_paylink": {
                                                    "type": "string",
                                                    "description": "URL to visit to provide a payment method for the quote"
                                                },
                                                "url_rejectlink": {
                                                    "type": "string",
                                                    "description": "URL to visit to reject the quote"
                                                },
                                                "url_acceptredirect": {
                                                    "type": "string",
                                                    "description": "URL the lead should be redirected to after accepting a quote"
                                                },
                                                "url_rejectredirect": {
                                                    "type": "string",
                                                    "description": "URL the lead should be redirected to after rejecting a quote"
                                                },
                                                "won_datetime": {
                                                    "type": "string",
                                                    "description": "The Date\/time that the quote was accepted"
                                                },
                                                "lost_datetime": {
                                                    "type": "string",
                                                    "description": "The Date\/time that the quote was rejected"
                                                },
                                                "due_date": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Date the quote is due"
                                                },
                                                "setup": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Optional one time free charged for set up expenses"
                                                },
                                                "total": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount due after taxes and fees"
                                                },
                                                "upfront": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "The amount due\u00a0when you accept the quote\u00a0"
                                                },
                                                "subtotal": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount due before taxes and fees"
                                                },
                                                "taxes": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Amount due for taxes"
                                                },
                                                "quote_status_name": {
                                                    "type": "string",
                                                    "description": "Human-friendly quote status"
                                                },
                                                "quote_status_str": {
                                                    "type": "string",
                                                    "description": "Status string"
                                                },
                                                "quote_status_state": {
                                                    "type": "string",
                                                    "description": "Status code"
                                                },
                                                "memo": {
                                                    "type": "string",
                                                    "description": "Memo\/notes to customer"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "line_items": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "line_item_id": {
                                                                "type": "integer",
                                                                "description": "Invoice line ID #"
                                                            },
                                                            "quote_id": {
                                                                "type": "integer",
                                                                "description": "Invoice ID #"
                                                            },
                                                            "item_id": {
                                                                "type": "integer",
                                                                "description": "Item ID # for this line"
                                                            },
                                                            "item_name": {
                                                                "type": "string",
                                                                "description": "Item name"
                                                            },
                                                            "item_accounting_sku": {
                                                                "type": "string",
                                                                "description": "Item accounting SKU"
                                                            },
                                                            "item_external_key": {
                                                                "type": "string",
                                                                "description": "Item external key"
                                                            },
                                                            "item_token": {
                                                                "type": "string",
                                                                "description": "Item token"
                                                            },
                                                            "item_type": {
                                                                "type": "string",
                                                                "description": "Item type"
                                                            },
                                                            "quote_line_bundle_id": {
                                                                "type": "integer",
                                                                "description": "Quote line bundle ID #"
                                                            },
                                                            "tierset_id": {
                                                                "type": "integer",
                                                                "description": "Tierset ID # for this line"
                                                            },
                                                            "descrip": {
                                                                "type": "string",
                                                                "description": "Description"
                                                            },
                                                            "line_rate": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "(Deprecated - see the \"tierset\" attribute)"
                                                            },
                                                            "line_quantity": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Quantity"
                                                            },
                                                            "line_subtotal": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Line subtotal"
                                                            },
                                                            "line_total": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Line total"
                                                            },
                                                            "expire_recurs": {
                                                                "type": "integer",
                                                                "description": "Number of invoices to occur on before expiring"
                                                            },
                                                            "tax_taxable": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "The total amount that was taxable"
                                                            },
                                                            "tax_taxed": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "The amount that tax was calculated from"
                                                            },
                                                            "tax_total": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "The tax amount for this line"
                                                            },
                                                            "tax_id": {
                                                                "type": "string"
                                                            },
                                                            "tax_group_id": {
                                                                "type": "string"
                                                            },
                                                            "is_setup": {
                                                                "type": "bool",
                                                                "description": "(Deprecated)"
                                                            },
                                                            "is_base": {
                                                                "type": "bool",
                                                                "description": "(Deprecated)"
                                                            },
                                                            "is_taxed": {
                                                                "type": "bool"
                                                            },
                                                            "custom_1": {
                                                                "type": "string",
                                                                "description": "Custom field #1"
                                                            },
                                                            "custom_2": {
                                                                "type": "string",
                                                                "description": "Custom field #2"
                                                            },
                                                            "custom_3": {
                                                                "type": "string",
                                                                "description": "Custom field #3"
                                                            },
                                                            "custom_4": {
                                                                "type": "string",
                                                                "description": "Custom field #4"
                                                            },
                                                            "custom_5": {
                                                                "type": "string",
                                                                "description": "Custom field #5"
                                                            },
                                                            "custom_6": {
                                                                "type": "string",
                                                                "description": "Custom field #6"
                                                            },
                                                            "custom_7": {
                                                                "type": "string",
                                                                "description": "Custom field #7"
                                                            },
                                                            "custom_8": {
                                                                "type": "string",
                                                                "description": "Custom field #8"
                                                            },
                                                            "custom_9": {
                                                                "type": "string",
                                                                "description": "Custom field #9"
                                                            },
                                                            "custom_10": {
                                                                "type": "string",
                                                                "description": "Custom field #10"
                                                            },
                                                            "custom_11": {
                                                                "type": "string",
                                                                "description": "Custom field #11"
                                                            },
                                                            "custom_12": {
                                                                "type": "string",
                                                                "description": "Custom field #12"
                                                            },
                                                            "custom_13": {
                                                                "type": "string",
                                                                "description": "Custom field #13"
                                                            },
                                                            "custom_14": {
                                                                "type": "string",
                                                                "description": "Custom field #14"
                                                            },
                                                            "custom_15": {
                                                                "type": "string",
                                                                "description": "Custom field #15"
                                                            },
                                                            "custom_16": {
                                                                "type": "string",
                                                                "description": "Custom field #16"
                                                            },
                                                            "custom_17": {
                                                                "type": "string",
                                                                "description": "Custom field #17"
                                                            },
                                                            "custom_18": {
                                                                "type": "string",
                                                                "description": "Custom field #18"
                                                            },
                                                            "custom_19": {
                                                                "type": "string",
                                                                "description": "Custom field #19"
                                                            },
                                                            "custom_20": {
                                                                "type": "string",
                                                                "description": "Custom field #20"
                                                            },
                                                            "subscribe_prorate_from_datetime": {
                                                                "type": "string"
                                                            },
                                                            "subscribe_prorate_to_datetime": {
                                                                "type": "string"
                                                            },
                                                            "tierset": {
                                                                "type": "array",
                                                                "description": "Pricing information"
                                                            }
                                                        }
                                                    },
                                                    "description": "A list of line items for the quote"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "quote_id": 198,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "659m6ys792j0",
                                                "refnumber": "198",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 10:38:50",
                                                "quote_status_name": "Accepted",
                                                "quote_status_str": "closed-won",
                                                "quote_status_state": "c",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.4,
                                                "setup": 100,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev1.chargeover.test\/r\/quote\/view\/659m6ys792j0",
                                                "url_pdflink": "http:\/\/dev1.chargeover.test\/r\/quote\/pdf\/659m6ys792j0",
                                                "url_self": "http:\/\/dev1.chargeover.test\/admin\/r\/quote\/view\/198",
                                                "url_acceptlink": "http:\/\/dev1.chargeover.test\/r\/quote\/accept\/659m6ys792j0",
                                                "url_rejectlink": "http:\/\/dev1.chargeover.test\/r\/quote\/reject\/659m6ys792j0",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 198,
                                                        "item_id": 1,
                                                        "tierset_id": 175,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 367,
                                                        "tierset": {
                                                            "tierset_id": 175,
                                                            "currency_id": 1,
                                                            "setup": 100,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-08-14 10:38:45",
                                                            "mod_datetime": "2019-08-14 10:38:45",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 100.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        }
                                                    },
                                                    {
                                                        "quote_id": 198,
                                                        "item_id": 2,
                                                        "tierset_id": 174,
                                                        "descrip": "Discount",
                                                        "line_rate": 0,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "Discount",
                                                        "item_external_key": null,
                                                        "item_token": "62ucb1dhemv3",
                                                        "item_accounting_sku": null,
                                                        "line_total": 0,
                                                        "line_subtotal": 0,
                                                        "line_item_id": 368,
                                                        "tierset": {
                                                            "tierset_id": 174,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 0,
                                                            "minimum": 0,
                                                            "percent": 5,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-08-14 10:38:40",
                                                            "mod_datetime": "2019-08-14 10:38:40",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 0.00",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "5 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        }
                                                    }
                                                ],
                                                "sent": [],
                                                "invoices": [],
                                                "packages": [
                                                    {
                                                        "package_id": 44
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/quote\/{quote_id}\/_action\/email": {
            "post": {
                "summary": "Email a quote",
                "description": "Send a quote via email. You can specify an email template to use with the <code>message_id<\/code>, which is the id number you see in the URL when you edit an email template in ChargeOver.",
                "externalDocs": {
                    "description": "Email a quote",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#quote-email"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "email": {
                                        "type": "string"
                                    },
                                    "subject": {
                                        "type": "string"
                                    },
                                    "body": {
                                        "type": "string"
                                    },
                                    "from": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "Each of these is OPTIONAL, and can be used to over-ride the default email templates, etc.",
                                        "email": "johndoe@send-quote-to.com",
                                        "subject": "Test subject",
                                        "body": "Override the default message body here",
                                        "from": "you@your-company.com"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/quote\/{quote_id}\/_action\/convert": {
            "post": {
                "summary": "Convert a quote by paycycle",
                "description": "Notes:<br\/>\nConvert a quote based on its paycycle.\n<ul>\n\t<li>A quote with a onetime paycycle will be converted into an invoice<\/li>\n\t<li>Anything else will become a subscription (package)<\/li>\n\t<li>\"context_str\" returns what the quote was converted into (invoice or package)<\/li>\n<\/ul>\n\n",
                "externalDocs": {
                    "description": "Convert a quote by paycycle",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#quote-convert"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/quote\/{quote_id}\/_action\/convertToInvoice": {
            "post": {
                "summary": "Convert a quote to an invoice",
                "description": "Convert a quote into an invoice.\n",
                "externalDocs": {
                    "description": "Convert a quote to an invoice",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#quote-convert-invoice"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/quote\/{quote_id}\/_action\/convertToPackage": {
            "post": {
                "summary": "Convert a quote to a package",
                "description": "Convert a quote into a subscription (package).\n",
                "externalDocs": {
                    "description": "Convert a quote to a package",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#quote-convert-package"
                },
                "tags": [
                    "quotes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package": {
            "post": {
                "summary": "Create a subscription",
                "description": "<p>\n\tBelow is a simple example \u2013 the new billing package will use the default shipping and billing address from the customer, and the default pricing from the item (item #239). The first invoice won\u2019t be sent until the holduntil_datetime date (October 1, 2013).\n<\/p>\n<p>\n\tWhen adding a new package, you can specify the payment method by using <code>paymethod<\/code> field.\n<\/p>\n<ul>\n\t<li>\n\t\tIf you know the <code>creditcard_id<\/code>, <code>ach_id<\/code>, or <code>tokenized_id<\/code> value you want to use for payment, just specify that field and value - you do not need to specify <code>paymethod<\/code> at all in this case.\n\t<\/li>\n\t<li>\n\t\tTo use any credit card the customer already has on file, just specify <code>\"paymethod\": \"crd\"<\/code>.\n\t<\/li>\n\t<li>\n\t\tTo use any ACH\/eCheck account the customer already has on file, just specify <code>\"paymethod\": \"ach\"<\/code>.\n\t<\/li>\n\t<li>\n\t\tTo use any payment method available for this customer, just specify <code>\"paymethod\": \"any\"<\/code>.\n\t<\/li>\n\t<li>\n\t\tIf you do not specify a payment method at all, ChargeOver will default to sending an invoice to the customer.\n\t<\/li>\n<\/ul>\n\n<p>\n\tOptionally, when adding a new package, you can specify the payment cycle (how often the customer gets invoiced and\/or charged for the subscription) by using the <code>paycycle<\/code> field.\n\tThere are several payment cycles you can set a package to run on:\n<\/p>\n<br\/>\n<ul>\n\t<li>\n\t\t<code>dly<\/code> - Daily\n\t<\/li>\n\t<li>\n\t\t<code>1wk<\/code> - Every week\n\t<\/li>\n\t<li>\n\t\t<code>2wk<\/code> - Every other week\n\t<\/li>\n\t<li>\n\t\t<code>116<\/code> - 1st and the 16th\n\t<\/li>\n\t<li>\n\t\t<code>4wk<\/code> - Every four weeks\n\t<\/li>\n\t<li>\n\t\t<code>8wk<\/code> - Every eight weeks\n\t<\/li>\n\t<li>\n\t\t<code>30d<\/code> - Every 30 days\n\t<\/li>\n\t<li>\n\t\t<code>mon<\/code> - Monthly\n\t<\/li>\n\t<li>\n\t\t<code>2mn<\/code> - Every other month\n\t<\/li>\n\t<li>\n\t\t<code>12w<\/code> - Every twelve weeks\n\t<\/li>\n\t<li>\n\t\t<code>qtr<\/code> - Quarterly\n\t<\/li>\n\t<li>\n\t\t<code>six<\/code> - Every six months\n\t<\/li>\n\t<li>\n\t\t<code>yrl<\/code> - Yearly\n\t<\/li>\n\t<li>\n\t\t<code>2yr<\/code> - Every 2 years\n\t<\/li>\n\t<li>\n\t\t<code>3yr<\/code> - Every 3 years\n\t<\/li>\n\t<li>\n\t\t<code>4yr<\/code> - Every 4 years\n\t<\/li>\n\t<li>\n\t\t<code>5yr<\/code> - Every 5 years\n\t<\/li>\n\t<li>\n\t\t<code>10y<\/code> - Every 10 years\n\t<\/li>\n<\/ul>\n\n<p>\n\tIf you do not specify a <code>paycycle<\/code>, the payment cycle for the subscription will set to the default payment cycle configured in your account's General Settings.\n<\/p>\n\n<p>\n\tChargeOver supports mixed payment cycle subscriptions, e.g. where part of the subscription is monthly, and part of\n\tit is yearly.\n<\/p>\n<p>\n\tEach line item can have its own payment cycle, as defined by the <code>paycycle<\/code> attribute. If you do not\n\tdefine a payment cycle for the line, it defaults to the payment cycle set on the product\/discount being used.\n<\/p>\n<p>\n\t<strong>Important:<\/strong> Invoices are created using the <code>paycycle<\/code> of the subscription itself.\n\tGenerally, your subscription payment cycle should be equal to the <i>shortest<\/i> payment cycle your lines use.\n\tExamples:\n<\/p>\n<ul>\n\t<li>Subscription <code>paycycle=mon<\/code> (monthly), Line <code>paycycle=yrl<\/code> (yearly) - invoices are created <i>monthly<\/i>, but the line will only occur once per year.<\/li>\n\t<li>Subscription <code>paycycle=yrl<\/code> (yearly), Line <code>paycycle=mon<\/code> (monthly) - invoices are created <i>yearly<\/i>, and each invoice will contain 12 lines (one for each month).<\/li>\n<\/ul>\n<p>\n\tYou can create prorated subscriptions which either generate a prorated invoice right away, or put the\n\tprorated charge on the next invoice.\n<\/p>\n<p>\n\tThe example to the right creates a new subscription, and generates a prorated invoice for the period March 12,\n\tto the end of March. The next invoice date will be April 1.\n<\/p>\n",
                "externalDocs": {
                    "description": "Create a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-subscription"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Class ID #"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "nickname": {
                                        "type": "string",
                                        "description": "Nickname for the subscription"
                                    },
                                    "paymethod": {
                                        "type": "string",
                                        "description": "Payment method for the subscription, one of: crd, inv, ach, tok"
                                    },
                                    "creditcard_id": {
                                        "type": "integer",
                                        "description": "Credit card ID # (if the subscription is paid by credit card)"
                                    },
                                    "ach_id": {
                                        "type": "integer",
                                        "description": "ACH ID # (if the subscription is paid by ACH)"
                                    },
                                    "tokenized_id": {
                                        "type": "integer",
                                        "description": "Tokenized ID # (if the subscription is paid by an external service token)"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/worker ID #"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "bill_notes": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "ship_notes": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Memo\/notes to customer"
                                    },
                                    "holduntil_datetime": {
                                        "type": "string",
                                        "description": "Date\/time invoicing for this subscription is being delayed until"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Terms ID #"
                                    },
                                    "paycycle": {
                                        "type": "string",
                                        "description": "Payment cycle"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "first_invoice_schedule_template_id": {
                                        "type": "integer",
                                        "description": "Payment schedule to use for the first invoice generated"
                                    },
                                    "recurring_invoice_schedule_template_id": {
                                        "type": "integer",
                                        "description": "Payment schedule to use for subsequent generated invoices"
                                    },
                                    "line_items": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID #"
                                                },
                                                "admin_id": {
                                                    "type": "integer",
                                                    "description": "Admin worker ID # (sales rep)"
                                                },
                                                "nickname": {
                                                    "type": "string",
                                                    "description": "Nickname for this line of the subscription"
                                                },
                                                "descrip": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "trial_recurs": {
                                                    "type": "integer",
                                                    "description": "Number of free trial cycles\/cycles to skip"
                                                },
                                                "expire_recurs": {
                                                    "type": "integer",
                                                    "description": "Number of invoices to occur on before expiring"
                                                },
                                                "line_quantity": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Quantity"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "tierset": {
                                                    "type": "array",
                                                    "description": "The pricing for the line item"
                                                },
                                                "scheduled_lines": {
                                                    "type": "array",
                                                    "description": "Scheduled future price changes"
                                                }
                                            }
                                        },
                                        "description": "A list of line items for the subscription"
                                    },
                                    "tags": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "A list of tags"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Create a subscription": {
                                    "value": {
                                        "customer_id": 5,
                                        "nickname": "Example nickname",
                                        "paycycle": "mon",
                                        "custom_1": "Example",
                                        "coupon": "Example Coupon",
                                        "holduntil_datetime": "2023-10-01",
                                        "line_items": [
                                            {
                                                "item_id": 1,
                                                "descrip": "Here is a description for my line item.",
                                                "line_quantity": 15
                                            }
                                        ]
                                    }
                                },
                                "Create a subscription (custom pricing)": {
                                    "value": {
                                        "customer_id": 5,
                                        "holduntil_datetime": "2013-10-01",
                                        "paymethod": "crd",
                                        "creditcard_id": 38,
                                        "line_items": [
                                            {
                                                "item_id": 2,
                                                "descrip": "Here is a description for my line item.",
                                                "tierset": {
                                                    "base": 35,
                                                    "pricemodel": "fla",
                                                    "paycycle": "evy"
                                                }
                                            }
                                        ]
                                    }
                                },
                                "Create a subscription (mixed payment cycles)": {
                                    "value": {
                                        "customer_id": 5,
                                        "paycycle": "mon",
                                        "line_items": [
                                            {
                                                "item_id": 1,
                                                "descrip": "Yearly product.",
                                                "tierset": {
                                                    "base": 120,
                                                    "pricemodel": "fla",
                                                    "paycycle": "yrl"
                                                }
                                            },
                                            {
                                                "item_id": 1,
                                                "descrip": "Monthly product.",
                                                "tierset": {
                                                    "base": 10.95,
                                                    "pricemodel": "fla",
                                                    "paycycle": "mon"
                                                }
                                            }
                                        ]
                                    }
                                },
                                "Create a subscription (prorated)": {
                                    "value": {
                                        "customer_id": 19879,
                                        "paycycle": "mon",
                                        "line_items": [
                                            {
                                                "item_id": 1,
                                                "descrip": "Here is a description for my line item.",
                                                "line_quantity": 15,
                                                "subscribe_prorate": true,
                                                "subscribe_prorate_cycle": "now",
                                                "subscribe_prorate_when": "pre",
                                                "subscribe_prorate_from_datetime": "2023-03-12",
                                                "subscribe_prorate_to_datetime": "2023-03-31"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Querying for subscriptions",
                "description": "\n<h2>\n\tFiltering\n<\/h2>\n<p>\n\tAvailable filter for the <code>?where=<\/code> query parameter:\n<\/p>\n<ul>\n\t<li><code>package_id<\/code><\/li>\n\t<li><code>customer_id<\/code><\/li>\n\t<li><code>token<\/code><\/li>\n\t<li><code>brand_id<\/code><\/li>\n\t<li><code>custom_N<\/code> - Example: <code>custom_1<\/code>, <code>custom_2<\/code>, etc.<\/li>\n\t<li><code>paymethod<\/code><\/li>\n\t<li><code>paycycle<\/code><\/li>\n\t<li><code>nickname<\/code><\/li>\n\t<li><code>bill_state<\/code><\/li>\n\t<li><code>ship_state<\/code><\/li>\n\t<li><code>package_status_str<\/code><\/li>\n\t<li><code>package_status_state<\/code><\/li>\n\t<li><code>external_key<\/code><\/li>\n\t<li><code>write_datetime<\/code> - Date\/time created<\/li>\n\t<li><code>mod_datetime<\/code> - Date\/time last modified<\/li>\n\t<li><code>cancel_datetime<\/code><\/li>\n\t<li><code>quote.quote_id<\/code> - Get the subscription that originated from a specific quote<\/li>\n\t<li><code>line_items.external_key<\/code><\/li>\n\t<li><code>line_items.custom_1<\/code><\/li>\n\t<li><code>line_items.item_id<\/code> - Get subscriptions that contain a specific product\/discount<\/li>\n\t<li><code>customer.superuser_email<\/code> - Get subscriptions for a specific primary contact email address<\/li>\n\t<li><code>customer.users.email<\/code> - Get subscriptions with this email address<\/li>\n<\/ul>\n\n<h2>\n\tExpansions\n<\/h2>\n<p>\n\tNodes you can expand by using the <code>?expand=<\/code> query parameter:\n<\/p>\n<ul>\n\t<li><code>line_items<\/code> - To get the line items for each subscription<\/li>\n<\/ul>\n\n<h2>\n\tEnums\n<\/h2>\n<p>\n\tValid values for <code>package_status_state<\/code>:\n<\/p>\n<ul>\n\t<li><code>a<\/code> (for active packages)<\/li>\n\t<li><code>c<\/code> (for cancelled packages)<\/li>\n\t<li><code>e<\/code> (for expired packages)<\/li>\n\t<li><code>s<\/code> (for suspended packages)<\/li>\n<\/ul>\n<p>\n\tValid values for <code>package_status_str<\/code>:\n<\/p>\n<ul>\n\t<li>active-trial<\/li>\n\t<li>active-current<\/li>\n\t<li>active-overdue<\/li>\n\t<li>canceled-nonpayment<\/li>\n\t<li>canceled-manual<\/li>\n\t<li>expired-expired<\/li>\n\t<li>expired-trial<\/li>\n\t<li>suspended-suspended<\/li>\n<\/ul>\n\n",
                "externalDocs": {
                    "description": "Querying for subscriptions",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-subscription"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "package_status_state:EQUALS:a"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "package_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "integer"
                        },
                        "required": false,
                        "description": "25"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "integer"
                        },
                        "required": false,
                        "description": "50"
                    },
                    {
                        "in": "query",
                        "name": "expand",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "line_items"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer",
                                                        "description": "Subscription ID #"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer",
                                                        "description": "Parent customer ID #"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer",
                                                        "description": "Brand ID #"
                                                    },
                                                    "brand_name": {
                                                        "type": "string",
                                                        "description": "Brand name"
                                                    },
                                                    "class_id": {
                                                        "type": "integer",
                                                        "description": "Class ID #"
                                                    },
                                                    "class_name": {
                                                        "type": "string",
                                                        "description": "Class name"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Unique token"
                                                    },
                                                    "nickname": {
                                                        "type": "string",
                                                        "description": "Nickname for the subscription"
                                                    },
                                                    "paymethod": {
                                                        "type": "string",
                                                        "description": "Payment method for the subscription, one of: crd, inv, ach, tok"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string",
                                                        "description": "Payment method for the subscription (e.g. Credit Card)"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string",
                                                        "description": "Payment method details (e.g. \"Visa x1111\")"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer",
                                                        "description": "Credit card ID # (if the subscription is paid by credit card)"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer",
                                                        "description": "ACH ID # (if the subscription is paid by ACH)"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer",
                                                        "description": "Tokenized ID # (if the subscription is paid by an external service token)"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer",
                                                        "description": "Admin\/worker ID #"
                                                    },
                                                    "admin_name": {
                                                        "type": "string",
                                                        "description": "Admin\/worker name"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string",
                                                        "description": "Billing address line 1"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string",
                                                        "description": "Billing address line 2"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "bill_city": {
                                                        "type": "string",
                                                        "description": "Billing address city"
                                                    },
                                                    "bill_state": {
                                                        "type": "string",
                                                        "description": "Billing address state"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string",
                                                        "description": "Billing address postal code"
                                                    },
                                                    "bill_country": {
                                                        "type": "string",
                                                        "description": "Billing address country"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string",
                                                        "description": "Shipping address line 1"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string",
                                                        "description": "Shipping address line 2"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "ship_city": {
                                                        "type": "string",
                                                        "description": "Shipping address city"
                                                    },
                                                    "ship_state": {
                                                        "type": "string",
                                                        "description": "Shipping address state"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string",
                                                        "description": "Shipping address postal code"
                                                    },
                                                    "ship_country": {
                                                        "type": "string",
                                                        "description": "Shipping address country"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string",
                                                        "description": "(Deprecated)"
                                                    },
                                                    "memo": {
                                                        "type": "string",
                                                        "description": "Memo\/notes to customer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer",
                                                        "description": "Currency ID #"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string",
                                                        "description": "Currency ISO 4217 code"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string",
                                                        "description": "Currency symbol"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Total amount collected so far for this subscription"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Total amount invoiced so far"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Total amount due (invoiced - collected)"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Total amount past due"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was suspended from"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was suspended to"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string",
                                                        "description": "The date the next invoice will be generated"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean",
                                                        "description": "Whether or not the subscription is overdue"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer",
                                                        "description": "Number of days overdue the subscription is"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was started\/effective"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was cancelled"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was created"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time this subscription was last updated, upgraded, downgraded, etc.)"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time invoicing for this subscription is being delayed until"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer",
                                                        "description": "Subscription status ID #"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string",
                                                        "description": "Human-friendly subscription status"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string",
                                                        "description": "Status string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string",
                                                        "description": "Status code"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Current monthly recurring revenue of the subscription"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "description": "Current annual recurring revenue of the subscription"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string",
                                                        "description": "Reason for cancellation"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer",
                                                        "description": "Terms ID #"
                                                    },
                                                    "terms_name": {
                                                        "type": "string",
                                                        "description": "Payment terms"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer",
                                                        "description": "Terms number of days"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "description": "Payment cycle"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string",
                                                        "description": "Payment cycle name"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field #5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field #6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field #7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field #8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field #9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field #10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field #11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field #12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field #13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field #14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field #15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field #16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field #17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field #18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field #19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field #20"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer",
                                                        "description": "Payment schedule to use for the first invoice generated"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer",
                                                        "description": "Payment schedule to use for subsequent generated invoices"
                                                    },
                                                    "line_items": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "line_item_id": {
                                                                    "type": "integer",
                                                                    "description": "Line item ID #"
                                                                },
                                                                "package_id": {
                                                                    "type": "integer",
                                                                    "description": "Package ID #"
                                                                },
                                                                "external_key": {
                                                                    "type": "string",
                                                                    "description": "External key value"
                                                                },
                                                                "item_id": {
                                                                    "type": "integer",
                                                                    "description": "Item ID #"
                                                                },
                                                                "admin_id": {
                                                                    "type": "integer",
                                                                    "description": "Admin worker ID # (sales rep)"
                                                                },
                                                                "item_name": {
                                                                    "type": "string",
                                                                    "description": "Item name"
                                                                },
                                                                "item_external_key": {
                                                                    "type": "string",
                                                                    "description": "Item external key"
                                                                },
                                                                "item_accounting_sku": {
                                                                    "type": "string",
                                                                    "description": "Item accounting SKU"
                                                                },
                                                                "item_token": {
                                                                    "type": "string",
                                                                    "description": "Item token"
                                                                },
                                                                "item_units": {
                                                                    "type": "number",
                                                                    "format": "float"
                                                                },
                                                                "item_type": {
                                                                    "type": "string",
                                                                    "description": "Item type"
                                                                },
                                                                "item_is_usage": {
                                                                    "type": "bool",
                                                                    "description": "Whether or not the item is usage-based\/metered"
                                                                },
                                                                "line_item_bundle_id": {
                                                                    "type": "integer",
                                                                    "description": "Item bundle ID #"
                                                                },
                                                                "tierset_id": {
                                                                    "type": "integer"
                                                                },
                                                                "nickname": {
                                                                    "type": "string",
                                                                    "description": "Nickname for this line of the subscription"
                                                                },
                                                                "descrip": {
                                                                    "type": "string",
                                                                    "description": "Description"
                                                                },
                                                                "trial_days": {
                                                                    "type": "integer",
                                                                    "description": "(Deprecated - see trial_recurs)"
                                                                },
                                                                "trial_units": {
                                                                    "type": "number",
                                                                    "format": "float"
                                                                },
                                                                "trial_recurs": {
                                                                    "type": "integer",
                                                                    "description": "Number of free trial cycles\/cycles to skip"
                                                                },
                                                                "expire_datetime": {
                                                                    "type": "string"
                                                                },
                                                                "expire_recurs": {
                                                                    "type": "integer",
                                                                    "description": "Number of invoices to occur on before expiring"
                                                                },
                                                                "line_quantity": {
                                                                    "type": "number",
                                                                    "format": "float",
                                                                    "description": "Quantity"
                                                                },
                                                                "subscribe_datetime": {
                                                                    "type": "string",
                                                                    "description": "The date\/time this line item was last upgraded, downgraded, or added"
                                                                },
                                                                "subscribe_prorate_from_datetime": {
                                                                    "type": "string"
                                                                },
                                                                "subscribe_prorate_to_datetime": {
                                                                    "type": "string"
                                                                },
                                                                "cancel_datetime": {
                                                                    "type": "string",
                                                                    "description": "The date\/time this line item was cancelled"
                                                                },
                                                                "custom_1": {
                                                                    "type": "string",
                                                                    "description": "Custom field #1"
                                                                },
                                                                "custom_2": {
                                                                    "type": "string",
                                                                    "description": "Custom field #2"
                                                                },
                                                                "custom_3": {
                                                                    "type": "string",
                                                                    "description": "Custom field #3"
                                                                },
                                                                "custom_4": {
                                                                    "type": "string",
                                                                    "description": "Custom field #4"
                                                                },
                                                                "custom_5": {
                                                                    "type": "string",
                                                                    "description": "Custom field #5"
                                                                },
                                                                "custom_6": {
                                                                    "type": "string",
                                                                    "description": "Custom field #6"
                                                                },
                                                                "custom_7": {
                                                                    "type": "string",
                                                                    "description": "Custom field #7"
                                                                },
                                                                "custom_8": {
                                                                    "type": "string",
                                                                    "description": "Custom field #8"
                                                                },
                                                                "custom_9": {
                                                                    "type": "string",
                                                                    "description": "Custom field #9"
                                                                },
                                                                "custom_10": {
                                                                    "type": "string",
                                                                    "description": "Custom field #10"
                                                                },
                                                                "custom_11": {
                                                                    "type": "string",
                                                                    "description": "Custom field #11"
                                                                },
                                                                "custom_12": {
                                                                    "type": "string",
                                                                    "description": "Custom field #12"
                                                                },
                                                                "custom_13": {
                                                                    "type": "string",
                                                                    "description": "Custom field #13"
                                                                },
                                                                "custom_14": {
                                                                    "type": "string",
                                                                    "description": "Custom field #14"
                                                                },
                                                                "custom_15": {
                                                                    "type": "string",
                                                                    "description": "Custom field #15"
                                                                },
                                                                "custom_16": {
                                                                    "type": "string",
                                                                    "description": "Custom field #16"
                                                                },
                                                                "custom_17": {
                                                                    "type": "string",
                                                                    "description": "Custom field #17"
                                                                },
                                                                "custom_18": {
                                                                    "type": "string",
                                                                    "description": "Custom field #18"
                                                                },
                                                                "custom_19": {
                                                                    "type": "string",
                                                                    "description": "Custom field #19"
                                                                },
                                                                "custom_20": {
                                                                    "type": "string",
                                                                    "description": "Custom field #20"
                                                                },
                                                                "tierset": {
                                                                    "type": "array",
                                                                    "description": "The pricing for the line item"
                                                                },
                                                                "scheduled_lines": {
                                                                    "type": "array",
                                                                    "description": "Scheduled future price changes"
                                                                }
                                                            }
                                                        },
                                                        "description": "A list of line items for the subscription"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        },
                                                        "description": "A list of tags"
                                                    },
                                                    "url_self": {
                                                        "type": "string",
                                                        "description": "URL for viewing the subscription in the GUI"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "terms_id": 3,
                                                    "currency_id": 1,
                                                    "external_key": "adlink_5901",
                                                    "nickname": "",
                                                    "paymethod": "crd",
                                                    "paycycle": "mon",
                                                    "bill_addr1": null,
                                                    "bill_addr2": null,
                                                    "bill_addr3": null,
                                                    "bill_city": null,
                                                    "bill_state": null,
                                                    "bill_postcode": null,
                                                    "bill_country": null,
                                                    "bill_notes": null,
                                                    "ship_addr1": null,
                                                    "ship_addr2": null,
                                                    "ship_addr3": null,
                                                    "ship_city": null,
                                                    "ship_state": null,
                                                    "ship_postcode": null,
                                                    "ship_country": null,
                                                    "ship_notes": null,
                                                    "creditcard_id": 53,
                                                    "ach_id": null,
                                                    "custom_1": null,
                                                    "custom_2": null,
                                                    "custom_3": null,
                                                    "write_datetime": "2014-06-20 15:52:47",
                                                    "mod_datetime": "2014-06-20 15:52:57",
                                                    "suspendfrom_datetime": null,
                                                    "suspendto_datetime": null,
                                                    "cancel_datetime": null,
                                                    "holduntil_datetime": null,
                                                    "currency_symbol": "$",
                                                    "currency_iso4217": "USD",
                                                    "amount_collected": 0,
                                                    "amount_invoiced": 0,
                                                    "amount_due": 0,
                                                    "next_invoice_datetime": "2014-09-01 00:00:01",
                                                    "package_id": 16,
                                                    "customer_id": 16,
                                                    "package_status_id": 2,
                                                    "package_status_name": "Current",
                                                    "package_status_str": "active-current",
                                                    "package_status_state": "a"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}": {
            "put": {
                "summary": "Update a subscription",
                "description": "",
                "externalDocs": {
                    "description": "Update a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#update-subscription"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Object was updated successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "class_id": {
                                        "type": "integer",
                                        "description": "Class ID #"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "nickname": {
                                        "type": "string",
                                        "description": "Nickname for the subscription"
                                    },
                                    "admin_id": {
                                        "type": "integer",
                                        "description": "Admin\/worker ID #"
                                    },
                                    "bill_addr1": {
                                        "type": "string",
                                        "description": "Billing address line 1"
                                    },
                                    "bill_addr2": {
                                        "type": "string",
                                        "description": "Billing address line 2"
                                    },
                                    "bill_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "bill_city": {
                                        "type": "string",
                                        "description": "Billing address city"
                                    },
                                    "bill_state": {
                                        "type": "string",
                                        "description": "Billing address state"
                                    },
                                    "bill_postcode": {
                                        "type": "string",
                                        "description": "Billing address postal code"
                                    },
                                    "bill_country": {
                                        "type": "string",
                                        "description": "Billing address country"
                                    },
                                    "bill_notes": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_addr1": {
                                        "type": "string",
                                        "description": "Shipping address line 1"
                                    },
                                    "ship_addr2": {
                                        "type": "string",
                                        "description": "Shipping address line 2"
                                    },
                                    "ship_addr3": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "ship_city": {
                                        "type": "string",
                                        "description": "Shipping address city"
                                    },
                                    "ship_state": {
                                        "type": "string",
                                        "description": "Shipping address state"
                                    },
                                    "ship_postcode": {
                                        "type": "string",
                                        "description": "Shipping address postal code"
                                    },
                                    "ship_country": {
                                        "type": "string",
                                        "description": "Shipping address country"
                                    },
                                    "ship_notes": {
                                        "type": "string",
                                        "description": "(Deprecated)"
                                    },
                                    "memo": {
                                        "type": "string",
                                        "description": "Memo\/notes to customer"
                                    },
                                    "terms_id": {
                                        "type": "integer",
                                        "description": "Terms ID #"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field #20"
                                    },
                                    "first_invoice_schedule_template_id": {
                                        "type": "integer",
                                        "description": "Payment schedule to use for the first invoice generated"
                                    },
                                    "recurring_invoice_schedule_template_id": {
                                        "type": "integer",
                                        "description": "Payment schedule to use for subsequent generated invoices"
                                    },
                                    "tags": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        },
                                        "description": "A list of tags"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "nickname": "My new nickname"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Get a specific subscription",
                "description": "<h2>\n\tExpansions\n<\/h2>\n<p>\n\tNodes you can expand by using the <code>?expand=<\/code> query parameter:\n<\/p>\n<ul>\n\t<li><code>line_items.scheduled_lines<\/code> - To get scheduled price updates for each subscription line<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Get a specific subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-subscription"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "expand",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "line_items.scheduled_lines"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "package_id": {
                                                    "type": "integer",
                                                    "description": "Subscription ID #"
                                                },
                                                "customer_id": {
                                                    "type": "integer",
                                                    "description": "Customer ID #"
                                                },
                                                "parent_customer_id": {
                                                    "type": "integer",
                                                    "description": "Parent customer ID #"
                                                },
                                                "brand_id": {
                                                    "type": "integer",
                                                    "description": "Brand ID #"
                                                },
                                                "brand_name": {
                                                    "type": "string",
                                                    "description": "Brand name"
                                                },
                                                "class_id": {
                                                    "type": "integer",
                                                    "description": "Class ID #"
                                                },
                                                "class_name": {
                                                    "type": "string",
                                                    "description": "Class name"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "Unique token"
                                                },
                                                "nickname": {
                                                    "type": "string",
                                                    "description": "Nickname for the subscription"
                                                },
                                                "paymethod": {
                                                    "type": "string",
                                                    "description": "Payment method for the subscription, one of: crd, inv, ach, tok"
                                                },
                                                "paymethod_name": {
                                                    "type": "string",
                                                    "description": "Payment method for the subscription (e.g. Credit Card)"
                                                },
                                                "paymethod_detail": {
                                                    "type": "string",
                                                    "description": "Payment method details (e.g. \"Visa x1111\")"
                                                },
                                                "creditcard_id": {
                                                    "type": "integer",
                                                    "description": "Credit card ID # (if the subscription is paid by credit card)"
                                                },
                                                "ach_id": {
                                                    "type": "integer",
                                                    "description": "ACH ID # (if the subscription is paid by ACH)"
                                                },
                                                "tokenized_id": {
                                                    "type": "integer",
                                                    "description": "Tokenized ID # (if the subscription is paid by an external service token)"
                                                },
                                                "admin_id": {
                                                    "type": "integer",
                                                    "description": "Admin\/worker ID #"
                                                },
                                                "admin_name": {
                                                    "type": "string",
                                                    "description": "Admin\/worker name"
                                                },
                                                "bill_addr1": {
                                                    "type": "string",
                                                    "description": "Billing address line 1"
                                                },
                                                "bill_addr2": {
                                                    "type": "string",
                                                    "description": "Billing address line 2"
                                                },
                                                "bill_addr3": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "bill_city": {
                                                    "type": "string",
                                                    "description": "Billing address city"
                                                },
                                                "bill_state": {
                                                    "type": "string",
                                                    "description": "Billing address state"
                                                },
                                                "bill_postcode": {
                                                    "type": "string",
                                                    "description": "Billing address postal code"
                                                },
                                                "bill_country": {
                                                    "type": "string",
                                                    "description": "Billing address country"
                                                },
                                                "bill_notes": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "ship_addr1": {
                                                    "type": "string",
                                                    "description": "Shipping address line 1"
                                                },
                                                "ship_addr2": {
                                                    "type": "string",
                                                    "description": "Shipping address line 2"
                                                },
                                                "ship_addr3": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "ship_city": {
                                                    "type": "string",
                                                    "description": "Shipping address city"
                                                },
                                                "ship_state": {
                                                    "type": "string",
                                                    "description": "Shipping address state"
                                                },
                                                "ship_postcode": {
                                                    "type": "string",
                                                    "description": "Shipping address postal code"
                                                },
                                                "ship_country": {
                                                    "type": "string",
                                                    "description": "Shipping address country"
                                                },
                                                "ship_notes": {
                                                    "type": "string",
                                                    "description": "(Deprecated)"
                                                },
                                                "memo": {
                                                    "type": "string",
                                                    "description": "Memo\/notes to customer"
                                                },
                                                "currency_id": {
                                                    "type": "integer",
                                                    "description": "Currency ID #"
                                                },
                                                "currency_iso4217": {
                                                    "type": "string",
                                                    "description": "Currency ISO 4217 code"
                                                },
                                                "currency_symbol": {
                                                    "type": "string",
                                                    "description": "Currency symbol"
                                                },
                                                "amount_collected": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Total amount collected so far for this subscription"
                                                },
                                                "amount_invoiced": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Total amount invoiced so far"
                                                },
                                                "amount_due": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Total amount due (invoiced - collected)"
                                                },
                                                "amount_overdue": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Total amount past due"
                                                },
                                                "suspendfrom_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was suspended from"
                                                },
                                                "suspendto_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was suspended to"
                                                },
                                                "next_invoice_datetime": {
                                                    "type": "string",
                                                    "description": "The date the next invoice will be generated"
                                                },
                                                "is_overdue": {
                                                    "type": "boolean",
                                                    "description": "Whether or not the subscription is overdue"
                                                },
                                                "days_overdue": {
                                                    "type": "integer",
                                                    "description": "Number of days overdue the subscription is"
                                                },
                                                "start_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was started\/effective"
                                                },
                                                "cancel_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was cancelled"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was created"
                                                },
                                                "mod_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time this subscription was last updated, upgraded, downgraded, etc.)"
                                                },
                                                "holduntil_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time invoicing for this subscription is being delayed until"
                                                },
                                                "package_status_id": {
                                                    "type": "integer",
                                                    "description": "Subscription status ID #"
                                                },
                                                "package_status_name": {
                                                    "type": "string",
                                                    "description": "Human-friendly subscription status"
                                                },
                                                "package_status_str": {
                                                    "type": "string",
                                                    "description": "Status string"
                                                },
                                                "package_status_state": {
                                                    "type": "string",
                                                    "description": "Status code"
                                                },
                                                "mrr": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Current monthly recurring revenue of the subscription"
                                                },
                                                "arr": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Current annual recurring revenue of the subscription"
                                                },
                                                "cancel_reason": {
                                                    "type": "string",
                                                    "description": "Reason for cancellation"
                                                },
                                                "terms_id": {
                                                    "type": "integer",
                                                    "description": "Terms ID #"
                                                },
                                                "terms_name": {
                                                    "type": "string",
                                                    "description": "Payment terms"
                                                },
                                                "terms_days": {
                                                    "type": "integer",
                                                    "description": "Terms number of days"
                                                },
                                                "paycycle": {
                                                    "type": "string",
                                                    "description": "Payment cycle"
                                                },
                                                "paycycle_name": {
                                                    "type": "string",
                                                    "description": "Payment cycle name"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field #20"
                                                },
                                                "first_invoice_schedule_template_id": {
                                                    "type": "integer",
                                                    "description": "Payment schedule to use for the first invoice generated"
                                                },
                                                "recurring_invoice_schedule_template_id": {
                                                    "type": "integer",
                                                    "description": "Payment schedule to use for subsequent generated invoices"
                                                },
                                                "line_items": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "line_item_id": {
                                                                "type": "integer",
                                                                "description": "Line item ID #"
                                                            },
                                                            "package_id": {
                                                                "type": "integer",
                                                                "description": "Package ID #"
                                                            },
                                                            "external_key": {
                                                                "type": "string",
                                                                "description": "External key value"
                                                            },
                                                            "item_id": {
                                                                "type": "integer",
                                                                "description": "Item ID #"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer",
                                                                "description": "Admin worker ID # (sales rep)"
                                                            },
                                                            "item_name": {
                                                                "type": "string",
                                                                "description": "Item name"
                                                            },
                                                            "item_external_key": {
                                                                "type": "string",
                                                                "description": "Item external key"
                                                            },
                                                            "item_accounting_sku": {
                                                                "type": "string",
                                                                "description": "Item accounting SKU"
                                                            },
                                                            "item_token": {
                                                                "type": "string",
                                                                "description": "Item token"
                                                            },
                                                            "item_units": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "item_type": {
                                                                "type": "string",
                                                                "description": "Item type"
                                                            },
                                                            "item_is_usage": {
                                                                "type": "bool",
                                                                "description": "Whether or not the item is usage-based\/metered"
                                                            },
                                                            "line_item_bundle_id": {
                                                                "type": "integer",
                                                                "description": "Item bundle ID #"
                                                            },
                                                            "tierset_id": {
                                                                "type": "integer"
                                                            },
                                                            "nickname": {
                                                                "type": "string",
                                                                "description": "Nickname for this line of the subscription"
                                                            },
                                                            "descrip": {
                                                                "type": "string",
                                                                "description": "Description"
                                                            },
                                                            "trial_days": {
                                                                "type": "integer",
                                                                "description": "(Deprecated - see trial_recurs)"
                                                            },
                                                            "trial_units": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "trial_recurs": {
                                                                "type": "integer",
                                                                "description": "Number of free trial cycles\/cycles to skip"
                                                            },
                                                            "expire_datetime": {
                                                                "type": "string"
                                                            },
                                                            "expire_recurs": {
                                                                "type": "integer",
                                                                "description": "Number of invoices to occur on before expiring"
                                                            },
                                                            "line_quantity": {
                                                                "type": "number",
                                                                "format": "float",
                                                                "description": "Quantity"
                                                            },
                                                            "subscribe_datetime": {
                                                                "type": "string",
                                                                "description": "The date\/time this line item was last upgraded, downgraded, or added"
                                                            },
                                                            "subscribe_prorate_from_datetime": {
                                                                "type": "string"
                                                            },
                                                            "subscribe_prorate_to_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string",
                                                                "description": "The date\/time this line item was cancelled"
                                                            },
                                                            "custom_1": {
                                                                "type": "string",
                                                                "description": "Custom field #1"
                                                            },
                                                            "custom_2": {
                                                                "type": "string",
                                                                "description": "Custom field #2"
                                                            },
                                                            "custom_3": {
                                                                "type": "string",
                                                                "description": "Custom field #3"
                                                            },
                                                            "custom_4": {
                                                                "type": "string",
                                                                "description": "Custom field #4"
                                                            },
                                                            "custom_5": {
                                                                "type": "string",
                                                                "description": "Custom field #5"
                                                            },
                                                            "custom_6": {
                                                                "type": "string",
                                                                "description": "Custom field #6"
                                                            },
                                                            "custom_7": {
                                                                "type": "string",
                                                                "description": "Custom field #7"
                                                            },
                                                            "custom_8": {
                                                                "type": "string",
                                                                "description": "Custom field #8"
                                                            },
                                                            "custom_9": {
                                                                "type": "string",
                                                                "description": "Custom field #9"
                                                            },
                                                            "custom_10": {
                                                                "type": "string",
                                                                "description": "Custom field #10"
                                                            },
                                                            "custom_11": {
                                                                "type": "string",
                                                                "description": "Custom field #11"
                                                            },
                                                            "custom_12": {
                                                                "type": "string",
                                                                "description": "Custom field #12"
                                                            },
                                                            "custom_13": {
                                                                "type": "string",
                                                                "description": "Custom field #13"
                                                            },
                                                            "custom_14": {
                                                                "type": "string",
                                                                "description": "Custom field #14"
                                                            },
                                                            "custom_15": {
                                                                "type": "string",
                                                                "description": "Custom field #15"
                                                            },
                                                            "custom_16": {
                                                                "type": "string",
                                                                "description": "Custom field #16"
                                                            },
                                                            "custom_17": {
                                                                "type": "string",
                                                                "description": "Custom field #17"
                                                            },
                                                            "custom_18": {
                                                                "type": "string",
                                                                "description": "Custom field #18"
                                                            },
                                                            "custom_19": {
                                                                "type": "string",
                                                                "description": "Custom field #19"
                                                            },
                                                            "custom_20": {
                                                                "type": "string",
                                                                "description": "Custom field #20"
                                                            },
                                                            "tierset": {
                                                                "type": "array",
                                                                "description": "The pricing for the line item"
                                                            },
                                                            "scheduled_lines": {
                                                                "type": "array",
                                                                "description": "Scheduled future price changes"
                                                            }
                                                        }
                                                    },
                                                    "description": "A list of line items for the subscription"
                                                },
                                                "tags": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    },
                                                    "description": "A list of tags"
                                                },
                                                "url_self": {
                                                    "type": "string",
                                                    "description": "URL for viewing the subscription in the GUI"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "external_key": null,
                                                "token": "1tk5j5u2efhi",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-09-20 12:33:44",
                                                "mod_datetime": "2017-09-20 12:33:44",
                                                "start_datetime": "2017-09-20 12:33:44",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 0,
                                                "amount_invoiced": 250,
                                                "amount_due": 250,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": "2017-10-20 00:00:01",
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/21",
                                                "package_id": 21,
                                                "customer_id": 22,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 254,
                                                        "tierset_id": 16,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": null,
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": "0",
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-09-20 12:33:44",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Premium Silver",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "8225neo3wmp4",
                                                        "item_type": "service",
                                                        "item_units": null,
                                                        "item_is_usage": false,
                                                        "line_item_id": 23,
                                                        "package_id": 21,
                                                        "tierset": {
                                                            "tierset_id": 16,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 250,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2017-09-20 12:29:32",
                                                            "mod_datetime": "2017-09-20 12:29:32",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 250.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/upgrade": {
            "post": {
                "summary": "Upgrade\/downgrade a subscription",
                "description": "When you want to change how the services one of your customers is billing for, you\u2019ll go through the upgrade\/downgrade process.\n\nThe upgrade\/downgrade process allows you to:\n<ul>\n\t<li>Change a customer\u2019s product to a different product<\/li>\n\t<li>Change the amount a customer is charged each month<\/li>\n\t<li>Add or remove products that are charged each month<\/li>\n<\/ul>\n\nExample of upgrading a package, changing a specific line item to a different product\/service type:\nWhen you want to change how the services one of your customers is billing for, you\u2019ll go through the upgrade\/downgrade process.\n\nThe upgrade\/downgrade process allows you to:\n<ul>\n\t<li>Change a customer\u2019s product to a different product<\/li>\n\t<li>Change the amount a customer is charged each month<\/li>\n\t<li>Add or remove products that are charged each month<\/li>\n<\/ul>\n\nThis example shows how to change a customer's subscription to a different product type, AND how to create a prorated invoice for the new amount \/ credit back the unused portion of the old product to the customer.\nWhen you want to change how the services one of your customers is billing for, you\u2019ll go through the upgrade\/downgrade process.\n\nThe upgrade\/downgrade process allows you to:\n<ul>\n\t<li>Change a customer\u2019s product to a different product<\/li>\n\t<li>Change the amount a customer is charged each month<\/li>\n\t<li>Add or remove products that are charged each month<\/li>\n<\/ul>\n\n<p>This example shows how to add a line item to a customer's subscription AND how to create a prorated invoice for the new amount. <\/p>\n\n<p>\n\t<ul>\n\t\t<li>The <code>subscribe_prorate_from_datetime<\/code> and <code>subscribe_prorate_to_datetime<\/code> fields are optional -- if you don't specify dates, ChargeOver will assume the current date until the end of the current billing cycle<\/li>\n\t\t<li>The <code>subscribe_prorate_cycle<\/code> options are: <code>\"now\"<\/code> (generate an invoice for the prorated amount right now) or <code>\"next\"<\/code>(add the prorated charge to the next invoice that will be generated at the end of the billing cycle)<\/li>\n\t<\/ul>\n<\/p>\n<p>\n\tIt is also possible to cancel a specific line item on a subscription so that the customer will no longer be billed\n\tfor it on future invoices.\n<\/p>\n<p>\n\tThe example to the right shows how to cancel a line item on a subscription using the <code>line_item_id<\/code> of\n\tthe line item(s) you want to cancel.\n<\/p>\n<p>\n\tIf you cancel all the lines on the subscription, the default behavior is to leave the subscription itself\n\tactive (but with no line items). If you want to cancel the subscription itself when all the line items are\n\tcancelled, you can also specify: <code>\"cancel_package_if_last_line_item\": true<\/code>\n<\/p>\n<p>\r\n\tChanging a subscription price is accomplished by going through the <a href=\"#subscription-upgrade-downgrade\">upgrade\/downgrade<\/a> REST API call.\r\n<\/p>\r\n<p>\r\n\tThe example to the right shows how to change the pricing on a subscription. \r\n<\/p>\r\n\r\n",
                "externalDocs": {
                    "description": "Upgrade\/downgrade a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#subscription-upgrade-downgrade"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "line_items": {
                                        "type": "object",
                                        "properties": [
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "_comment": {
                                                        "type": "string"
                                                    },
                                                    "line_quantity": {
                                                        "type": "number"
                                                    },
                                                    "subscribe_prorate": {
                                                        "type": "boolean"
                                                    },
                                                    "subscribe_prorate_cycle": {
                                                        "type": "string"
                                                    },
                                                    "subscribe_prorate_when": {
                                                        "type": "string"
                                                    },
                                                    "subscribe_prorate_from_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_prorate": {
                                                        "type": "boolean"
                                                    },
                                                    "cancel_prorate_credit": {
                                                        "type": "boolean"
                                                    },
                                                    "cancel_prorate_cycle": {
                                                        "type": "string"
                                                    },
                                                    "cancel": {
                                                        "type": "boolean"
                                                    },
                                                    "line_item_id": {
                                                        "type": "integer"
                                                    },
                                                    "item_id": {
                                                        "type": "integer"
                                                    },
                                                    "descrip": {
                                                        "type": "string"
                                                    },
                                                    "tierset": {
                                                        "type": "object",
                                                        "properties": {
                                                            "setup": {
                                                                "type": "number"
                                                            },
                                                            "base": {
                                                                "type": "number"
                                                            },
                                                            "pricemodel": {
                                                                "type": "string"
                                                            },
                                                            "tiers": {
                                                                "type": "object",
                                                                "properties": [
                                                                    {
                                                                        "type": "object",
                                                                        "properties": {
                                                                            "unit_from": {
                                                                                "type": "number"
                                                                            },
                                                                            "unit_to": {
                                                                                "type": "number"
                                                                            },
                                                                            "amount": {
                                                                                "type": "number"
                                                                            }
                                                                        }
                                                                    }
                                                                ]
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Upgrade\/downgrade a subscription": {
                                    "value": {
                                        "line_items": [
                                            {
                                                "_comment": "If you want to change the quantity, specify the new quantity here",
                                                "line_item_id": 1953,
                                                "item_id": 239,
                                                "descrip": "A new description goes here",
                                                "line_quantity": 123
                                            }
                                        ]
                                    }
                                },
                                "Upgrade\/downgrade a subscription (and prorate amounts)": {
                                    "value": {
                                        "line_items": [
                                            {
                                                "_comment": "This tells ChargeOver to credit back the unused portion of the old product.",
                                                "line_item_id": 729,
                                                "item_id": 14,
                                                "descrip": "Upgraded description goes here",
                                                "line_quantity": 1,
                                                "subscribe_prorate": true,
                                                "subscribe_prorate_cycle": "now",
                                                "subscribe_prorate_when": "pre",
                                                "cancel_prorate": true,
                                                "cancel_prorate_credit": true,
                                                "cancel_prorate_cycle": "now"
                                            }
                                        ]
                                    }
                                },
                                "Upgrade a subscription by adding a line item (and prorate amounts)": {
                                    "value": {
                                        "line_items": [
                                            {
                                                "_comment": "This tells ChargeOver to create an invoice for the new prorated amount right away (billing in advance).",
                                                "item_id": 1,
                                                "descrip": "The description of the new line item",
                                                "line_quantity": 1,
                                                "subscribe_prorate": true,
                                                "subscribe_prorate_cycle": "now",
                                                "subscribe_prorate_when": "pre",
                                                "subscribe_prorate_from_datetime": "2018-04-20"
                                            }
                                        ]
                                    }
                                },
                                "Cancel a line item on a subscription": {
                                    "value": {
                                        "line_items": [
                                            {
                                                "line_item_id": 679,
                                                "cancel": true
                                            }
                                        ]
                                    }
                                },
                                "Change pricing on a subscription": {
                                    "value": {
                                        "line_items": [
                                            {
                                                "line_item_id": 590,
                                                "item_id": 1,
                                                "descrip": "Upgraded description goes here",
                                                "tierset": {
                                                    "setup": 10,
                                                    "base": 135,
                                                    "pricemodel": "uni",
                                                    "tiers": [
                                                        {
                                                            "unit_from": 1,
                                                            "unit_to": 9999,
                                                            "amount": 60
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/schedulePriceChange": {
            "post": {
                "summary": "Schedule a price update on a subscription",
                "description": "<p>\n\tScheduling a price update automatically changes the subscription price on the date specified.\n<\/p>\n<p>\n\tThe example to the right shows how to schedule a price update on a subscription by explicitly setting the price.\n<\/p>\n\nValid values for <code>pricemodel<\/code>\n<ul>\n\t<li><code>fla<\/code> - Flat Pricing (example: $X dollars every billing cycle)<\/li>\n\t<li><code>uni<\/code> - Unit Pricing (example: $X per unit every billing cycle)<\/li>\n\t<li><code>vol<\/code> - Volume Pricing (example: $X dollars every billing cycle, with different price levels depending on volume)<\/li>\n\t<li><code>tie<\/code> - Tiered Pricing (example: $X dollars every billing cycle for the first 10 units, then $Y dollars per month for the next 10 units, etc.)<\/li>\n<\/ul>\n<p>\n\tScheduling a price update automatically changes the subscription price on the date specified.\n<\/p>\n<p>\n\tThe example to the right shows how to schedule a price update on a subscription by using a percentage to increase the price.\n<\/p>\n<p>\n\tAutomatically increase your subscription price at regular intervals by scheduling a recurring price update.\n<\/p>\n<p>\n\tThe example to the right shows how to schedule a recurring price update on a subscription.\n<\/p>\n\n<p>\n\tThe recurring price update will only take effect after all your one-time schedules have been run.\n<\/p>\n\nValid paycycles\n<ul>\n\t<li><code>dly<\/code> - Daily<\/li>\n\t<li><code>1wk<\/code> - Weekly<\/li>\n\t<li><code>mon<\/code> - Monthly<\/li>\n\t<li><code>qtr<\/code> - Quarterly<\/li>\n\t<li><code>yrl<\/code> - Yearly<\/li>\n<\/ul>\n\n",
                "externalDocs": {
                    "description": "Schedule a price update on a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#subscription-schedule-price-change"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "schedule_lines": {
                                        "type": "object",
                                        "properties": [
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "package_line_id": {
                                                        "type": "integer"
                                                    },
                                                    "this_change_date": {
                                                        "type": "string"
                                                    },
                                                    "this_change_details": {
                                                        "type": "object",
                                                        "properties": {
                                                            "pricemodel": {
                                                                "type": "object",
                                                                "properties": {
                                                                    "pricemodel": {
                                                                        "type": "string"
                                                                    },
                                                                    "base": {
                                                                        "type": "number"
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            },
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "package_line_id": {
                                                        "type": "integer"
                                                    },
                                                    "this_change_date": {
                                                        "type": "string"
                                                    },
                                                    "this_change_details": {
                                                        "type": "object",
                                                        "properties": {
                                                            "pricemodel": {
                                                                "type": "object",
                                                                "properties": {
                                                                    "pricemodel": {
                                                                        "type": "string"
                                                                    },
                                                                    "base": {
                                                                        "type": "number"
                                                                    },
                                                                    "tiers": {
                                                                        "type": "object",
                                                                        "properties": [
                                                                            {
                                                                                "type": "object",
                                                                                "properties": {
                                                                                    "unit_from": {
                                                                                        "type": "number"
                                                                                    },
                                                                                    "unit_to": {
                                                                                        "type": "number"
                                                                                    },
                                                                                    "amount": {
                                                                                        "type": "number"
                                                                                    }
                                                                                }
                                                                            }
                                                                        ]
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            },
                                            {
                                                "type": "object",
                                                "properties": {
                                                    "package_line_id": {
                                                        "type": "integer"
                                                    },
                                                    "this_change_date": {
                                                        "type": "string"
                                                    },
                                                    "this_change_details": {
                                                        "type": "object",
                                                        "properties": {
                                                            "percent_increase": {
                                                                "type": "number"
                                                            }
                                                        }
                                                    },
                                                    "repeating_change_details": {
                                                        "type": "object",
                                                        "properties": {
                                                            "percent_increase": {
                                                                "type": "number"
                                                            },
                                                            "every": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Schedule a recurring price update on a subscription": {
                                    "value": {
                                        "schedule_lines": [
                                            {
                                                "package_line_id": 590,
                                                "this_change_date": "2025-01-01",
                                                "this_change_details": {
                                                    "percent_increase": 10
                                                },
                                                "repeating_change_details": {
                                                    "percent_increase": 7,
                                                    "every": "+1 yrl"
                                                }
                                            }
                                        ]
                                    }
                                },
                                "Schedule a price update on a subscription (set the price)": {
                                    "value": {
                                        "schedule_lines": [
                                            {
                                                "package_line_id": 590,
                                                "this_change_date": "2025-01-01",
                                                "this_change_details": {
                                                    "pricemodel": {
                                                        "pricemodel": "fla",
                                                        "base": 9.99
                                                    }
                                                }
                                            },
                                            {
                                                "package_line_id": 590,
                                                "this_change_date": "2026-01-01",
                                                "this_change_details": {
                                                    "pricemodel": {
                                                        "pricemodel": "vol",
                                                        "base": 10,
                                                        "tiers": [
                                                            {
                                                                "unit_from": 1,
                                                                "unit_to": 10,
                                                                "amount": 8.99
                                                            },
                                                            {
                                                                "unit_from": 11,
                                                                "unit_to": 20,
                                                                "amount": 7.99
                                                            }
                                                        ]
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                },
                                "Schedule a price update on a subscription (increase the price by a percentage)": {
                                    "value": {
                                        "schedule_lines": [
                                            {
                                                "package_line_id": 590,
                                                "this_change_date": "2025-01-01",
                                                "this_change_details": {
                                                    "percent_increase": "10"
                                                }
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/invoice": {
            "post": {
                "summary": "Invoice a subscription now",
                "description": "<p>\n\tThe default behavior when creating a recurring package via the ChargeOver REST API is\n\tto generate the first invoice <b>on the following day<\/b>.\n<\/p>\n<p>\n\tYou can trigger the immediate generation of an invoice by calling this method.\n\tBy default, the invoice created will be dated with <i>today's date<\/i>.\n<\/p>\n<p>\n\tYou can also immediately generate future-dated invoices by specifying a\n\t<code>date<\/code> attribute in <code>YYYY-MM-DD<\/code> format. There is\n\talso one special date, the string <code>NEXT_SCHEDULED_INVOICE<\/code>,\n\twhich will generate an invoice dated with the date of the next normally\n\tscheduled invoice.\n<\/p>\n",
                "externalDocs": {
                    "description": "Invoice a subscription now",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-package-invoice"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment1": {
                                        "type": "string"
                                    },
                                    "_comment2": {
                                        "type": "string"
                                    },
                                    "date": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment1": "This payload is optional. By default, the invoice generated is dated with today's date.",
                                        "_comment2": "You can specify a date for the invoice like this:",
                                        "date": "2025-01-02"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/hold": {
            "post": {
                "summary": "Adjust the next invoice date for a subscription",
                "description": "<p>This will change the date that the next invoice for a subscription is generated on. <\/p>\r\n<p>For example, if you specify the <code>holduntil_datetime<\/code> to be <code>\"2019-10-03\"<\/code>, the next date that an invoice will be generated on for that subscription will be changed to October 3, 2019. <\/p>",
                "externalDocs": {
                    "description": "Adjust the next invoice date for a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-package-invoice-date"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "holduntil_datetime": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "holduntil_datetime": "2019-10-03"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/suspend": {
            "post": {
                "summary": "Suspend a subscription",
                "description": "Suspending a billing package is useful when you want to skip billing a customer for a given period of time (e.g. if you deliver a weekly newspaper, and they are going on vacation a month, you may want to skip billing them and skip delivery while they are on vacation).",
                "externalDocs": {
                    "description": "Suspend a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#suspend-recurring-package"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "suspendfrom_datetime": {
                                        "type": "string"
                                    },
                                    "suspendto_datetime": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Suspend a subscription (indefinitely)": {
                                    "value": null
                                },
                                "Suspend a subscription until a date": {
                                    "value": {
                                        "suspendfrom_datetime": "2013-04-25 00:00:01",
                                        "suspendto_datetime": "2013-05-25 00:00:01"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/unsuspend": {
            "post": {
                "summary": "Unsuspend a subscription",
                "description": "",
                "externalDocs": {
                    "description": "Unsuspend a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#contract-unsuspend"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/cancel": {
            "post": {
                "summary": "Cancel a subscription",
                "description": "<p>\n\tThis allows you to cancel a subscription immediately, or to schedule a subscription to cancel on a future date.\n<\/p>\n<p>\n\tTo cancel immediately, do not specify a <code>cancel_date<\/code> value. To schedule a future cancellation, pass in a <code>cancel_date<\/code> value (formatted as <code>YYYY-MM-DD<\/code>) to specify the future cancellation date.\n<\/p>\n",
                "externalDocs": {
                    "description": "Cancel a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#cancel-package"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment_reason": {
                                        "type": "string"
                                    },
                                    "cancel_reason_id": {
                                        "type": "integer"
                                    },
                                    "_comment_date": {
                                        "type": "string"
                                    },
                                    "cancel_date": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment_reason": "The [cancel_reason_id] fields is optional; you do not need to include it.",
                                        "cancel_reason_id": 1,
                                        "_comment_date": "The [cancel_date] field is optional. Specify a date in the future to schedule the subscription for future cancellation.",
                                        "cancel_date": "2023-10-24"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/uncancel": {
            "post": {
                "summary": "Un-cancel a subscription",
                "description": "<p>\n\tThis allows you to un-cancel a subscription immediately.\n<\/p>\n",
                "externalDocs": {
                    "description": "Un-cancel a subscription",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#uncancel-package"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": [],
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/setPayCycle": {
            "post": {
                "summary": "Change the payment cycle",
                "description": "<p>Valid values for specifying <code>paycycle<\/code>:<\/p>\n\n<ul>\n\t<li><code>dly<\/code> - daily<\/li>\n\t<li><code>1wk<\/code> - weekly<\/li>\n\t<li><code>2wk<\/code> - 2 weeks<\/li>\n\t<li><code>4wk<\/code> - 4 weeks<\/li>\n\t<li><code>2mn<\/code> - 2 months<\/li>\n\t<li><code>mon<\/code> - monthly<\/li>\n\t<li><code>qtr<\/code> - quarterly<\/li>\n\t<li><code>yrl<\/code> - yearly<\/li>\n\t<li><code>2yr<\/code> - 2 years<\/li>\n\t<li><code>3yr<\/code> - 3 years<\/li>\n\t<li><code>4yr<\/code> - 4 years<\/li>\n\t<li><code>5yr<\/code> - 5 years<\/li>\n\t<li><code>10y<\/code> - 10 years<\/li>\n\t<li><code>six<\/code> - 6 months<\/li>\n\t<li><code>30d<\/code> - 30 days<\/li>\n\t<li><code>8wk<\/code> - 8 weeks<\/li>\n\t<li><code>12w<\/code> - 12 weeks<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Change the payment cycle",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-package-set-paycycle"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "paycycle": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "paycycle": "1wk"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/setPayMethod": {
            "post": {
                "summary": "Set the payment method",
                "description": "<p>Valid values for specifying paymethod:<\/p> \n\n<ul>\n\t\n\t<li><code>inv<\/code> - Generate an invoice for the subscription but do not take an automatic payment<\/li>\n\t<li><code>crd<\/code> - Credit Card<\/li>\n\t<li><code>ach<\/code> - ACH\/eCheck<\/li>\n\t<li><code>tok<\/code> - Tokenized payment method<\/li> \n\n<\/ul> \n\n<p>Additionally:<\/p>\n<ul> \n<li>If you specify <code>crd<\/code> you must specify the <code>creditcard_id<\/code><\/li>\n\n<li>If you specify <code>ach<\/code> you must specify the <code>ach_id<\/code><\/li>\n\n<li>If you specify <code>tok<\/code> you must specify the <code>tokenized_id<\/code><\/li>\n<\/ul> \n\n\n",
                "externalDocs": {
                    "description": "Set the payment method",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-package-set-paymethod"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "paymethod": {
                                        "type": "string",
                                        "enum": [
                                            "inv",
                                            "crd",
                                            "ach",
                                            "tok"
                                        ]
                                    },
                                    "creditcard_id": {
                                        "type": "integer"
                                    },
                                    "ach_id": {
                                        "type": "integer"
                                    },
                                    "tokenized_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "paymethod": "crd",
                                        "creditcard_id": 64
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/package\/{package_id}\/_action\/sendWelcome": {
            "post": {
                "summary": "Send a welcome e-mail",
                "description": "This will send a welcome e-mail (using your welcome e-mail template) to the primary contact for the package\/customer.",
                "externalDocs": {
                    "description": "Send a welcome e-mail",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-package-send-welcome"
                },
                "tags": [
                    "subscriptions"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "_comment": {
                                        "type": "string"
                                    },
                                    "email": {
                                        "type": "string"
                                    },
                                    "cc": {
                                        "type": "string"
                                    },
                                    "bcc": {
                                        "type": "string"
                                    },
                                    "subject": {
                                        "type": "string"
                                    },
                                    "body": {
                                        "type": "string"
                                    },
                                    "html": {
                                        "type": "string"
                                    },
                                    "from": {
                                        "type": "string"
                                    },
                                    "_comment_message_id": {
                                        "type": "string"
                                    },
                                    "message_id": {
                                        "type": "integer"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "_comment": "All attributes are optional, and can be used to override the default email templates, etc.",
                                        "email": "to@example.com",
                                        "cc": "cc@example.com",
                                        "bcc": "bcc@example.com",
                                        "subject": "Override the default subject",
                                        "body": "Override the default plain-text body of the email",
                                        "html": "Override the default &lt;b&gt;HTML body&lt;\/b&gt; of the email",
                                        "from": "\"Example Company\" &lt;from@example.com&gt;",
                                        "_comment_message_id": "You can optionally specify a message_id value to use a specific email template.",
                                        "message_id": 2
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/item": {
            "post": {
                "summary": "Create an item",
                "description": "<p>\n\tThe response\/id value will be the item_id value for the newly created item.\n<\/p>\n\nValid values for <code>paycycle<\/code>\n<ul>\n\t<li><code>evy<\/code> - Every billing cycle<\/li>\n\t<li><code>dly<\/code> - Daily<\/li>\n\t<li><code>1wk<\/code> - Every week<\/li>\n\t<li><code>2wk<\/code> - Every other week<\/li>\n\t<li><code>116<\/code> - 1st and the 16th<\/li>\n\t<li><code>4wk<\/code> - Every four weeks<\/li>\n\t<li><code>8wk<\/code> - Every eight weeks<\/li>\n\t<li><code>30d<\/code> - Every 30 days<\/li>\n\t<li><code>mon<\/code> - Monthly<\/li>\n\t<li><code>2mn<\/code> - Every other month<\/li>\n\t<li><code>12w<\/code> - Every twelve weeks<\/li>\n\t<li><code>qtr<\/code> - Quarterly<\/li>\n\t<li><code>six<\/code> - Every six months<\/li>\n\t<li><code>yrl<\/code> - Yearly<\/li>\n\t<li><code>2yr<\/code> - Every 2 years<\/li>\n\t<li><code>3yr<\/code> - Every 3 years<\/li>\n\t<li><code>4yr<\/code> - Every 4 years<\/li>\n\t<li><code>5yr<\/code> - Every 5 years<\/li>\n\t<li><code>10y<\/code> - Every 10 years<\/li>\n<\/ul>\n\nValid values for <code>pricemodel<\/code>\n<ul>\n\t<li><code>fla<\/code> - Flat Pricing (example: $X dollars every billing cycle)<\/li>\n\t<li><code>uni<\/code> - Unit Pricing (example: $X per unit every billing cycle)<\/li>\n\t<li><code>vol<\/code> - Volume Pricing (example: $X dollars every billing cycle, with different price levels depending on volume)<\/li>\n\t<li><code>tie<\/code> - Tiered Pricing (example: $X dollars every billing cycle for the first 10 units, then $Y dollars per month for the next 10 units, etc.)<\/li>\n\t<li><code>pas<\/code> - Pass-through from usage data (Pass-through pricing is for scenarios where the usage data <i>and<\/i> the pricing is already known)<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Create an item",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-item"
                },
                "tags": [
                    "items"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "item_type": {
                                        "type": "string",
                                        "description": "Item type"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Item name"
                                    },
                                    "description": {
                                        "type": "string",
                                        "description": "Description"
                                    },
                                    "enabled": {
                                        "type": "boolean",
                                        "description": "Enabled\/disabled"
                                    },
                                    "accounting_sku": {
                                        "type": "string",
                                        "description": "Accounting SKU"
                                    },
                                    "accounting_account_income": {
                                        "type": "string",
                                        "description": "Accounting Income Account"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "units": {
                                        "type": "string",
                                        "description": "Units string"
                                    },
                                    "tax_group_id": {
                                        "type": "integer",
                                        "description": "Tax group ID #"
                                    },
                                    "expire_recurs": {
                                        "type": "integer",
                                        "description": "Default number of times to recur"
                                    },
                                    "trial_recurs": {
                                        "type": "integer",
                                        "description": "Default number of times to skip\/free trial cycles"
                                    },
                                    "service_dates_type": {
                                        "type": "string",
                                        "enum": [
                                            "none",
                                            "starts_on_invoice_date",
                                            "starts_on_first_of_this_month",
                                            "starts_on_first_of_next_month",
                                            "ends_before_invoice_date",
                                            "starts_on_first_of_plus2_month"
                                        ],
                                        "description": "Service date type"
                                    },
                                    "service_dates_visibility": {
                                        "type": "string",
                                        "enum": [
                                            "visible_to_merchant",
                                            "visible_to_merchant_and_customers"
                                        ],
                                        "description": "Service dates visibility"
                                    },
                                    "revrec_method": {
                                        "type": "string",
                                        "enum": [
                                            "none",
                                            "ratable_daily",
                                            "ratable_30_360",
                                            "installment",
                                            "sales_basis",
                                            "completed_contract"
                                        ],
                                        "description": "Revenue recognition method"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field value #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field value #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field value #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field value #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field value #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field value #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field value #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field value #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field value #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field value #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field value #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field value #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field value #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field value #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field value #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field value #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field value #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field value #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field value #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field value #20"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Create a service or product": {
                                    "value": {
                                        "name": "Multi-Currency Test Product",
                                        "item_type": "service",
                                        "pricemodels": [
                                            {
                                                "currency_iso4217": "USD",
                                                "base": 195.95,
                                                "paycycle": "mon",
                                                "pricemodel": "fla"
                                            },
                                            {
                                                "currency_iso4217": "CAD",
                                                "base": 195.95,
                                                "paycycle": "mon",
                                                "pricemodel": "fla"
                                            }
                                        ]
                                    }
                                },
                                "Create a discount": {
                                    "value": {
                                        "name": "My Discount Name",
                                        "item_type": "discount",
                                        "pricemodel": {
                                            "pricemodel": "fla",
                                            "percent": 50
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Querying for items",
                "description": "Available query parameter values for filtering:\r\n<ul>\r\n\t<li>item_id<\/li>\r\n\t<li>name<\/li>\r\n\t<li>external_key<\/li>\r\n\t<li>accounting_sku<\/li>\r\n\t<li>item_type<\/li>\r\n\t<li>custom_1<\/li>\r\n\t<li>custom_2<\/li>\r\n\t<li>custom_3<\/li>\r\n<\/ul>\r\n\r\nValid values for <code>item_type<\/code>\r\n<ul>\r\n\t<li><code>service<\/code> (for Services)<\/li>\r\n\t<li><code>discount<\/code> (for Discounts)<\/li>\r\n<\/ul>\r\n\r\n",
                "externalDocs": {
                    "description": "Querying for items",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-item"
                },
                "tags": [
                    "items"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "item_type:EQUALS:service"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "item_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "item_id": {
                                                        "type": "integer",
                                                        "description": "Item ID #"
                                                    },
                                                    "item_type": {
                                                        "type": "string",
                                                        "description": "Item type"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Item name"
                                                    },
                                                    "description": {
                                                        "type": "string",
                                                        "description": "Description"
                                                    },
                                                    "enabled": {
                                                        "type": "boolean",
                                                        "description": "Enabled\/disabled"
                                                    },
                                                    "accounting_sku": {
                                                        "type": "string",
                                                        "description": "Accounting SKU"
                                                    },
                                                    "accounting_account_income": {
                                                        "type": "string",
                                                        "description": "Accounting Income Account"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "units": {
                                                        "type": "string",
                                                        "description": "Units string"
                                                    },
                                                    "units_plural": {
                                                        "type": "string",
                                                        "description": "Units string pluralized"
                                                    },
                                                    "tax_group_id": {
                                                        "type": "integer",
                                                        "description": "Tax group ID #"
                                                    },
                                                    "tax_group_name": {
                                                        "type": "string",
                                                        "description": "Tax group name"
                                                    },
                                                    "expire_recurs": {
                                                        "type": "integer",
                                                        "description": "Default number of times to recur"
                                                    },
                                                    "trial_recurs": {
                                                        "type": "integer",
                                                        "description": "Default number of times to skip\/free trial cycles"
                                                    },
                                                    "service_dates_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "none",
                                                            "starts_on_invoice_date",
                                                            "starts_on_first_of_this_month",
                                                            "starts_on_first_of_next_month",
                                                            "ends_before_invoice_date",
                                                            "starts_on_first_of_plus2_month"
                                                        ],
                                                        "description": "Service date type"
                                                    },
                                                    "service_dates_visibility": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visible_to_merchant",
                                                            "visible_to_merchant_and_customers"
                                                        ],
                                                        "description": "Service dates visibility"
                                                    },
                                                    "revrec_method": {
                                                        "type": "string",
                                                        "enum": [
                                                            "none",
                                                            "ratable_daily",
                                                            "ratable_30_360",
                                                            "installment",
                                                            "sales_basis",
                                                            "completed_contract"
                                                        ],
                                                        "description": "Revenue recognition method"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Unique token"
                                                    },
                                                    "tierset_id": {
                                                        "type": "integer",
                                                        "description": "Default pricing tierset ID #"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the item was created"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the item was last updated"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field value #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field value #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field value #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field value #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field value #5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field value #6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field value #7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field value #8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field value #9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field value #10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field value #11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field value #12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field value #13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field value #14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field value #15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field value #16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field value #17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field value #18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field value #19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field value #20"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "item_id": 1,
                                                    "item_type": "service",
                                                    "tierset_id": 1,
                                                    "name": "My Test Service Plan",
                                                    "description": "This is a ChargeOver test item.",
                                                    "units": "",
                                                    "accounting_sku": null,
                                                    "external_key": null,
                                                    "token": "d56c047651ec",
                                                    "custom_1": "",
                                                    "custom_2": "",
                                                    "custom_3": "",
                                                    "write_datetime": "2014-12-02 18:46:48",
                                                    "mod_datetime": "2014-12-02 18:46:48",
                                                    "units_plural": "",
                                                    "tiersets": [
                                                        {
                                                            "tierset_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "paycycle": "mon",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2014-12-02 18:46:48",
                                                            "mod_datetime": "2014-12-02 18:46:48",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "pricemodel_desc": "Flat Pricing (e.g. $X dollars per month)",
                                                            "tiers": []
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/item\/{item_id}": {
            "get": {
                "summary": "Get a specific item",
                "description": "Get a specific item using its <code>item_id<\/code>.\n",
                "externalDocs": {
                    "description": "Get a specific item",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-item"
                },
                "tags": [
                    "items"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID #"
                                                },
                                                "item_type": {
                                                    "type": "string",
                                                    "description": "Item type"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Item name"
                                                },
                                                "description": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "enabled": {
                                                    "type": "boolean",
                                                    "description": "Enabled\/disabled"
                                                },
                                                "accounting_sku": {
                                                    "type": "string",
                                                    "description": "Accounting SKU"
                                                },
                                                "accounting_account_income": {
                                                    "type": "string",
                                                    "description": "Accounting Income Account"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "units": {
                                                    "type": "string",
                                                    "description": "Units string"
                                                },
                                                "units_plural": {
                                                    "type": "string",
                                                    "description": "Units string pluralized"
                                                },
                                                "tax_group_id": {
                                                    "type": "integer",
                                                    "description": "Tax group ID #"
                                                },
                                                "tax_group_name": {
                                                    "type": "string",
                                                    "description": "Tax group name"
                                                },
                                                "expire_recurs": {
                                                    "type": "integer",
                                                    "description": "Default number of times to recur"
                                                },
                                                "trial_recurs": {
                                                    "type": "integer",
                                                    "description": "Default number of times to skip\/free trial cycles"
                                                },
                                                "service_dates_type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "none",
                                                        "starts_on_invoice_date",
                                                        "starts_on_first_of_this_month",
                                                        "starts_on_first_of_next_month",
                                                        "ends_before_invoice_date",
                                                        "starts_on_first_of_plus2_month"
                                                    ],
                                                    "description": "Service date type"
                                                },
                                                "service_dates_visibility": {
                                                    "type": "string",
                                                    "enum": [
                                                        "visible_to_merchant",
                                                        "visible_to_merchant_and_customers"
                                                    ],
                                                    "description": "Service dates visibility"
                                                },
                                                "revrec_method": {
                                                    "type": "string",
                                                    "enum": [
                                                        "none",
                                                        "ratable_daily",
                                                        "ratable_30_360",
                                                        "installment",
                                                        "sales_basis",
                                                        "completed_contract"
                                                    ],
                                                    "description": "Revenue recognition method"
                                                },
                                                "token": {
                                                    "type": "string",
                                                    "description": "Unique token"
                                                },
                                                "tierset_id": {
                                                    "type": "integer",
                                                    "description": "Default pricing tierset ID #"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the item was created"
                                                },
                                                "mod_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the item was last updated"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field value #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field value #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field value #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field value #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field value #5"
                                                },
                                                "custom_6": {
                                                    "type": "string",
                                                    "description": "Custom field value #6"
                                                },
                                                "custom_7": {
                                                    "type": "string",
                                                    "description": "Custom field value #7"
                                                },
                                                "custom_8": {
                                                    "type": "string",
                                                    "description": "Custom field value #8"
                                                },
                                                "custom_9": {
                                                    "type": "string",
                                                    "description": "Custom field value #9"
                                                },
                                                "custom_10": {
                                                    "type": "string",
                                                    "description": "Custom field value #10"
                                                },
                                                "custom_11": {
                                                    "type": "string",
                                                    "description": "Custom field value #11"
                                                },
                                                "custom_12": {
                                                    "type": "string",
                                                    "description": "Custom field value #12"
                                                },
                                                "custom_13": {
                                                    "type": "string",
                                                    "description": "Custom field value #13"
                                                },
                                                "custom_14": {
                                                    "type": "string",
                                                    "description": "Custom field value #14"
                                                },
                                                "custom_15": {
                                                    "type": "string",
                                                    "description": "Custom field value #15"
                                                },
                                                "custom_16": {
                                                    "type": "string",
                                                    "description": "Custom field value #16"
                                                },
                                                "custom_17": {
                                                    "type": "string",
                                                    "description": "Custom field value #17"
                                                },
                                                "custom_18": {
                                                    "type": "string",
                                                    "description": "Custom field value #18"
                                                },
                                                "custom_19": {
                                                    "type": "string",
                                                    "description": "Custom field value #19"
                                                },
                                                "custom_20": {
                                                    "type": "string",
                                                    "description": "Custom field value #20"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "item_id": 665,
                                                "item_type": "bundle",
                                                "tierset_id": null,
                                                "tax_group_id": null,
                                                "name": "My Bundle Example",
                                                "description": "",
                                                "units": null,
                                                "enabled": true,
                                                "accounting_sku": null,
                                                "accounting_account_income": null,
                                                "external_key": null,
                                                "token": "1jr4crjxtgnt",
                                                "custom_1": "",
                                                "custom_2": "",
                                                "custom_3": null,
                                                "write_datetime": "2024-05-06 15:06:02",
                                                "mod_datetime": "2024-05-06 15:06:02",
                                                "units_plural": "",
                                                "tax_group_name": "",
                                                "expire_recurs": null,
                                                "trial_recurs": null,
                                                "bundle_data": {
                                                    "components": [
                                                        {
                                                            "item_id": 434,
                                                            "item_type": "service",
                                                            "name": "My Test Product",
                                                            "description": "asdga",
                                                            "accounting_sku": null,
                                                            "external_key": null,
                                                            "token": "0okery6hq4ev",
                                                            "component_tiersets": [
                                                                {
                                                                    "tierset_id": 1249,
                                                                    "currency_id": 1,
                                                                    "setup": 0,
                                                                    "base": 234.56,
                                                                    "minimum": 0,
                                                                    "percent": 0,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-12-18 10:21:02",
                                                                    "mod_datetime": "2024-12-18 10:21:02",
                                                                    "currency_symbol": "$",
                                                                    "currency_iso4217": "USD",
                                                                    "setup_formatted": "$ 0.00",
                                                                    "base_formatted": "$ 234.56",
                                                                    "minimum_formatted": "$ 0.00",
                                                                    "percent_formatted": "0 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                },
                                                                {
                                                                    "tierset_id": 1250,
                                                                    "currency_id": 2,
                                                                    "setup": 0,
                                                                    "base": 100,
                                                                    "minimum": 0,
                                                                    "percent": 0,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-12-18 10:21:02",
                                                                    "mod_datetime": "2024-12-18 10:21:02",
                                                                    "currency_symbol": "CAD$",
                                                                    "currency_iso4217": "CAD",
                                                                    "setup_formatted": "CAD$ 0.00",
                                                                    "base_formatted": "CAD$ 100.00",
                                                                    "minimum_formatted": "CAD$ 0.00",
                                                                    "percent_formatted": "0 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                },
                                                                {
                                                                    "tierset_id": 1251,
                                                                    "currency_id": 5,
                                                                    "setup": 0,
                                                                    "base": 1234,
                                                                    "minimum": 0,
                                                                    "percent": 0,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "uni",
                                                                    "write_datetime": "2024-12-18 10:21:02",
                                                                    "mod_datetime": "2024-12-18 10:21:02",
                                                                    "currency_symbol": "N$",
                                                                    "currency_iso4217": "NZD",
                                                                    "setup_formatted": "N$ 0.00",
                                                                    "base_formatted": "N$ 1234.00",
                                                                    "minimum_formatted": "N$ 0.00",
                                                                    "percent_formatted": "0 %",
                                                                    "pricemodel_desc": "Unit Pricing (example: $X per unit every billing cycle)",
                                                                    "tiers": [
                                                                        {
                                                                            "tier_id": 95,
                                                                            "unit_from": 1,
                                                                            "unit_to": 100,
                                                                            "amount": 5,
                                                                            "amount_per_paycycle": "$ 5.00\/cycle"
                                                                        },
                                                                        {
                                                                            "tier_id": 96,
                                                                            "unit_from": 101,
                                                                            "unit_to": 200,
                                                                            "amount": 4,
                                                                            "amount_per_paycycle": "$ 4.00\/cycle"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "tierset_id": 1252,
                                                                    "currency_id": 6,
                                                                    "setup": 0,
                                                                    "base": 235,
                                                                    "minimum": 0,
                                                                    "percent": 0,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-12-18 10:21:02",
                                                                    "mod_datetime": "2024-12-18 10:21:02",
                                                                    "currency_symbol": "A$",
                                                                    "currency_iso4217": "AUD",
                                                                    "setup_formatted": "A$ 0.00",
                                                                    "base_formatted": "A$ 235.00",
                                                                    "minimum_formatted": "A$ 0.00",
                                                                    "percent_formatted": "0 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": [
                                                                        {
                                                                            "tier_id": 97,
                                                                            "unit_from": 1,
                                                                            "unit_to": 100,
                                                                            "amount": 5,
                                                                            "amount_per_paycycle": "$ 5.00\/cycle"
                                                                        },
                                                                        {
                                                                            "tier_id": 98,
                                                                            "unit_from": 101,
                                                                            "unit_to": 200,
                                                                            "amount": 4,
                                                                            "amount_per_paycycle": "$ 4.00\/cycle"
                                                                        }
                                                                    ]
                                                                },
                                                                {
                                                                    "tierset_id": 1253,
                                                                    "currency_id": 7,
                                                                    "setup": 0,
                                                                    "base": 1234,
                                                                    "minimum": 0,
                                                                    "percent": 0,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-12-18 10:21:02",
                                                                    "mod_datetime": "2024-12-18 10:21:02",
                                                                    "currency_symbol": "\u062f.\u062c",
                                                                    "currency_iso4217": "DZD",
                                                                    "setup_formatted": "\u062f.\u062c 0.00",
                                                                    "base_formatted": "\u062f.\u062c 1234.00",
                                                                    "minimum_formatted": "\u062f.\u062c 0.00",
                                                                    "percent_formatted": "0 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": [
                                                                        {
                                                                            "tier_id": 99,
                                                                            "unit_from": 1,
                                                                            "unit_to": 100,
                                                                            "amount": 5,
                                                                            "amount_per_paycycle": "$ 5.00\/cycle"
                                                                        },
                                                                        {
                                                                            "tier_id": 100,
                                                                            "unit_from": 101,
                                                                            "unit_to": 200,
                                                                            "amount": 4,
                                                                            "amount_per_paycycle": "$ 4.00\/cycle"
                                                                        }
                                                                    ]
                                                                }
                                                            ]
                                                        },
                                                        {
                                                            "item_id": 2,
                                                            "item_type": "discount",
                                                            "name": "Discount",
                                                            "description": "Discount",
                                                            "accounting_sku": null,
                                                            "external_key": null,
                                                            "token": "xy2zpj5akho9",
                                                            "component_tiersets": [
                                                                {
                                                                    "tierset_id": 849,
                                                                    "currency_id": 1,
                                                                    "setup": 0,
                                                                    "base": 0,
                                                                    "minimum": 0,
                                                                    "percent": 5,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-04-29 15:38:02",
                                                                    "mod_datetime": "2024-04-29 15:38:02",
                                                                    "currency_symbol": "$",
                                                                    "currency_iso4217": "USD",
                                                                    "setup_formatted": "$ 0.00",
                                                                    "base_formatted": "$ 0.00",
                                                                    "minimum_formatted": "$ 0.00",
                                                                    "percent_formatted": "5 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                },
                                                                {
                                                                    "tierset_id": 849,
                                                                    "currency_id": 1,
                                                                    "setup": 0,
                                                                    "base": 0,
                                                                    "minimum": 0,
                                                                    "percent": 5,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-04-29 15:38:02",
                                                                    "mod_datetime": "2024-04-29 15:38:02",
                                                                    "currency_symbol": "$",
                                                                    "currency_iso4217": "USD",
                                                                    "setup_formatted": "$ 0.00",
                                                                    "base_formatted": "$ 0.00",
                                                                    "minimum_formatted": "$ 0.00",
                                                                    "percent_formatted": "5 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                },
                                                                {
                                                                    "tierset_id": 849,
                                                                    "currency_id": 1,
                                                                    "setup": 0,
                                                                    "base": 0,
                                                                    "minimum": 0,
                                                                    "percent": 5,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-04-29 15:38:02",
                                                                    "mod_datetime": "2024-04-29 15:38:02",
                                                                    "currency_symbol": "$",
                                                                    "currency_iso4217": "USD",
                                                                    "setup_formatted": "$ 0.00",
                                                                    "base_formatted": "$ 0.00",
                                                                    "minimum_formatted": "$ 0.00",
                                                                    "percent_formatted": "5 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                },
                                                                {
                                                                    "tierset_id": 849,
                                                                    "currency_id": 1,
                                                                    "setup": 0,
                                                                    "base": 0,
                                                                    "minimum": 0,
                                                                    "percent": 5,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-04-29 15:38:02",
                                                                    "mod_datetime": "2024-04-29 15:38:02",
                                                                    "currency_symbol": "$",
                                                                    "currency_iso4217": "USD",
                                                                    "setup_formatted": "$ 0.00",
                                                                    "base_formatted": "$ 0.00",
                                                                    "minimum_formatted": "$ 0.00",
                                                                    "percent_formatted": "5 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                },
                                                                {
                                                                    "tierset_id": 849,
                                                                    "currency_id": 1,
                                                                    "setup": 0,
                                                                    "base": 0,
                                                                    "minimum": 0,
                                                                    "percent": 5,
                                                                    "paycycle": "evy",
                                                                    "pricemodel": "fla",
                                                                    "write_datetime": "2024-04-29 15:38:02",
                                                                    "mod_datetime": "2024-04-29 15:38:02",
                                                                    "currency_symbol": "$",
                                                                    "currency_iso4217": "USD",
                                                                    "setup_formatted": "$ 0.00",
                                                                    "base_formatted": "$ 0.00",
                                                                    "minimum_formatted": "$ 0.00",
                                                                    "percent_formatted": "5 %",
                                                                    "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                                    "tiers": []
                                                                }
                                                            ]
                                                        }
                                                    ]
                                                },
                                                "tiersets": [],
                                                "categories": []
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "put": {
                "summary": "Update an item",
                "description": "This allows you to update an existing product. When updating a product, you can specify the pricing for multiple currencies if desired.",
                "externalDocs": {
                    "description": "Update an item",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#update-item"
                },
                "tags": [
                    "items"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Object was updated successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Item name"
                                    },
                                    "description": {
                                        "type": "string",
                                        "description": "Description"
                                    },
                                    "enabled": {
                                        "type": "boolean",
                                        "description": "Enabled\/disabled"
                                    },
                                    "accounting_sku": {
                                        "type": "string",
                                        "description": "Accounting SKU"
                                    },
                                    "accounting_account_income": {
                                        "type": "string",
                                        "description": "Accounting Income Account"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "units": {
                                        "type": "string",
                                        "description": "Units string"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field value #1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field value #2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field value #3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field value #4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field value #5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field value #6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field value #7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field value #8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field value #9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field value #10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field value #11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field value #12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field value #13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field value #14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field value #15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field value #16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field value #17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field value #18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field value #19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field value #20"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "name": "Standard Plan",
                                        "item_type": "service",
                                        "pricemodels": [
                                            {
                                                "currency_iso4217": "USD",
                                                "base": 295.05,
                                                "paycycle": "mon",
                                                "pricemodel": "fla"
                                            },
                                            {
                                                "currency_iso4217": "CAD",
                                                "base": 195.95,
                                                "paycycle": "mon",
                                                "pricemodel": "fla"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "delete": {
                "summary": "Delete an item",
                "description": "This allows you to delete a product that is not in use. <strong> You will only be able to delete a product if it is not on any invoices or subscriptions.<\/strong>",
                "externalDocs": {
                    "description": "Delete an item",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-item"
                },
                "tags": [
                    "items"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/creditcard": {
            "post": {
                "summary": "Store a credit card",
                "description": "<p>\nThis method can be used to store a new card or update an existing card.\n<br\/>\nTo update an existing card: Send a new POST request using an existing card number\nwith its updated values. The stored card will then be updated.\n<\/p>\n",
                "externalDocs": {
                    "description": "Store a credit card",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-card"
                },
                "tags": [
                    "creditcards"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "The customer id #"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "Unique external key value"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Name on credit card"
                                    },
                                    "number": {
                                        "type": "string",
                                        "description": "Credit card number"
                                    },
                                    "cvv": {
                                        "type": "string",
                                        "description": "CVV\/CSC security code (not stored, but may be used for validation\/pre-auth)"
                                    },
                                    "expdate": {
                                        "type": "string",
                                        "description": "Expiration date (in YYYY-MM-DD format)"
                                    },
                                    "expdate_year": {
                                        "type": "string",
                                        "description": "Expiration year (4-digits, YYYY) (only required if you do not provide expdate)"
                                    },
                                    "expdate_month": {
                                        "type": "string",
                                        "description": "Expiration month (2-digits, MM) (only required if you do not provide expdate)"
                                    },
                                    "address": {
                                        "type": "string",
                                        "description": "Billing street address"
                                    },
                                    "city": {
                                        "type": "string",
                                        "description": "Billing city"
                                    },
                                    "state": {
                                        "type": "string",
                                        "description": "Billing state"
                                    },
                                    "postcode": {
                                        "type": "string",
                                        "description": "Billing postal code"
                                    },
                                    "country": {
                                        "type": "string",
                                        "description": "Billing country"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": 475,
                                        "number": "4111 1111 1111 1111",
                                        "expdate_year": "2015",
                                        "expdate_month": "11",
                                        "cvv": 123,
                                        "name": "Keith Palmer",
                                        "address": "72 E Blue Grass Road",
                                        "city": "Willington",
                                        "state": "CT",
                                        "postcode": "06279",
                                        "country": "United States"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Querying for credit cards",
                "description": "Available query parameter values for filtering:\n<ul>\n\t<li>creditcard_id<\/li>\n\t<li>customer_id<\/li>\n\t<li>external_key<\/li>\n\t<li>token<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Querying for credit cards",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-card"
                },
                "tags": [
                    "creditcards"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:EQUALS:1000"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "creditcard_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "The customer id #"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer",
                                                        "description": "The credit card ID #"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "Unique external key value"
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Credit card type"
                                                    },
                                                    "type_name": {
                                                        "type": "string",
                                                        "description": "Credit card type user-friendly name"
                                                    },
                                                    "subtype": {
                                                        "type": "string",
                                                        "description": "Debit or credit indicator"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string",
                                                        "description": "Debit or credit indicator user-friendly name"
                                                    },
                                                    "issuer": {
                                                        "type": "string",
                                                        "description": "Issuer"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "Credit card token"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Name on credit card"
                                                    },
                                                    "mask_number": {
                                                        "type": "string",
                                                        "description": "Last 4 digits of the credit card"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string",
                                                        "description": "First 6 digits and last 4 digits of the credit card"
                                                    },
                                                    "expdate": {
                                                        "type": "string",
                                                        "description": "Expiration date (in YYYY-MM-DD format)"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string",
                                                        "description": "Expiration year (4-digits, YYYY) (only required if you do not provide expdate)"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string",
                                                        "description": "Expiration month (2-digits, MM) (only required if you do not provide expdate)"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string",
                                                        "description": "Expiration date (formatted)"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string",
                                                        "description": "Flag indicating whether or not customer explicitly approved auto-pay with this card"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time when customer approved auto-pay with this card"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string",
                                                        "description": "IP address that approved auto-pay with this card"
                                                    },
                                                    "address": {
                                                        "type": "string",
                                                        "description": "Billing street address"
                                                    },
                                                    "city": {
                                                        "type": "string",
                                                        "description": "Billing city"
                                                    },
                                                    "state": {
                                                        "type": "string",
                                                        "description": "Billing state"
                                                    },
                                                    "postcode": {
                                                        "type": "string",
                                                        "description": "Billing postal code"
                                                    },
                                                    "country": {
                                                        "type": "string",
                                                        "description": "Billing country"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the credit card was stored"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string",
                                                        "description": "IP address that created the card"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the credit card was modified"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "creditcard_id": 1,
                                                    "external_key": null,
                                                    "type": "visa",
                                                    "token": "ly1j7wmginqp",
                                                    "expdate": "2023-05-01",
                                                    "write_datetime": "2019-07-25 10:24:52",
                                                    "write_ipaddr": "10.80.1.1",
                                                    "mask_number": "x1111",
                                                    "mask_and_bin_number": "411111xxx1111",
                                                    "name": "John LLC",
                                                    "expdate_month": "5",
                                                    "expdate_year": "2023",
                                                    "expdate_formatted": "May 2023",
                                                    "type_name": "Visa",
                                                    "url_updatelink": "http:\/\/dev1.chargeover.test\/r\/paymethod\/i\/ru0895x81ht1",
                                                    "address": null,
                                                    "city": null,
                                                    "postcode": null,
                                                    "country": "United States",
                                                    "customer_id": 2
                                                },
                                                {
                                                    "creditcard_id": 2,
                                                    "external_key": null,
                                                    "type": "mast",
                                                    "token": "4ei8py0h1x06",
                                                    "expdate": "2022-05-01",
                                                    "write_datetime": "2019-07-25 10:25:37",
                                                    "write_ipaddr": "10.80.1.1",
                                                    "mask_number": "x4444",
                                                    "mask_and_bin_number": "555555xxx4444",
                                                    "name": "John LLC",
                                                    "expdate_month": "5",
                                                    "expdate_year": "2022",
                                                    "expdate_formatted": "May 2022",
                                                    "type_name": "MasterCard",
                                                    "url_updatelink": "http:\/\/dev1.chargeover.test\/r\/paymethod\/i\/ru0895x81ht1",
                                                    "address": null,
                                                    "city": null,
                                                    "postcode": null,
                                                    "country": "United States",
                                                    "customer_id": 2
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/creditcard\/{creditcard_id}": {
            "delete": {
                "summary": "Delete a credit card",
                "description": "",
                "externalDocs": {
                    "description": "Delete a credit card",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-a-creditcard"
                },
                "tags": [
                    "creditcards"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/ach": {
            "post": {
                "summary": "Store an ACH account",
                "description": "<p>\nThis method can be used to store a new ACH or  update an existing  ACH. <br\/>\nTo update an existing card: Send a new POST request using existing <code>routing<\/code> and <code>number<\/code>\nfields with its updated values. The stored ACH will then be updated.\n<\/p>\nNotes:\n<ul>\n\t<li>The type field must be one of: <code>chec<\/code> (personal checking account), <code>busi<\/code> (business checking account), or <code>savi<\/code> (savings account)<\/li>\n\t<li>The number field should be a valid bank account number<\/li>\n<\/ul>\n\nRouting number formatting for Canadian bank accounts:\n<code>\n\t0(3-digit institution code)(5 digit transit number)\n\tExample: 032012345\n<\/code>\n",
                "externalDocs": {
                    "description": "Store an ACH account",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-ach"
                },
                "tags": [
                    "ach"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "Unique external key value"
                                    },
                                    "type": {
                                        "type": "string",
                                        "description": "Bank account type (one of: chec, busi, savi)"
                                    },
                                    "number": {
                                        "type": "string",
                                        "description": "Bank account number"
                                    },
                                    "routing": {
                                        "type": "string",
                                        "description": "Bank account routing number"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Name on bank account"
                                    },
                                    "bank": {
                                        "type": "string",
                                        "description": "Bank name"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": "8",
                                        "type": "chec",
                                        "routing": "072403004",
                                        "number": "856667",
                                        "name": "John Doe"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Querying for ACH accounts",
                "description": "Available query parameter values for filtering:\n<ul>\n    <li>ach_id<\/li>\n    <li>customer_id<\/li>\n    <li>external_key<\/li>\n    <li>token<\/li>\n<\/ul>\n\n",
                "externalDocs": {
                    "description": "Querying for ACH accounts",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-ach"
                },
                "tags": [
                    "ach"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:EQUALS:1000"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "ach_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "ach_id": {
                                                        "type": "integer",
                                                        "description": "ACH ID #"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "Unique external key value"
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Bank account type (one of: chec, busi, savi)"
                                                    },
                                                    "type_name": {
                                                        "type": "string",
                                                        "description": "Bank account type (pretty name)"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "ACH account token"
                                                    },
                                                    "mask_number": {
                                                        "type": "string",
                                                        "description": "Last 4 digits of the bank account number"
                                                    },
                                                    "mask_routing": {
                                                        "type": "string",
                                                        "description": "Bank account routing number"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Name on bank account"
                                                    },
                                                    "mask_bank": {
                                                        "type": "string",
                                                        "description": "Bank name"
                                                    },
                                                    "url_verifylink": {
                                                        "type": "string",
                                                        "description": "ACH verification link"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the bank account was stored"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the bank account was modified"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "ach_id": 6,
                                                    "external_key": null,
                                                    "type": "chec",
                                                    "token": "zm960n26k14h",
                                                    "type_name": "Checking",
                                                    "customer_id": 36,
                                                    "name": "Camille Bettencourt",
                                                    "mask_bank": "Isabella Bank",
                                                    "mask_number": "x6667",
                                                    "mask_routing": "x3004"
                                                },
                                                {
                                                    "ach_id": 7,
                                                    "external_key": null,
                                                    "type": "chec",
                                                    "token": "31q03f11yw98",
                                                    "type_name": "Checking",
                                                    "customer_id": 36,
                                                    "name": "Camille Bettencourt",
                                                    "mask_bank": "Td Bank, Na",
                                                    "mask_number": "x6670",
                                                    "mask_routing": "x3093"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/ach\/{ach_id}": {
            "delete": {
                "summary": "Delete an ACH account",
                "description": "",
                "externalDocs": {
                    "description": "Delete an ACH account",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-an-ach"
                },
                "tags": [
                    "ach"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/tokenized": {
            "post": {
                "summary": "Store a pay method token",
                "description": "\nStore an already tokenized credit card in ChargeOver. ",
                "externalDocs": {
                    "description": "Store a pay method token",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-tokenized"
                },
                "tags": [
                    "tokenized"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "customer_id": {
                                        "type": "integer",
                                        "description": "Customer ID #"
                                    },
                                    "name": {
                                        "type": "string",
                                        "description": "Descriptive name for token (e.g. \"Visa x4111\")"
                                    },
                                    "type": {
                                        "type": "string",
                                        "description": "Type of token (usually \"customer\")"
                                    },
                                    "paymethod_hint": {
                                        "type": "string",
                                        "enum": [
                                            "crd",
                                            "ach"
                                        ],
                                        "description": "(Optional) Either \"crd\" (credit card) or \"ach\" (ACH\/bank accounts)"
                                    },
                                    "expdate": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "(Optional; only required for First Data\/Payeezy) Expiration date (YYYY-MM-DD) of the tokenized credit card"
                                    },
                                    "type_hint": {
                                        "type": "string",
                                        "enum": [
                                            "visa",
                                            "mast",
                                            "disc",
                                            "amex"
                                        ],
                                        "description": "(Optional; only required for First Data\/Payeezy) A credit card type (one of \"visa\", \"mast\", \"disc\", or \"amex\")"
                                    },
                                    "token": {
                                        "type": "string",
                                        "description": "The token value"
                                    },
                                    "gateway": {
                                        "type": "string",
                                        "description": "(Optional; only required if providing tokens for multiple gateways) A hint for which gateway this is a token for"
                                    }
                                },
                                "required": [
                                    "customer_id"
                                ]
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "customer_id": 1,
                                        "token": "cus_5tSkoQ6mDrXOMQ",
                                        "type": "customer"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Querying for pay method tokens",
                "description": "Available query parameter values for filtering:\n<ul>\n\t<li>customer_id<\/li>\n\t<li>customer_external_key<\/li>\n\t<li>customer_token<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Querying for pay method tokens",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-tokenized"
                },
                "tags": [
                    "tokenized"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:EQUALS:1000"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "customer_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "tokenized_id": {
                                                        "type": "integer",
                                                        "description": "Tokenized ID #"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer",
                                                        "description": "Customer ID #"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Descriptive name for token (e.g. \"Visa x4111\")"
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Type of token (usually \"customer\")"
                                                    },
                                                    "paymethod_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "crd",
                                                            "ach"
                                                        ],
                                                        "description": "(Optional) Either \"crd\" (credit card) or \"ach\" (ACH\/bank accounts)"
                                                    },
                                                    "expdate": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "(Optional; only required for First Data\/Payeezy) Expiration date (YYYY-MM-DD) of the tokenized credit card"
                                                    },
                                                    "type_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visa",
                                                            "mast",
                                                            "disc",
                                                            "amex"
                                                        ],
                                                        "description": "(Optional; only required for First Data\/Payeezy) A credit card type (one of \"visa\", \"mast\", \"disc\", or \"amex\")"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "The token value"
                                                    },
                                                    "gateway": {
                                                        "type": "string",
                                                        "description": "(Optional; only required if providing tokens for multiple gateways) A hint for which gateway this is a token for"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the tokenized payment method was stored"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the tokenized payment method was edited"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "tokenized_id": 1,
                                                    "type": "customer",
                                                    "name": null,
                                                    "token": "cus_5tSkoQ6mDrXOMQ",
                                                    "expdate": null,
                                                    "type_hint": null,
                                                    "paymethod_hint": null,
                                                    "customer_id": 2
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/tokenized\/{tokenized_id}": {
            "delete": {
                "summary": "Delete tokenized pay method",
                "description": "",
                "externalDocs": {
                    "description": "Delete tokenized pay method",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-a-tokenized"
                },
                "tags": [
                    "tokenized"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/brand": {
            "get": {
                "summary": "Retrieve brand list",
                "description": "",
                "externalDocs": {
                    "description": "Retrieve brand list",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-brand"
                },
                "tags": [
                    "brands"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "brand_id": {
                                                        "type": "integer",
                                                        "description": "Brand ID #"
                                                    },
                                                    "brand": {
                                                        "type": "string",
                                                        "description": "Deprecated (use \"name\" instead)"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Brand name"
                                                    },
                                                    "brand_addr1": {
                                                        "type": "string",
                                                        "description": "Street address 1"
                                                    },
                                                    "brand_addr2": {
                                                        "type": "string",
                                                        "description": "Street address 1"
                                                    },
                                                    "brand_city": {
                                                        "type": "string",
                                                        "description": "City"
                                                    },
                                                    "brand_state": {
                                                        "type": "string",
                                                        "description": "State\/province"
                                                    },
                                                    "brand_postcode": {
                                                        "type": "string",
                                                        "description": "Postal code"
                                                    },
                                                    "brand_country": {
                                                        "type": "string",
                                                        "description": "Country"
                                                    },
                                                    "brand_block": {
                                                        "type": "string",
                                                        "description": "Printable brand address"
                                                    },
                                                    "brand_phone": {
                                                        "type": "string",
                                                        "description": "Brand phone number"
                                                    },
                                                    "brand_email": {
                                                        "type": "string",
                                                        "description": "Brand email address"
                                                    },
                                                    "brand_linkedin": {
                                                        "type": "string",
                                                        "description": "Brand linkedin"
                                                    },
                                                    "brand_twitter": {
                                                        "type": "string",
                                                        "description": "Brand twitter"
                                                    },
                                                    "brand_facebook": {
                                                        "type": "string",
                                                        "description": "Brand facebook"
                                                    },
                                                    "brand_yelp": {
                                                        "type": "string",
                                                        "description": "Brand yelp"
                                                    },
                                                    "brand_youtube": {
                                                        "type": "string",
                                                        "description": "Brand youtube"
                                                    },
                                                    "brand_instagram": {
                                                        "type": "string",
                                                        "description": "Brand instagram"
                                                    },
                                                    "brand_pinterest": {
                                                        "type": "string",
                                                        "description": "Brand pinterest"
                                                    },
                                                    "brand_tiktok": {
                                                        "type": "string",
                                                        "description": "Brand tiktok"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field 1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field 2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field 3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field 4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field 5"
                                                    },
                                                    "url_logosmall": {
                                                        "type": "string",
                                                        "description": "URL to a small version of the brand logo"
                                                    },
                                                    "url_logomedium": {
                                                        "type": "string",
                                                        "description": "URL to a medium version of the brand logo"
                                                    },
                                                    "url_logolarge": {
                                                        "type": "string",
                                                        "description": "URL to a large version of the brand logo"
                                                    },
                                                    "url_logohuge": {
                                                        "type": "string",
                                                        "description": "URL to a huge version of the brand logo"
                                                    },
                                                    "url_logooriginal": {
                                                        "type": "string",
                                                        "description": "URL to the originally uploaded brand logo"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "brand_id": 1,
                                                    "brand": "Default"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/usage": {
            "post": {
                "summary": "Storing usage\/metered data",
                "description": "",
                "externalDocs": {
                    "description": "Storing usage\/metered data",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create-usage"
                },
                "tags": [
                    "usage"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "line_item_id": {
                                        "type": "string",
                                        "description": "Line Item ID that the usage is for"
                                    },
                                    "usage_value": {
                                        "type": "string",
                                        "description": "Usage value"
                                    },
                                    "type": {
                                        "type": "string",
                                        "description": "Usage type (default \"add\", other options are \"add\", \"max\", \"lat\", \"pia\", \"pas\", \"dlt\")"
                                    },
                                    "options": {
                                        "type": "array",
                                        "description": "An array of usage options"
                                    },
                                    "from": {
                                        "type": "string",
                                        "description": "Starting date\/time for the usage period"
                                    },
                                    "to": {
                                        "type": "string",
                                        "description": "Ending date\/time for the usage period"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field 1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field 2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field 3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field 4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field 5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field 6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field 7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field 8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field 9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field 10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field 11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field 12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field 13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field 14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field 15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field 16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field 17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field 18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field 19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field 20"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "line_item_id": 609,
                                        "usage_value": 265.2,
                                        "from": "2013-10-16",
                                        "to": "2013-10-16"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Query for usage\/metered data",
                "description": "\nAvailable query parameter values for filtering:\n\n<ul>\n\t<li><code>line_item_id<\/code> - associated subscription line<\/li>\n\t<li><code>external_key<\/code> - external key for usage\/metered data point<\/li>\n\t<li><code>from<\/code> - from date<\/li>\n\t<li><code>to<\/code> - to date<\/li>\n<\/ul>\n",
                "externalDocs": {
                    "description": "Query for usage\/metered data",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-usage"
                },
                "tags": [
                    "usage"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "line_item_id:EQUALS:581"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "line_item_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "usage_history_id": {
                                                        "type": "integer",
                                                        "description": "Usage History ID #"
                                                    },
                                                    "line_item_id": {
                                                        "type": "string",
                                                        "description": "Line Item ID that the usage is for"
                                                    },
                                                    "usage_value": {
                                                        "type": "string",
                                                        "description": "Usage value"
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Usage type (default \"add\", other options are \"add\", \"max\", \"lat\", \"pia\", \"pas\", \"dlt\")"
                                                    },
                                                    "from": {
                                                        "type": "string",
                                                        "description": "Starting date\/time for the usage period"
                                                    },
                                                    "to": {
                                                        "type": "string",
                                                        "description": "Ending date\/time for the usage period"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field 1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field 2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field 3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field 4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field 5"
                                                    },
                                                    "custom_6": {
                                                        "type": "string",
                                                        "description": "Custom field 6"
                                                    },
                                                    "custom_7": {
                                                        "type": "string",
                                                        "description": "Custom field 7"
                                                    },
                                                    "custom_8": {
                                                        "type": "string",
                                                        "description": "Custom field 8"
                                                    },
                                                    "custom_9": {
                                                        "type": "string",
                                                        "description": "Custom field 9"
                                                    },
                                                    "custom_10": {
                                                        "type": "string",
                                                        "description": "Custom field 10"
                                                    },
                                                    "custom_11": {
                                                        "type": "string",
                                                        "description": "Custom field 11"
                                                    },
                                                    "custom_12": {
                                                        "type": "string",
                                                        "description": "Custom field 12"
                                                    },
                                                    "custom_13": {
                                                        "type": "string",
                                                        "description": "Custom field 13"
                                                    },
                                                    "custom_14": {
                                                        "type": "string",
                                                        "description": "Custom field 14"
                                                    },
                                                    "custom_15": {
                                                        "type": "string",
                                                        "description": "Custom field 15"
                                                    },
                                                    "custom_16": {
                                                        "type": "string",
                                                        "description": "Custom field 16"
                                                    },
                                                    "custom_17": {
                                                        "type": "string",
                                                        "description": "Custom field 17"
                                                    },
                                                    "custom_18": {
                                                        "type": "string",
                                                        "description": "Custom field 18"
                                                    },
                                                    "custom_19": {
                                                        "type": "string",
                                                        "description": "Custom field 19"
                                                    },
                                                    "custom_20": {
                                                        "type": "string",
                                                        "description": "Custom field 20"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "usage_history_id": 14,
                                                    "external_key": null,
                                                    "usage_value": 1,
                                                    "custom_1": "test",
                                                    "custom_2": "test2",
                                                    "custom_3": null,
                                                    "custom_4": null,
                                                    "custom_5": null,
                                                    "custom_6": null,
                                                    "custom_7": null,
                                                    "custom_8": null,
                                                    "custom_9": null,
                                                    "custom_10": null,
                                                    "custom_11": null,
                                                    "custom_12": null,
                                                    "custom_13": null,
                                                    "custom_14": null,
                                                    "custom_15": null,
                                                    "custom_16": null,
                                                    "custom_17": null,
                                                    "custom_18": null,
                                                    "custom_19": null,
                                                    "custom_20": null,
                                                    "line_item_id": 581,
                                                    "from": "2024-05-04 00:00:00",
                                                    "to": "2024-05-04 00:00:00"
                                                },
                                                {
                                                    "usage_history_id": 15,
                                                    "external_key": null,
                                                    "usage_value": 3,
                                                    "custom_1": "test",
                                                    "custom_2": "test2",
                                                    "custom_3": null,
                                                    "custom_4": null,
                                                    "custom_5": null,
                                                    "custom_6": null,
                                                    "custom_7": null,
                                                    "custom_8": null,
                                                    "custom_9": null,
                                                    "custom_10": null,
                                                    "custom_11": null,
                                                    "custom_12": null,
                                                    "custom_13": null,
                                                    "custom_14": null,
                                                    "custom_15": null,
                                                    "custom_16": null,
                                                    "custom_17": null,
                                                    "custom_18": null,
                                                    "custom_19": null,
                                                    "custom_20": null,
                                                    "line_item_id": 629,
                                                    "from": "2024-05-05 00:00:00",
                                                    "to": "2024-05-05 00:00:00"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/usage\/_action\/bulk": {
            "post": {
                "summary": "Bulk usage\/metered data upload",
                "description": "<p> ChargeOver also has a dedicated bulk endpoint to push usage to. You can upload a maximum number of 1000 usage records per REST API call.<\/p>\r\n\r\n<p>In addition to <code>line_item_id<\/code>, ChargeOver also supports sending usage data using the <code>customer.external_key<\/code> and <code>line_item.item_external_key<\/code> fields.<\/p>\r\n",
                "externalDocs": {
                    "description": "Bulk usage\/metered data upload",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#usage-bulk"
                },
                "tags": [
                    "usage"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "line_item_id": {
                                        "type": "string",
                                        "description": "Line Item ID that the usage is for"
                                    },
                                    "usage_value": {
                                        "type": "string",
                                        "description": "Usage value"
                                    },
                                    "type": {
                                        "type": "string",
                                        "description": "Usage type (default \"add\", other options are \"add\", \"max\", \"lat\", \"pia\", \"pas\", \"dlt\")"
                                    },
                                    "options": {
                                        "type": "array",
                                        "description": "An array of usage options"
                                    },
                                    "from": {
                                        "type": "string",
                                        "description": "Starting date\/time for the usage period"
                                    },
                                    "to": {
                                        "type": "string",
                                        "description": "Ending date\/time for the usage period"
                                    },
                                    "external_key": {
                                        "type": "string",
                                        "description": "External key value"
                                    },
                                    "custom_1": {
                                        "type": "string",
                                        "description": "Custom field 1"
                                    },
                                    "custom_2": {
                                        "type": "string",
                                        "description": "Custom field 2"
                                    },
                                    "custom_3": {
                                        "type": "string",
                                        "description": "Custom field 3"
                                    },
                                    "custom_4": {
                                        "type": "string",
                                        "description": "Custom field 4"
                                    },
                                    "custom_5": {
                                        "type": "string",
                                        "description": "Custom field 5"
                                    },
                                    "custom_6": {
                                        "type": "string",
                                        "description": "Custom field 6"
                                    },
                                    "custom_7": {
                                        "type": "string",
                                        "description": "Custom field 7"
                                    },
                                    "custom_8": {
                                        "type": "string",
                                        "description": "Custom field 8"
                                    },
                                    "custom_9": {
                                        "type": "string",
                                        "description": "Custom field 9"
                                    },
                                    "custom_10": {
                                        "type": "string",
                                        "description": "Custom field 10"
                                    },
                                    "custom_11": {
                                        "type": "string",
                                        "description": "Custom field 11"
                                    },
                                    "custom_12": {
                                        "type": "string",
                                        "description": "Custom field 12"
                                    },
                                    "custom_13": {
                                        "type": "string",
                                        "description": "Custom field 13"
                                    },
                                    "custom_14": {
                                        "type": "string",
                                        "description": "Custom field 14"
                                    },
                                    "custom_15": {
                                        "type": "string",
                                        "description": "Custom field 15"
                                    },
                                    "custom_16": {
                                        "type": "string",
                                        "description": "Custom field 16"
                                    },
                                    "custom_17": {
                                        "type": "string",
                                        "description": "Custom field 17"
                                    },
                                    "custom_18": {
                                        "type": "string",
                                        "description": "Custom field 18"
                                    },
                                    "custom_19": {
                                        "type": "string",
                                        "description": "Custom field 19"
                                    },
                                    "custom_20": {
                                        "type": "string",
                                        "description": "Custom field 20"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": [
                                        {
                                            "customer.external_key": "77889",
                                            "line_item.item_external_key": "item_key",
                                            "usage_value": 100
                                        },
                                        {
                                            "line_item_id": 720,
                                            "usage_value": 101
                                        },
                                        {
                                            "line_item_id": 722,
                                            "usage_value": 300
                                        },
                                        {
                                            "line_item_id": 723,
                                            "usage_value": 150
                                        }
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/usage\/{usage_history_id}": {
            "delete": {
                "summary": "Delete usage\/metered",
                "description": "Delete one usage entry.",
                "externalDocs": {
                    "description": "Delete usage\/metered",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-usage"
                },
                "tags": [
                    "usage"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "Delete for a line item",
                "description": "Delete all usage entries attached to a particular line item.",
                "externalDocs": {
                    "description": "Delete for a line item",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete-usage-lineitem"
                },
                "tags": [
                    "usage"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/item_category": {
            "get": {
                "summary": "Query for categories",
                "description": "",
                "externalDocs": {
                    "description": "Query for categories",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-category"
                },
                "tags": [
                    "categories"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "item_category_id:EQUALS:1"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "item_category_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "item_category_id": {
                                                        "type": "integer",
                                                        "description": "Item category ID #"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Category name"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "item_category_id": 1,
                                                    "name": "Root",
                                                    "external_key": null
                                                },
                                                {
                                                    "item_category_id": 2,
                                                    "name": "Cars",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 3,
                                                    "name": "Motorcycles",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 4,
                                                    "name": "Trucks",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 8,
                                                    "name": "SUVs",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 7,
                                                    "name": "Sports Cars",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 9,
                                                    "name": "Ducati",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 10,
                                                    "name": "Kawasaki",
                                                    "external_key": ""
                                                },
                                                {
                                                    "item_category_id": 11,
                                                    "name": "Triumph",
                                                    "external_key": ""
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/campaign": {
            "get": {
                "summary": "Retrieve campaign list",
                "description": "",
                "externalDocs": {
                    "description": "Retrieve campaign list",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-campaign"
                },
                "tags": [
                    "campaigns"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": []
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "campaign_id": 1,
                                                    "campaign": "Some affiliate website or lead source"
                                                },
                                                {
                                                    "campaign_id": 3,
                                                    "campaign": "Another campaign"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/class": {
            "get": {
                "summary": "Retrieve a list of classes",
                "description": "",
                "externalDocs": {
                    "description": "Retrieve a list of classes",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-class"
                },
                "tags": [
                    "classes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "class_id": {
                                                        "type": "integer",
                                                        "description": "Class ID #"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Class name"
                                                    },
                                                    "accounting_sku": {
                                                        "type": "string",
                                                        "description": "Accounting system SKU"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "class_id": 4,
                                                    "name": "KMT-20",
                                                    "accounting_sku": "KMT-20"
                                                },
                                                {
                                                    "class_id": 8,
                                                    "name": "PREM-BRZ",
                                                    "accounting_sku": "PREM-03"
                                                },
                                                {
                                                    "class_id": 6,
                                                    "name": "PREM-GLD",
                                                    "accounting_sku": "PREM-01"
                                                },
                                                {
                                                    "class_id": 7,
                                                    "name": "PREM-SLVR",
                                                    "accounting_sku": "PREM-02"
                                                },
                                                {
                                                    "class_id": 9,
                                                    "name": "QT",
                                                    "accounting_sku": "QT-01"
                                                },
                                                {
                                                    "class_id": 3,
                                                    "name": "TBT-03",
                                                    "accounting_sku": "TBT-03"
                                                },
                                                {
                                                    "class_id": 5,
                                                    "name": "TBT-05",
                                                    "accounting_sku": "TBT-05"
                                                },
                                                {
                                                    "class_id": 1,
                                                    "name": "Test -UGG-01",
                                                    "accounting_sku": "UGG-01"
                                                },
                                                {
                                                    "class_id": 2,
                                                    "name": "VRG-02",
                                                    "accounting_sku": "VRG-02"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/class\/{class_id}": {
            "get": {
                "summary": "Retrieve a specific class",
                "description": "Allows you to retrieve a specific class based on its class_id.",
                "externalDocs": {
                    "description": "Retrieve a specific class",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-class"
                },
                "tags": [
                    "classes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "class_id": {
                                                    "type": "integer",
                                                    "description": "Class ID #"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Class name"
                                                },
                                                "accounting_sku": {
                                                    "type": "string",
                                                    "description": "Accounting system SKU"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "class_id": 1,
                                                "name": "Test -UGG-01",
                                                "accounting_sku": "UGG-01"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/country": {
            "get": {
                "summary": "Retrieve country list",
                "description": "",
                "externalDocs": {
                    "description": "Retrieve country list",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-country"
                },
                "tags": [
                    "countries"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": []
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "country_id": 16,
                                                    "name": "Australia",
                                                    "iso2": "AU",
                                                    "iso3": "AUS",
                                                    "cctld": ".au"
                                                },
                                                {
                                                    "country_id": 2,
                                                    "name": "Aland Islands",
                                                    "iso2": "AX",
                                                    "iso3": "ALA",
                                                    "cctld": ".ax"
                                                },
                                                {
                                                    "country_id": 42,
                                                    "name": "Canada",
                                                    "iso2": "CA",
                                                    "iso3": "CAN",
                                                    "cctld": ".ca"
                                                },
                                                {
                                                    "country_id": 243,
                                                    "name": "United States",
                                                    "iso2": "US",
                                                    "iso3": "USA",
                                                    "cctld": ".us"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/coupon": {
            "get": {
                "summary": "Retrieve a list of coupons",
                "description": "",
                "externalDocs": {
                    "description": "Retrieve a list of coupons",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-coupon"
                },
                "tags": [
                    "coupons"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "coupon_id": {
                                                        "type": "integer",
                                                        "description": "The coupon ID #"
                                                    },
                                                    "code": {
                                                        "type": "string",
                                                        "description": "Coupon code"
                                                    },
                                                    "descrip": {
                                                        "type": "string",
                                                        "description": "Description"
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Coupon type"
                                                    },
                                                    "discount_item_id": {
                                                        "type": "integer",
                                                        "description": "Item ID # or related discount (if applicable)"
                                                    },
                                                    "enabled": {
                                                        "type": "boolean",
                                                        "description": "Enabled\/disabled"
                                                    },
                                                    "discount": {
                                                        "type": "array",
                                                        "description": "Discount details"
                                                    },
                                                    "freetrial": {
                                                        "type": "array",
                                                        "description": "Free trial details"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the coupon was created"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string",
                                                        "description": "IP address that created the coupon"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "coupon_id": 1,
                                                    "code": "TEST",
                                                    "descrip": "t",
                                                    "type": "give-a-discount",
                                                    "enabled": true,
                                                    "write_datetime": "2021-05-25 08:23:05",
                                                    "write_ipaddr": "172.19.0.1",
                                                    "discount_item_id": 673
                                                },
                                                {
                                                    "coupon_id": 2,
                                                    "code": "Coupon 2",
                                                    "descrip": "test",
                                                    "type": "give-a-discount",
                                                    "enabled": true,
                                                    "write_datetime": "2022-02-15 13:47:43",
                                                    "write_ipaddr": "172.23.0.1",
                                                    "discount_item_id": 1153
                                                },
                                                {
                                                    "coupon_id": 3,
                                                    "code": "Coupon 3",
                                                    "descrip": "tset",
                                                    "type": "free-trial",
                                                    "enabled": true,
                                                    "write_datetime": "2022-02-15 13:47:55",
                                                    "write_ipaddr": "172.23.0.1",
                                                    "discount_item_id": null
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/coupon\/{coupon_id}": {
            "get": {
                "summary": "Retrieve a specific coupon",
                "description": "Allows you to retrieve a specific coupon based on its coupon_id.",
                "externalDocs": {
                    "description": "Retrieve a specific coupon",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-coupon"
                },
                "tags": [
                    "coupons"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "coupon_id": {
                                                    "type": "integer",
                                                    "description": "The coupon ID #"
                                                },
                                                "code": {
                                                    "type": "string",
                                                    "description": "Coupon code"
                                                },
                                                "descrip": {
                                                    "type": "string",
                                                    "description": "Description"
                                                },
                                                "type": {
                                                    "type": "string",
                                                    "description": "Coupon type"
                                                },
                                                "discount_item_id": {
                                                    "type": "integer",
                                                    "description": "Item ID # or related discount (if applicable)"
                                                },
                                                "enabled": {
                                                    "type": "boolean",
                                                    "description": "Enabled\/disabled"
                                                },
                                                "discount": {
                                                    "type": "array",
                                                    "description": "Discount details"
                                                },
                                                "freetrial": {
                                                    "type": "array",
                                                    "description": "Free trial details"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "description": "Date\/time the coupon was created"
                                                },
                                                "write_ipaddr": {
                                                    "type": "string",
                                                    "description": "IP address that created the coupon"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "coupon_id": 1,
                                                "code": "ABC123",
                                                "descrip": "10% off your next purchase",
                                                "type": "give-a-discount",
                                                "enabled": true,
                                                "write_datetime": "2021-05-25 08:23:05",
                                                "write_ipaddr": "172.19.0.1",
                                                "discount_item_id": 673
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/currency": {
            "get": {
                "summary": "List currencies",
                "description": "",
                "externalDocs": {
                    "description": "List currencies",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-currency"
                },
                "tags": [
                    "currencies"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "currency_id": {
                                                        "type": "integer",
                                                        "description": "Currency ID #"
                                                    },
                                                    "currency": {
                                                        "type": "string",
                                                        "description": "Deprecated"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Currency name"
                                                    },
                                                    "iso4217": {
                                                        "type": "string",
                                                        "description": "ISO 4217 currency code"
                                                    },
                                                    "symbol": {
                                                        "type": "string",
                                                        "description": "Currency symbol"
                                                    },
                                                    "rounding": {
                                                        "type": "integer",
                                                        "description": "Number of decimal places to round currency fractions to"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "currency_id": 1,
                                                    "currency": "United States dollar",
                                                    "iso4217": "USD",
                                                    "symbol": "$",
                                                    "rounding": "2"
                                                },
                                                {
                                                    "currency_id": 2,
                                                    "currency": "Canadian dollar",
                                                    "iso4217": "CAD",
                                                    "symbol": "CAD$",
                                                    "rounding": "2"
                                                },
                                                {
                                                    "currency_id": 3,
                                                    "currency": "Pound sterling",
                                                    "iso4217": "GBP",
                                                    "symbol": "\u00c2\u00a3",
                                                    "rounding": "2"
                                                },
                                                {
                                                    "currency_id": 4,
                                                    "currency": "Euro",
                                                    "iso4217": "EUR",
                                                    "symbol": "\u00e2\u201a\u00ac",
                                                    "rounding": "2"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/currency\/_action\/setExchangeRate": {
            "post": {
                "summary": "Set an exchange rate",
                "description": "<p>\n\tBy default, ChargeOver will <strong>automatically<\/strong> set the exchange rate between currencies for you each day. \n<\/p>\n<p>\n\tYou only need to manually set the exchange rate if you want to <i>override<\/i> the exchange rate that ChargeOver updates automatically every day.\n<\/p>\n\n\n",
                "externalDocs": {
                    "description": "Set an exchange rate",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#set-currency-exchange-rate"
                },
                "tags": [
                    "currencies"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "from": {
                                        "type": "string"
                                    },
                                    "to": {
                                        "type": "string"
                                    },
                                    "exchange": {
                                        "type": "number"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "from": "USD",
                                        "to": "CAD",
                                        "exchange": 1.45
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/currency\/_action\/getExchangeRate": {
            "post": {
                "summary": "Get an exchange rate",
                "description": "Allows you to see what the exchange rate is between two currencies in ChargeOver.",
                "externalDocs": {
                    "description": "Get an exchange rate",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-currency-exchange-rate"
                },
                "tags": [
                    "currencies"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "from": {
                                        "type": "string"
                                    },
                                    "to": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "from": "USD",
                                        "to": "CAD"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/language": {
            "get": {
                "summary": "List languages",
                "description": "",
                "externalDocs": {
                    "description": "List languages",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-language"
                },
                "tags": [
                    "languages"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "language_id": {
                                                        "type": "integer",
                                                        "description": "Language ID #"
                                                    },
                                                    "language": {
                                                        "type": "string",
                                                        "description": "Language"
                                                    },
                                                    "iso639": {
                                                        "type": "string",
                                                        "description": "ISO 639 code"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "language_id": 1,
                                                    "language": "English",
                                                    "iso639": "en"
                                                },
                                                {
                                                    "language_id": 31,
                                                    "language": "Chinese",
                                                    "iso639": "zh"
                                                },
                                                {
                                                    "language_id": 49,
                                                    "language": "French",
                                                    "iso639": "fr"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/terms": {
            "get": {
                "summary": "List terms",
                "description": "",
                "externalDocs": {
                    "description": "List terms",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-terms"
                },
                "tags": [
                    "terms"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "terms_id": {
                                                        "type": "integer",
                                                        "description": "Terms ID number"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Terms name"
                                                    },
                                                    "days": {
                                                        "type": "integer",
                                                        "description": "Number of days"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "terms_id": 3,
                                                    "name": "Due on Receipt",
                                                    "days": 0
                                                },
                                                {
                                                    "terms_id": 1,
                                                    "name": "Net 15",
                                                    "days": 15
                                                },
                                                {
                                                    "terms_id": 2,
                                                    "name": "Net 30",
                                                    "days": 30
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/note": {
            "post": {
                "summary": "Create a note",
                "description": "",
                "externalDocs": {
                    "description": "Create a note",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#create_note"
                },
                "tags": [
                    "notes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "note": {
                                        "type": "string",
                                        "description": "Note text"
                                    },
                                    "context_str": {
                                        "type": "string",
                                        "description": "The type of object the note is attached to"
                                    },
                                    "context_id": {
                                        "type": "string",
                                        "description": "The object ID # the note is attached to"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "note": "Here is my test note",
                                        "context_str": "customer",
                                        "context_id": 328
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "get": {
                "summary": "Querying for notes",
                "description": "Available query parameter values for filtering:\r\n<ul>\r\n\t<li>context_str (this should be one of: customer, billing_package, invoice, user, quote, item)<\/li>\r\n\t<li>context_id<\/li>\r\n<\/ul>\r\n",
                "externalDocs": {
                    "description": "Querying for notes",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query_note"
                },
                "tags": [
                    "notes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "context_str:EQUALS:customer"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "context_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "note_id": {
                                                        "type": "integer",
                                                        "description": "Note ID #"
                                                    },
                                                    "user_id": {
                                                        "type": "integer",
                                                        "description": "User ID #"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer",
                                                        "description": "Admin ID #"
                                                    },
                                                    "note": {
                                                        "type": "string",
                                                        "description": "Note text"
                                                    },
                                                    "note_is_pinned": {
                                                        "type": "boolean",
                                                        "description": "Whether or not the note was pinned"
                                                    },
                                                    "context_str": {
                                                        "type": "string",
                                                        "description": "The type of object the note is attached to"
                                                    },
                                                    "context_id": {
                                                        "type": "string",
                                                        "description": "The object ID # the note is attached to"
                                                    },
                                                    "note_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the note was created"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "note_id": 3,
                                                    "user_id": null,
                                                    "admin_id": 1,
                                                    "note_is_pinned": false,
                                                    "note_datetime": "2024-02-16 07:46:58",
                                                    "note": "Customer agreed to upgrade to PRO plan.",
                                                    "context_str": "customer",
                                                    "context_id": 265
                                                },
                                                {
                                                    "note_id": 4,
                                                    "user_id": null,
                                                    "admin_id": 1,
                                                    "note_is_pinned": false,
                                                    "note_datetime": "2024-02-16 07:47:14",
                                                    "note": "Customer requested billing date be changed from 14th of the month to 12th of the month; credit issues.",
                                                    "context_str": "customer",
                                                    "context_id": 265
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/note\/{note_id}": {
            "delete": {
                "summary": "Delete a note",
                "description": "",
                "externalDocs": {
                    "description": "Delete a note",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#delete_note"
                },
                "tags": [
                    "notes"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/admin": {
            "get": {
                "summary": "Query for admin workers",
                "description": "Valid query parameters:\n<ul>\n\t<li>admin_id<\/li>\n\t<li>external_key<\/li>\n\t<li>email<\/li>\n\t<li>first_name<\/li>\n\t<li>last_name<\/li>\n<\/ul>",
                "externalDocs": {
                    "description": "Query for admin workers",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#query-admins"
                },
                "tags": [
                    "admins"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "first_name:EQUALS:jane"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "admin_id:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "admin_id": {
                                                        "type": "integer",
                                                        "description": "Admin ID #"
                                                    },
                                                    "username": {
                                                        "type": "string",
                                                        "description": "Username"
                                                    },
                                                    "external_key": {
                                                        "type": "string",
                                                        "description": "External key value"
                                                    },
                                                    "timezone": {
                                                        "type": "string",
                                                        "description": "Timezone"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Full name"
                                                    },
                                                    "first_name": {
                                                        "type": "string",
                                                        "description": "First Name"
                                                    },
                                                    "last_name": {
                                                        "type": "string",
                                                        "description": "Last Name"
                                                    },
                                                    "initials": {
                                                        "type": "string",
                                                        "description": "Initials"
                                                    },
                                                    "nickname": {
                                                        "type": "string",
                                                        "description": "Nickname"
                                                    },
                                                    "email": {
                                                        "type": "string",
                                                        "description": "Email address"
                                                    },
                                                    "twitter": {
                                                        "type": "string",
                                                        "description": "Twitter URL"
                                                    },
                                                    "facebook": {
                                                        "type": "string",
                                                        "description": "Facebook URL"
                                                    },
                                                    "linkedin": {
                                                        "type": "string",
                                                        "description": "LinkedIn URL"
                                                    },
                                                    "login_count": {
                                                        "type": "string",
                                                        "description": "The # of times the worker has logged in"
                                                    },
                                                    "login_datetime": {
                                                        "type": "string",
                                                        "description": "Last logged in"
                                                    },
                                                    "custom_1": {
                                                        "type": "string",
                                                        "description": "Custom field value #1"
                                                    },
                                                    "custom_2": {
                                                        "type": "string",
                                                        "description": "Custom field value #2"
                                                    },
                                                    "custom_3": {
                                                        "type": "string",
                                                        "description": "Custom field value #3"
                                                    },
                                                    "custom_4": {
                                                        "type": "string",
                                                        "description": "Custom field value #4"
                                                    },
                                                    "custom_5": {
                                                        "type": "string",
                                                        "description": "Custom field value #5"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Date\/time the admin was created"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "format": "date",
                                                        "description": "Date\/time the admin was modified"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "admin_id": 10,
                                                    "external_key": null,
                                                    "timezone": "America\/Detroit",
                                                    "first_name": "Keith",
                                                    "last_name": "Palmer",
                                                    "initials": null,
                                                    "email": "noreply@chargeover.com",
                                                    "login_datetime": "2015-03-03 22:04:38",
                                                    "write_datetime": "2015-03-03 22:02:37",
                                                    "mod_datetime": "2015-03-03 22:04:36",
                                                    "name": "Keith Palmer",
                                                    "username": "noreply@chargeover.com"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/admin\/{admin_id}": {
            "get": {
                "summary": "Get a specific admin worker",
                "description": "Get an admin by admin_id.",
                "externalDocs": {
                    "description": "Get a specific admin worker",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#get-admin"
                },
                "tags": [
                    "admins"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "admin_id": {
                                                    "type": "integer",
                                                    "description": "Admin ID #"
                                                },
                                                "username": {
                                                    "type": "string",
                                                    "description": "Username"
                                                },
                                                "external_key": {
                                                    "type": "string",
                                                    "description": "External key value"
                                                },
                                                "timezone": {
                                                    "type": "string",
                                                    "description": "Timezone"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Full name"
                                                },
                                                "first_name": {
                                                    "type": "string",
                                                    "description": "First Name"
                                                },
                                                "last_name": {
                                                    "type": "string",
                                                    "description": "Last Name"
                                                },
                                                "initials": {
                                                    "type": "string",
                                                    "description": "Initials"
                                                },
                                                "nickname": {
                                                    "type": "string",
                                                    "description": "Nickname"
                                                },
                                                "email": {
                                                    "type": "string",
                                                    "description": "Email address"
                                                },
                                                "twitter": {
                                                    "type": "string",
                                                    "description": "Twitter URL"
                                                },
                                                "facebook": {
                                                    "type": "string",
                                                    "description": "Facebook URL"
                                                },
                                                "linkedin": {
                                                    "type": "string",
                                                    "description": "LinkedIn URL"
                                                },
                                                "login_count": {
                                                    "type": "string",
                                                    "description": "The # of times the worker has logged in"
                                                },
                                                "login_datetime": {
                                                    "type": "string",
                                                    "description": "Last logged in"
                                                },
                                                "custom_1": {
                                                    "type": "string",
                                                    "description": "Custom field value #1"
                                                },
                                                "custom_2": {
                                                    "type": "string",
                                                    "description": "Custom field value #2"
                                                },
                                                "custom_3": {
                                                    "type": "string",
                                                    "description": "Custom field value #3"
                                                },
                                                "custom_4": {
                                                    "type": "string",
                                                    "description": "Custom field value #4"
                                                },
                                                "custom_5": {
                                                    "type": "string",
                                                    "description": "Custom field value #5"
                                                },
                                                "write_datetime": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Date\/time the admin was created"
                                                },
                                                "mod_datetime": {
                                                    "type": "string",
                                                    "format": "date",
                                                    "description": "Date\/time the admin was modified"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": {
                                                "admin_id": 10,
                                                "external_key": null,
                                                "timezone": "America\/Detroit",
                                                "first_name": "Keith",
                                                "last_name": "Palmer",
                                                "initials": null,
                                                "email": "noreply@chargeover.com",
                                                "login_datetime": "2015-03-03 22:04:38",
                                                "write_datetime": "2015-03-03 22:02:37",
                                                "mod_datetime": "2015-03-03 22:04:36",
                                                "name": "Keith Palmer",
                                                "username": "noreply@chargeover.com"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_chargeoverjs": {
            "get": {
                "summary": "Get a list of pending requests",
                "description": "<p>\r\n\tGet a list of pending ChargeOver.js requests. \r\n<\/p>\r\n<p>\r\n\tEach object will contain a JSON-encoded payload of data submitted via ChargeOver.js. \r\n<\/p>",
                "externalDocs": {
                    "description": "Get a list of pending requests",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-chargeoverjs"
                },
                "tags": [
                    "chargeoverjs"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "chargeoverjs_id": {
                                                        "type": "integer",
                                                        "description": "Store ID #"
                                                    },
                                                    "token": {
                                                        "type": "string",
                                                        "description": "ChargeOver.js token"
                                                    },
                                                    "action": {
                                                        "type": "string",
                                                        "description": "ChargeOver.js action"
                                                    },
                                                    "payload": {
                                                        "type": "string",
                                                        "description": "ChargeOver.js payload"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "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
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "Commit or reject a ChargeOver.js request",
                "description": "Commit or reject a pending ChargeOver.js request.\n<p>\n\tNotes:\n\t<ul>\n\t\t<li>\n\t\t\tCommitting a pending ChargeOver.js requests means to actually accept and write the data to ChargeOver.\n\t\t<\/li>\n\t\t<li>\n\t\t\tRejecting a pending ChargeOver.js request means to discard\/do not process the ChargeOver.js request.\n\t\t<\/li>\n\t<\/ul>\n<\/p>\n",
                "externalDocs": {
                    "description": "Commit or reject a ChargeOver.js request",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#commit-reject-chargeoverjs"
                },
                "tags": [
                    "chargeoverjs"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "commit": {
                                        "type": "string"
                                    },
                                    "reject": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Commit a ChargeOver.js request": {
                                    "value": {
                                        "commit": "9w5jdiqz1pf7h8ga"
                                    }
                                },
                                "Reject a ChargeOver.js request": {
                                    "value": {
                                        "reject": "6m4npbichesodlur"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_customfield": {
            "get": {
                "summary": "List custom fields",
                "description": "<p>\n\tPossible values for <code>type<\/code>:\n<\/p>\n<ul>\n\t<li><code>string<\/code> - a single-line free-form text field<\/li>\n\t<li><code>select<\/code> - a dropdown\/select box offering a specific set of choices<\/li>\n\t<li><code>date<\/code> - a date<\/li>\n\t<li><code>number<\/code> - a number<\/li>\n<\/ul>\n\n<p>\n\tIf the type is <code>select<\/code>, available choices will be returned in <code>type_opts<\/code>.\n<\/p>\n\n<p>\n\tThe <code>field<\/code> attribute is the API field name you can use to populate custom field data onto an object.\n\tFor example, if <code>context_str=customer<\/code> and <code>field=custom_2<\/code> then when you create a customer via the REST\n\tAPI, you would send:\n<\/p>\n\n<code>\n\tPOST \/api\/v3\/customer\n\n\t{\n\t  \"company\": \"Sombra Corporation\",\n\t  \"custom_2\": \"The Dark Tower\"\n\t}\n<\/code>\n\n<br\/>\n<p>\n\tCustom fields are <i>not<\/i> required, so can be left out of API requests if you do not wish to provide a value.\n<\/p>\n",
                "externalDocs": {
                    "description": "List custom fields",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-customfield"
                },
                "tags": [
                    "customfields"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "customfield_id": {
                                                        "type": "integer",
                                                        "description": "Custom field ID #"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "description": "Name"
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Type"
                                                    },
                                                    "type_opts": {
                                                        "type": "array",
                                                        "description": "Type options (e.g. allowable dropdown values)"
                                                    },
                                                    "enabled": {
                                                        "type": "boolean",
                                                        "description": "Enabled\/disabled"
                                                    },
                                                    "context_str": {
                                                        "type": "string",
                                                        "description": "Context"
                                                    },
                                                    "field": {
                                                        "type": "string",
                                                        "description": "API field name"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "context_str": "customer",
                                                    "field": "custom_2",
                                                    "customfield_id": 417,
                                                    "name": "Favorite Book",
                                                    "enabled": true,
                                                    "type": "select",
                                                    "type_opts": [
                                                        "Snow Crash",
                                                        "Perdido Street Station",
                                                        "The Dark Tower",
                                                        "Other"
                                                    ]
                                                },
                                                {
                                                    "context_str": "quote",
                                                    "field": "custom_1",
                                                    "customfield_id": 418,
                                                    "name": "Favorite Color",
                                                    "enabled": true,
                                                    "type": "string",
                                                    "type_opts": null
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_resthook": {
            "get": {
                "summary": "Viewing your rest hooks",
                "description": "Returns a list of all your subscribed REST Hooks\n",
                "externalDocs": {
                    "description": "Viewing your rest hooks",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#fetch-resthook"
                },
                "tags": [
                    "resthooks"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": []
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "resthook_id": 1,
                                                    "target_url": "http:\/\/example.org\/your_webhook_url",
                                                    "event": "customer.insert"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "Subscribing",
                "description": "Subscribing is the process of telling ChargeOver to send webhooks to you whenever a specific event occurs (example: \"Send http:\/\/example.org\/my_webhook_url data whenever a customer is created.\").<br\/>\n<br\/>\nOnce you've subscribed, each time the event occurs within ChargeOver, ChargeOver will send an HTTP POST request to your URL with a JSON payload of the event data. <br\/>\n<br\/>\nPlease refer to our <a href=\"..\/webhooks\/\">webhooks documentation<\/a> to see the JSON payloads your webhook URL will receive.\n",
                "externalDocs": {
                    "description": "Subscribing",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#subscribe-resthook"
                },
                "tags": [
                    "resthooks"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "201": {
                        "description": "Object was created successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 201,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "id": 1234
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "target_url": {
                                        "type": "string",
                                        "description": "The subscription URL"
                                    },
                                    "event": {
                                        "type": "string",
                                        "description": "The event"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "target_url": "http:\/\/example.org\/your_webhook_url",
                                        "event": "customer.insert"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_resthook\/{resthook_id}": {
            "delete": {
                "summary": "Unsubscribing",
                "description": "Unsubscribing is the process of telling ChargeOver to stop sending webhooks to a specific URL. ",
                "externalDocs": {
                    "description": "Unsubscribing",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#unsubscribe-resthook"
                },
                "tags": [
                    "resthooks"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was deleted successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_integration_map": {
            "get": {
                "summary": "Query for map values",
                "description": "Query for a list of mapped values (e.g. which Salesforce record corresponds to this ChargeOver record?)",
                "externalDocs": {
                    "description": "Query for map values",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#where-integration_map"
                },
                "tags": [
                    "integrations"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [
                    {
                        "in": "query",
                        "name": "where",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "integration:EQUALS:qbonline"
                    },
                    {
                        "in": "query",
                        "name": "order",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "integration:ASC"
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "2"
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "schema": {
                            "type": "string"
                        },
                        "required": false,
                        "description": "8"
                    }
                ],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": []
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": null
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_integration_map\/_action\/addMap": {
            "post": {
                "summary": "Add a map record",
                "description": "Add a map record (e.g. map a specific Salesforce record to a specific ChargeOver record)",
                "externalDocs": {
                    "description": "Add a map record",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#map-integration_map"
                },
                "tags": [
                    "integrations"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "integration": {
                                        "type": "string"
                                    },
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "integration_guid": {
                                        "type": "string"
                                    }
                                },
                                "required": []
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "integration": "salesforce",
                                        "context_str": "customer",
                                        "context_id": 3760,
                                        "integration_guid": "5003000000D8cuI"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_log_system": {
            "get": {
                "summary": "Retrieve the system log",
                "description": "Retrieve a list of log entries.",
                "externalDocs": {
                    "description": "Retrieve the system log",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#list-syslog"
                },
                "tags": [
                    "systemlog"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "log_id": {
                                                        "type": "integer",
                                                        "description": "Log ID #"
                                                    },
                                                    "msg": {
                                                        "type": "string",
                                                        "description": "Log Message"
                                                    },
                                                    "log_datetime": {
                                                        "type": "string",
                                                        "description": "Date\/time the log entry was recorded"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "response": [
                                                {
                                                    "log_id": 1,
                                                    "msg": "Webhook 2: http:\/\/www.example.com\/tasdgadg.php returned a non-200 OK response: 301",
                                                    "log_datetime": "2015-10-31 15:02:47"
                                                },
                                                {
                                                    "log_id": 2,
                                                    "msg": "Webhook 2: http:\/\/www.example.com\/tasdgadg.php returned a non-200 OK response: 301",
                                                    "log_datetime": "2015-10-31 15:02:48"
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_report": {
            "get": {
                "summary": "Get a List of Reports",
                "description": "Allows you to get a list of <i><b>all<\/b><\/i> reports with each report's <code>name<\/code> and <code>report_id<\/code> number.",
                "externalDocs": {
                    "description": "Get a List of Reports",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-report-list"
                },
                "tags": [
                    "reporting"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "transaction_transaction_date:GTE:{date}": {
                                                        "type": "string",
                                                        "description": "transaction_transaction_date:LTE:2017-10-11"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": [
                                                {
                                                    "name": "Open Customer Balances",
                                                    "report_id": 3
                                                },
                                                {
                                                    "name": "All Customer Balances",
                                                    "report_id": 4
                                                },
                                                {
                                                    "name": "Credits",
                                                    "report_id": 6
                                                },
                                                {
                                                    "name": "Failed Payments",
                                                    "report_id": 7
                                                }
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_report\/{report_id}": {
            "get": {
                "summary": "Get a Specific Report",
                "description": "Get a specific report for more details on the available filters and columns in the report.\n",
                "externalDocs": {
                    "description": "Get a Specific Report",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-report-get"
                },
                "tags": [
                    "reporting"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Object not found",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean",
                                            "nullable": true
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 404,
                                            "status": "Error",
                                            "message": "This object does not exist.",
                                            "details": {},
                                            "response": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Object was fetched successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "object",
                                            "properties": []
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": {
                                                "name": "Example Report Name",
                                                "report_id": 141,
                                                "available_filters": {
                                                    "invoice_invoice_date": {
                                                        "ops": [
                                                            "GTE",
                                                            "LTE"
                                                        ]
                                                    },
                                                    "customer_customer_id": {
                                                        "ops": [
                                                            "EQUALS"
                                                        ]
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/v3\/_report\/{report_id}\/_action\/reportData": {
            "post": {
                "summary": "Run a report \/ report data",
                "description": "<p>You can also get the data from a specific report via the API by using the report's <code>report_id<\/code>.<\/p>\n\n\n<p><b>Ordering and limiting report data:<\/b><\/p>\n<p>It is possible to order or to limit the results you get back from the report if desired. For example, if you wanted to view the \"All Customers\" report with the list of customers in ascending order based off of customer_id, you could use:<\/p>\n\n<p><code>\/api\/v3\/_report\/37?action=reportData&order=customer_customer_id:ASC<\/code><\/p>\n\n<p>There are two parameters used for limiting the data that is returned: <code>offset<\/code> and <code>limit<\/code>.<\/p>\n\n<p><code>offset<\/code> determines how far into the report the data is returned from. For example, if you are calling for the \"All Customers\" report and have ten customers ranging from customer_id=1 and customer_id=10 and <code>offset=0<\/code> then the returned report will start with the customer whose customer_id = 1. However, if the <code>offset=3<\/code> then the report data that is returned will start with the customer who has a customer_id = 4. <\/p>\n\n<p>Note: If you request an <code>offset<\/code> you <b>MUST<\/b> also specify an <code>order<\/code> with <code>ASC<\/code> for ascending or <code>DESC<\/code> for descending.<\/p>\n\n<p><code>limit<\/code> determines the number of objects returned from the report. For example if <code>limit=5<\/code> for the \"All Customers\" report, you would get back the data for no more than five customers in the report. The maximum page size for report data is 1000. <\/p>\n\n<p>One last example:<\/p>\n\n<p><code>\/api\/v3\/_report\/37?action=reportData&offset=10&limit=50&order=customer_customer_id:ASC<\/code><\/p>\n\n<p>If you used the above API call you would get back no more than 50 objects from the report, starting with the 10th object in the report.<\/p>\n\n\n\n",
                "externalDocs": {
                    "description": "Run a report \/ report data",
                    "url": "https:\/\/developer.chargeover.com\/apidocs\/rest\/#example-report-data"
                },
                "tags": [
                    "reporting"
                ],
                "security": [
                    {
                        "basic": []
                    }
                ],
                "parameters": [],
                "responses": {
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 400,
                                            "status": "Error",
                                            "message": "Missing or invalid parameter.",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Authentication error",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 401,
                                            "status": "Error",
                                            "message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
                                            "details": {},
                                            "response": false
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "Action completed successfully",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "code": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "message": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "details": {
                                            "type": "object",
                                            "nullable": true
                                        },
                                        "response": {
                                            "type": "boolean"
                                        }
                                    }
                                },
                                "examples": {
                                    "Example 1": {
                                        "value": {
                                            "code": 200,
                                            "status": "OK",
                                            "message": "",
                                            "details": {},
                                            "response": true
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "example": [
                                    "transaction_transaction_date:GTE:{date}",
                                    "transaction_transaction_date:LTE:{date}"
                                ]
                            },
                            "examples": {
                                "Example 1": {
                                    "value": [
                                        "transaction_transaction_date:GTE:2017-09-11",
                                        "transaction_transaction_date:LTE:2017-10-11"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "x-webhooks": {
        "customer-insert": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a new customer is created.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = customer<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the new customer)<\/li>\r\n\t<li><code>event = insert<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A customer is created",
                "operationId": "customer-insert",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": 160,
                                        "event": "insert",
                                        "data": {
                                            "customer": {
                                                "superuser_id": 370,
                                                "external_key": null,
                                                "token": "lrqtxpimw5vo",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "Suite D",
                                                "bill_addr3": null,
                                                "bill_city": "Mt Pleasant",
                                                "bill_state": "MI",
                                                "bill_postcode": "48858",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "currency_id": 1,
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "write_ipaddr": "172.16.4.176",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "mod_ipaddr": "172.16.4.176",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/signup\/r\/paymethod\/i\/lrqtxpimw5vo",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nSuite D\nMt Pleasant MI 48858\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "860-634-1602",
                                                "superuser_email": "johndoe@chargeover.com",
                                                "customer_id": 160
                                            },
                                            "user": {
                                                "user_id": 370,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "johndoe@chargeover.com",
                                                "phone": "860-634-1602",
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "username": "johndoe@chargeover.com"
                                            }
                                        },
                                        "security_token": "Ma4hWVUNLx0O5zfmJSjQ3AgwpRdY7qu1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "customer-update": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an existing customer is updated (e.g. the name or address is changed, etc.).\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = customer<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the customer)<\/li>\r\n\t<li><code>event = update<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A customer is updated",
                "operationId": "customer-update",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": "8",
                                        "event": "update",
                                        "data": {
                                            "customer": {
                                                "superuser_id": 354,
                                                "external_key": null,
                                                "token": "2ygprd9569t4",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "20 Test Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "State",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 4,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-15 14:22:01",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 45",
                                                "terms_days": 45,
                                                "paid": 10.95,
                                                "total": 82.85,
                                                "balance": 71.9,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/2ygprd9569t4",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/8",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "20 Test Street\nCity State\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "john@example.com",
                                                "superuser_token": "4e7t9r5a03fv",
                                                "customer_id": 8,
                                                "invoice_delivery": "print",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "john@example.com"
                                            },
                                            "user": {
                                                "user_id": 354,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "john@example.com",
                                                "token": "4e7t9r5a03fv",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "mod_datetime": "2017-06-08 15:39:59",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/354",
                                                "user_type_name": "Billing",
                                                "username": "john@example.com",
                                                "customer_id": 8
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "customer-join": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a new contact\/user is attached to a customer.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = customer<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the customer)<\/li>\r\n\t<li><code>event = join<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A contact is added to the customer",
                "operationId": "customer-join",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "user_id": {
                                                "type": "integer",
                                                "nullable": true
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": 160,
                                        "event": "join",
                                        "data": {
                                            "user_id": null,
                                            "customer": {
                                                "superuser_id": 370,
                                                "external_key": null,
                                                "token": "lrqtxpimw5vo",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "Suite D",
                                                "bill_addr3": null,
                                                "bill_city": "Mt Pleasant",
                                                "bill_state": "MI",
                                                "bill_postcode": "48858",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "currency_id": 1,
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "write_ipaddr": "172.16.4.176",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "mod_ipaddr": "172.16.4.176",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/signup\/r\/paymethod\/i\/lrqtxpimw5vo",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nSuite D\nMt Pleasant MI 48858\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "860-634-1602",
                                                "superuser_email": "johndoe@chargeover.com",
                                                "customer_id": 160
                                            },
                                            "user": {
                                                "user_id": 370,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "johndoe@chargeover.com",
                                                "phone": "860-634-1602",
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "username": "johndoe@chargeover.com"
                                            }
                                        },
                                        "security_token": "Ma4hWVUNLx0O5zfmJSjQ3AgwpRdY7qu1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "customer-super": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when the main contact for a customer changes.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = customer<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the customer)<\/li>\r\n\t<li><code>event = super<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "The main contact is changed",
                "operationId": "customer-super",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "user_id": {
                                                "type": "integer",
                                                "nullable": true
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": 160,
                                        "event": "super",
                                        "data": {
                                            "user_id": null,
                                            "customer": {
                                                "superuser_id": 370,
                                                "external_key": null,
                                                "token": "lrqtxpimw5vo",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "Suite D",
                                                "bill_addr3": null,
                                                "bill_city": "Mt Pleasant",
                                                "bill_state": "MI",
                                                "bill_postcode": "48858",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "currency_id": 1,
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "write_ipaddr": "172.16.4.176",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "mod_ipaddr": "172.16.4.176",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/signup\/r\/paymethod\/i\/lrqtxpimw5vo",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nSuite D\nMt Pleasant MI 48858\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "860-634-1602",
                                                "superuser_email": "johndoe@chargeover.com",
                                                "customer_id": 160
                                            },
                                            "user": {
                                                "user_id": 370,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "johndoe@chargeover.com",
                                                "phone": "860-634-1602",
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "username": "johndoe@chargeover.com"
                                            }
                                        },
                                        "security_token": "Ma4hWVUNLx0O5zfmJSjQ3AgwpRdY7qu1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "customer-delete": {
            "post": {
                "description": "<p>\n\tThis event occurs when an existing customer is deleted.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = customer<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the customer)<\/li>\n\t<li><code>event = delete<\/code><\/li>\n<\/ul>\n\n",
                "summary": "A customer is deleted",
                "operationId": "customer-delete",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": "11",
                                        "event": "delete",
                                        "data": {
                                            "customer": {
                                                "superuser_id": 358,
                                                "external_key": null,
                                                "token": "fhejv4mux605",
                                                "company": "Notable & Co., LLC",
                                                "bill_addr1": "123 Main Street",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Mt. Pleasant",
                                                "bill_state": "MI",
                                                "bill_postcode": "48858",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2015-03-13 20:03:49",
                                                "write_ipaddr": "::1",
                                                "mod_datetime": "2015-03-13 20:03:49",
                                                "mod_ipaddr": "::1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/fhejv4mux605",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Notable & Co., LLC",
                                                "ship_block": "",
                                                "bill_block": "123 Main Street\r\nMt. Pleasant MI 48858\r\nUnited States",
                                                "superuser_name": "Jon Doe",
                                                "superuser_first_name": "Jon",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "jondoe@chargeover.com",
                                                "customer_id": 11
                                            },
                                            "user": {
                                                "user_id": 358,
                                                "external_key": null,
                                                "first_name": "Jon",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "jondoe@chargeover.com",
                                                "token": "16czoktfpnm3",
                                                "phone": "",
                                                "write_datetime": "2015-03-13 20:03:49",
                                                "mod_datetime": "2015-03-13 20:03:49",
                                                "name": "Jon Doe",
                                                "display_as": "Jon Doe",
                                                "username": "jondoe@chargeover.com"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "customer-nightly": {
            "post": {
                "description": "<p>\r\n\tThis is an event that is kicked off nightly for each customer.\r\n<\/p>\r\n<p>\r\n    This event only occurs for customer who have had an active subscription, an invoice, a transaction (payment, refund, etc.), or quote within the last 90 days. Customers with no recent activity will not fire this event.\r\n<\/p>\r\n<p>\r\n\tInternally, this event is used for updating caches, consistency checks, scheduled events for customers, etc. <br\/>\r\n\tExternally, you can choose to hook into this event and use it for whatever you would like.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = customer<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the customer)<\/li>\r\n\t<li><code>event = nightly<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "The nightly event occurs",
                "operationId": "customer-nightly",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": "38",
                                        "event": "nightly",
                                        "data": {
                                            "customer": {
                                                "superuser_id": 387,
                                                "external_key": null,
                                                "token": "y10e3vbl3o9a",
                                                "company": "Karli Marie ",
                                                "bill_addr1": "56 Greene Avenue ",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "New Haven",
                                                "bill_state": "CT ",
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-02-23 13:01:53",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-02-23 13:01:53",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1996,
                                                "total": 2096,
                                                "balance": 100,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/y10e3vbl3o9a",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/y10e3vbl3o9a",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/38",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Karli Marie ",
                                                "ship_block": "",
                                                "bill_block": "56 Greene Avenue \nNew Haven CT\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": null,
                                                "superuser_email": "karli@example.com",
                                                "superuser_token": "44yzf79u168x",
                                                "customer_id": 38,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "karli@example.com"
                                            },
                                            "user": {
                                                "user_id": 387,
                                                "external_key": null,
                                                "first_name": "Karli",
                                                "middle_name_glob": null,
                                                "last_name": "Marie",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": "karli@example.com",
                                                "token": "44yzf79u168x",
                                                "phone": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2018-02-23 13:01:53",
                                                "mod_datetime": "2018-02-23 13:01:53",
                                                "name": "Karli Marie",
                                                "display_as": "Karli Marie",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/387",
                                                "user_type_name": "Billing",
                                                "username": "karli@example.com",
                                                "customer_id": 38
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "customer-status": {
            "post": {
                "description": "<p>\n\tThis is an event that is kicked off when a customers status has changed.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = customer<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>customer_id<\/code> of the customer)<\/li>\n\t<li><code>event = status<\/code><\/li>\n<\/ul>\n\n",
                "summary": "A customer status has changed",
                "operationId": "customer-status",
                "tags": [
                    "customers"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "customer",
                                        "context_id": "38",
                                        "event": "status",
                                        "data": {
                                            "customer": {
                                                "superuser_id": 387,
                                                "external_key": null,
                                                "token": "y10e3vbl3o9a",
                                                "company": "Karli Marie ",
                                                "bill_addr1": "56 Greene Avenue ",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "New Haven",
                                                "bill_state": "CT ",
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "custtype_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-02-23 13:01:53",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-02-23 13:01:53",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1996,
                                                "total": 2096,
                                                "balance": 100,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/y10e3vbl3o9a",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/y10e3vbl3o9a",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/38",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "custtype_name": "",
                                                "display_as": "Karli Marie ",
                                                "ship_block": "",
                                                "bill_block": "56 Greene Avenue \nNew Haven CT\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": null,
                                                "superuser_email": "karli@example.com",
                                                "superuser_token": "44yzf79u168x",
                                                "customer_id": 38,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "karli@example.com"
                                            },
                                            "user": {
                                                "user_id": 387,
                                                "external_key": null,
                                                "first_name": "Karli",
                                                "middle_name_glob": null,
                                                "last_name": "Marie",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": "karli@example.com",
                                                "token": "44yzf79u168x",
                                                "phone": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2018-02-23 13:01:53",
                                                "mod_datetime": "2018-02-23 13:01:53",
                                                "name": "Karli Marie",
                                                "display_as": "Karli Marie",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/387",
                                                "user_type_name": "Billing",
                                                "username": "karli@example.com",
                                                "customer_id": 38
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "user-insert": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a new user\/contact is created.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = user<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>user_id<\/code> of the new user)<\/li>\r\n\t<li><code>event = insert<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A user is created",
                "operationId": "user-insert",
                "tags": [
                    "users"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "user",
                                        "context_id": 370,
                                        "event": "insert",
                                        "data": {
                                            "user": {
                                                "user_id": 370,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "johndoe@chargeover.com",
                                                "phone": "860-634-1602",
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "username": "johndoe@chargeover.com"
                                            },
                                            "the_users_password": ""
                                        },
                                        "security_token": "Ma4hWVUNLx0O5zfmJSjQ3AgwpRdY7qu1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "user-update": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an existing user\/contact is updated.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = user<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>user_id<\/code> of the user)<\/li>\r\n\t<li><code>event = update<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A user is updated",
                "operationId": "user-update",
                "tags": [
                    "users"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "user",
                                        "context_id": "355",
                                        "event": "update",
                                        "data": {
                                            "user": {
                                                "user_id": 355,
                                                "external_key": null,
                                                "first_name": "Jane",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "jane@example.com",
                                                "token": "xp40296s7en2",
                                                "phone": "111-111-1111",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-13 12:52:40",
                                                "mod_datetime": "2017-06-15 14:13:40",
                                                "name": "Jane Doe",
                                                "display_as": "Jane Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/355",
                                                "user_type_name": "Billing",
                                                "username": "prt8anm9wqfd",
                                                "customer_id": 3
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "user-delete": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an existing user\/contact is deleted.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = user<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>user_id<\/code> of the user)<\/li>\r\n\t<li><code>event = delete<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A user is deleted",
                "operationId": "user-delete",
                "tags": [
                    "users"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "user",
                                        "context_id": "349",
                                        "event": "delete",
                                        "data": {
                                            "user": {
                                                "user_id": 349,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": "Customer",
                                                "last_name": "2",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "",
                                                "token": "11l8803esn53",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-04-06 14:35:18",
                                                "mod_datetime": "2017-04-06 14:35:18",
                                                "name": "Test Customer 2",
                                                "display_as": "Test Customer 2",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/349",
                                                "user_type_name": "Billing",
                                                "username": "4j9FHYA0GOrZ",
                                                "customer_id": 3
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "quote-status": {
            "post": {
                "description": "<p>\n\tThis event occurs when a quote changes status (for example, if the quote is marked as lost or if it is accepted by the customer).\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = quote<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>quote_id<\/code> value of the quote that changed)<\/li>\n\t<li><code>event = status<\/code><\/li>\n<\/ul>\n\n<br\/>\nYour script should examine these attributes to determine the new status of the quote:<br\/>\n\n<ul>\n\t<li><code>quote.quote_status_str<\/code><\/li>\n\t<li><code>quote.quote_status_state<\/code><\/li>\n<\/ul>\n\nYour script may also wish to observe the <code>quote.quote_status_name<\/code> attribute, which provides a human-friendly status value.<br\/>\n\n<br\/>\nIf a quote has been accepted and turned into an invoice, there will be an <code>invoices<\/code> attribute containing the related invoice.<br\/>\n<br\/>\nIf a quote has been accepted and turned into a subscription, there will be a <code>packages<\/code> attribute containing the related subscription.\n",
                "summary": "A quote status has changed",
                "operationId": "quote-status",
                "tags": [
                    "quotes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "quote": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "invoices": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_id": {
                                                                "type": "integer"
                                                            },
                                                            "refnumber": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "invoice_index": {
                                                                "type": "integer"
                                                            },
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "void_datetime": {
                                                                "type": "string"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "evy",
                                                                    "dly",
                                                                    "1wk",
                                                                    "2wk",
                                                                    "116",
                                                                    "4wk",
                                                                    "8wk",
                                                                    "30d",
                                                                    "mon",
                                                                    "2mn",
                                                                    "12w",
                                                                    "fst",
                                                                    "lst",
                                                                    "qtr",
                                                                    "six",
                                                                    "yrl",
                                                                    "2yr",
                                                                    "3yr",
                                                                    "4yr",
                                                                    "5yr",
                                                                    "10y",
                                                                    "one"
                                                                ]
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "bill_block": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_block": {
                                                                "type": "string"
                                                            },
                                                            "cycle_pre_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_pre_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_this_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "url_permalink": {
                                                                "type": "string"
                                                            },
                                                            "url_pdflink": {
                                                                "type": "string"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            },
                                                            "is_paid": {
                                                                "type": "boolean"
                                                            },
                                                            "is_void": {
                                                                "type": "boolean"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "paid_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "total": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "subtotal": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "taxes": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "credits": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "payments": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "writeoffs": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "refunds": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "declines": {
                                                                "type": "integer"
                                                            },
                                                            "no_dunning": {
                                                                "type": "boolean"
                                                            },
                                                            "no_latefees": {
                                                                "type": "boolean"
                                                            },
                                                            "no_procfees": {
                                                                "type": "boolean"
                                                            },
                                                            "sum_base": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_usage": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_onetime": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "invoice_status_name": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_str": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_state": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "schedule": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "packages": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "nickname": {
                                                                "type": "string"
                                                            },
                                                            "paymethod": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_name": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_detail": {
                                                                "type": "string"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "amount_collected": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_invoiced": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_due": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "suspendfrom_datetime": {
                                                                "type": "string"
                                                            },
                                                            "suspendto_datetime": {
                                                                "type": "string"
                                                            },
                                                            "next_invoice_datetime": {
                                                                "type": "string"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "start_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "holduntil_datetime": {
                                                                "type": "string"
                                                            },
                                                            "package_status_id": {
                                                                "type": "integer"
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "mrr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "arr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "cancel_reason": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "first_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "recurring_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "quote",
                                        "context_id": "204",
                                        "event": "status",
                                        "data": {
                                            "quote": {
                                                "quote_id": 204,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "0264d61l0504",
                                                "refnumber": "204",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": "",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 15:25:41",
                                                "quote_status_name": "Accepted",
                                                "quote_status_str": "closed-won",
                                                "quote_status_state": "c",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.95,
                                                "setup": 0,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev1.chargeover.com\/r\/quote\/view\/0264d61l0504",
                                                "url_pdflink": "http:\/\/dev1.chargeover.com\/r\/quote\/pdf\/0264d61l0504",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/quote\/view\/204",
                                                "url_acceptlink": "http:\/\/dev1.chargeover.com\/r\/quote\/accept\/0264d61l0504",
                                                "url_rejectlink": "http:\/\/dev1.chargeover.com\/r\/quote\/reject\/0264d61l0504",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 204,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "tierset": {
                                                            "tierset_id": 1,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-07-25 12:39:07",
                                                            "mod_datetime": "2019-07-25 12:39:07",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        },
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 376
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 247,
                                                "external_key": null,
                                                "token": "q21f64t8645l",
                                                "company": "John Doe's Company",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": 1,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2019-08-14 10:38:26",
                                                "write_ipaddr": "10.80.1.1",
                                                "mod_datetime": "2019-08-14 10:38:26",
                                                "mod_ipaddr": "10.80.1.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "http:\/\/dev1.chargeover.com\/r\/statement\/view\/q21f64t8645l",
                                                "url_paymethodlink": "http:\/\/dev1.chargeover.com\/r\/paymethod\/i\/q21f64t8645l",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/294",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nMinneapolis MN 55416\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": "jon@example.com",
                                                "superuser_token": "5650i41z234v",
                                                "customer_id": 294,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jon@example.com"
                                            },
                                            "invoices": [],
                                            "packages": [
                                                {
                                                    "terms_id": 2,
                                                    "class_id": null,
                                                    "admin_id": 1,
                                                    "currency_id": 1,
                                                    "brand_id": 1,
                                                    "external_key": null,
                                                    "token": "w155dyrztju9",
                                                    "nickname": "",
                                                    "paymethod": "inv",
                                                    "paycycle": "mon",
                                                    "bill_addr1": "72 E Blue Grass Road",
                                                    "bill_addr2": null,
                                                    "bill_addr3": null,
                                                    "bill_city": "Minneapolis",
                                                    "bill_state": "MN",
                                                    "bill_postcode": "55416",
                                                    "bill_country": "United States",
                                                    "bill_notes": null,
                                                    "ship_addr1": null,
                                                    "ship_addr2": null,
                                                    "ship_addr3": null,
                                                    "ship_city": null,
                                                    "ship_state": null,
                                                    "ship_postcode": null,
                                                    "ship_country": null,
                                                    "ship_notes": null,
                                                    "creditcard_id": null,
                                                    "ach_id": null,
                                                    "tokenized_id": null,
                                                    "custom_1": null,
                                                    "custom_2": null,
                                                    "custom_3": null,
                                                    "custom_4": null,
                                                    "custom_5": null,
                                                    "write_datetime": "2019-08-14 15:28:49",
                                                    "mod_datetime": "2019-08-14 15:28:49",
                                                    "start_datetime": "2019-08-14 15:28:49",
                                                    "suspendfrom_datetime": null,
                                                    "suspendto_datetime": null,
                                                    "cancel_datetime": null,
                                                    "holduntil_datetime": null,
                                                    "terms_name": "Net 30",
                                                    "terms_days": 30,
                                                    "currency_symbol": "$",
                                                    "currency_iso4217": "USD",
                                                    "class_name": "",
                                                    "amount_collected": 0,
                                                    "amount_invoiced": 0,
                                                    "amount_due": 0,
                                                    "is_overdue": false,
                                                    "days_overdue": 0,
                                                    "next_invoice_datetime": "2019-08-15 00:00:01",
                                                    "cancel_reason": null,
                                                    "paycycle_name": "Monthly",
                                                    "paymethod_name": "Invoice",
                                                    "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/package\/view\/45",
                                                    "package_id": 45,
                                                    "customer_id": 294,
                                                    "package_status_id": 2,
                                                    "package_status_name": "Current",
                                                    "package_status_str": "active-current",
                                                    "package_status_state": "a"
                                                }
                                            ]
                                        },
                                        "security_token": "kdZOgKUzDt6bylJH1LrVjMx5m0wYScpA"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "quote-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when a quote is created.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = quote<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>quote_id<\/code> of the quote)<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n",
                "summary": "A quote is created",
                "operationId": "quote-insert",
                "tags": [
                    "quotes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "quote": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "invoices": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_id": {
                                                                "type": "integer"
                                                            },
                                                            "refnumber": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "invoice_index": {
                                                                "type": "integer"
                                                            },
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "void_datetime": {
                                                                "type": "string"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "evy",
                                                                    "dly",
                                                                    "1wk",
                                                                    "2wk",
                                                                    "116",
                                                                    "4wk",
                                                                    "8wk",
                                                                    "30d",
                                                                    "mon",
                                                                    "2mn",
                                                                    "12w",
                                                                    "fst",
                                                                    "lst",
                                                                    "qtr",
                                                                    "six",
                                                                    "yrl",
                                                                    "2yr",
                                                                    "3yr",
                                                                    "4yr",
                                                                    "5yr",
                                                                    "10y",
                                                                    "one"
                                                                ]
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "bill_block": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_block": {
                                                                "type": "string"
                                                            },
                                                            "cycle_pre_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_pre_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_this_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "url_permalink": {
                                                                "type": "string"
                                                            },
                                                            "url_pdflink": {
                                                                "type": "string"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            },
                                                            "is_paid": {
                                                                "type": "boolean"
                                                            },
                                                            "is_void": {
                                                                "type": "boolean"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "paid_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "total": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "subtotal": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "taxes": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "credits": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "payments": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "writeoffs": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "refunds": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "declines": {
                                                                "type": "integer"
                                                            },
                                                            "no_dunning": {
                                                                "type": "boolean"
                                                            },
                                                            "no_latefees": {
                                                                "type": "boolean"
                                                            },
                                                            "no_procfees": {
                                                                "type": "boolean"
                                                            },
                                                            "sum_base": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_usage": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_onetime": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "invoice_status_name": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_str": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_state": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "schedule": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "packages": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "nickname": {
                                                                "type": "string"
                                                            },
                                                            "paymethod": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_name": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_detail": {
                                                                "type": "string"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "amount_collected": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_invoiced": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_due": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "suspendfrom_datetime": {
                                                                "type": "string"
                                                            },
                                                            "suspendto_datetime": {
                                                                "type": "string"
                                                            },
                                                            "next_invoice_datetime": {
                                                                "type": "string"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "start_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "holduntil_datetime": {
                                                                "type": "string"
                                                            },
                                                            "package_status_id": {
                                                                "type": "integer"
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "mrr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "arr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "cancel_reason": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "first_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "recurring_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "quote",
                                        "context_id": "204",
                                        "event": "insert",
                                        "data": {
                                            "quote": {
                                                "quote_id": 204,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "0264d61l0504",
                                                "refnumber": "204",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 15:25:41",
                                                "quote_status_name": "New",
                                                "quote_status_str": "open-new",
                                                "quote_status_state": "o",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.95,
                                                "setup": 0,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev1.chargeover.com\/r\/quote\/view\/0264d61l0504",
                                                "url_pdflink": "http:\/\/dev1.chargeover.com\/r\/quote\/pdf\/0264d61l0504",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/quote\/view\/204",
                                                "url_acceptlink": "http:\/\/dev1.chargeover.com\/r\/quote\/accept\/0264d61l0504",
                                                "url_rejectlink": "http:\/\/dev1.chargeover.com\/r\/quote\/reject\/0264d61l0504",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 204,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "tierset": {
                                                            "tierset_id": 1,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-07-25 12:39:07",
                                                            "mod_datetime": "2019-07-25 12:39:07",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        },
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 376
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 247,
                                                "external_key": null,
                                                "token": "q21f64t8645l",
                                                "company": "John Doe's Company",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": 1,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2019-08-14 10:38:26",
                                                "write_ipaddr": "10.80.1.1",
                                                "mod_datetime": "2019-08-14 10:38:26",
                                                "mod_ipaddr": "10.80.1.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "http:\/\/dev1.chargeover.com\/r\/statement\/view\/q21f64t8645l",
                                                "url_paymethodlink": "http:\/\/dev1.chargeover.com\/r\/paymethod\/i\/q21f64t8645l",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/294",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nMinneapolis MN 55416\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": "jon@example.com",
                                                "superuser_token": "5650i41z234v",
                                                "customer_id": 294,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jon@example.com"
                                            },
                                            "invoices": [],
                                            "packages": []
                                        },
                                        "security_token": "kdZOgKUzDt6bylJH1LrVjMx5m0wYScpA"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "quote-update": {
            "post": {
                "description": "<p>\n\tThis event occurs when a quote is updated.\n<\/p>\n<p>\n\tNote that this event will NOT occur when a quote has been lost or accepted\/converted into an invoice (because the actual quote itself hasn't changed in these cases).\n\tIf you want to know when quote changes status (e.g. from \"open\" to \"closed-accepted\")  you should listen for the <code>status<\/code> webhook on quotes.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = quote<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>quote_id<\/code> of the quote)<\/li>\n\t<li><code>event = update<\/code><\/li>\n<\/ul>\n",
                "summary": "A quote is updated",
                "operationId": "quote-update",
                "tags": [
                    "quotes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "quote": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "invoices": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_id": {
                                                                "type": "integer"
                                                            },
                                                            "refnumber": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "invoice_index": {
                                                                "type": "integer"
                                                            },
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "void_datetime": {
                                                                "type": "string"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "evy",
                                                                    "dly",
                                                                    "1wk",
                                                                    "2wk",
                                                                    "116",
                                                                    "4wk",
                                                                    "8wk",
                                                                    "30d",
                                                                    "mon",
                                                                    "2mn",
                                                                    "12w",
                                                                    "fst",
                                                                    "lst",
                                                                    "qtr",
                                                                    "six",
                                                                    "yrl",
                                                                    "2yr",
                                                                    "3yr",
                                                                    "4yr",
                                                                    "5yr",
                                                                    "10y",
                                                                    "one"
                                                                ]
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "bill_block": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_block": {
                                                                "type": "string"
                                                            },
                                                            "cycle_pre_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_pre_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_this_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "url_permalink": {
                                                                "type": "string"
                                                            },
                                                            "url_pdflink": {
                                                                "type": "string"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            },
                                                            "is_paid": {
                                                                "type": "boolean"
                                                            },
                                                            "is_void": {
                                                                "type": "boolean"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "paid_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "total": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "subtotal": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "taxes": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "credits": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "payments": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "writeoffs": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "refunds": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "declines": {
                                                                "type": "integer"
                                                            },
                                                            "no_dunning": {
                                                                "type": "boolean"
                                                            },
                                                            "no_latefees": {
                                                                "type": "boolean"
                                                            },
                                                            "no_procfees": {
                                                                "type": "boolean"
                                                            },
                                                            "sum_base": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_usage": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_onetime": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "invoice_status_name": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_str": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_state": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "schedule": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "packages": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "nickname": {
                                                                "type": "string"
                                                            },
                                                            "paymethod": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_name": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_detail": {
                                                                "type": "string"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "amount_collected": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_invoiced": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_due": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "suspendfrom_datetime": {
                                                                "type": "string"
                                                            },
                                                            "suspendto_datetime": {
                                                                "type": "string"
                                                            },
                                                            "next_invoice_datetime": {
                                                                "type": "string"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "start_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "holduntil_datetime": {
                                                                "type": "string"
                                                            },
                                                            "package_status_id": {
                                                                "type": "integer"
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "mrr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "arr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "cancel_reason": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "first_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "recurring_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "quote",
                                        "context_id": "204",
                                        "event": "update",
                                        "data": {
                                            "quote": {
                                                "quote_id": 204,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "0264d61l0504",
                                                "refnumber": "204",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": "",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 15:25:41",
                                                "quote_status_name": "New",
                                                "quote_status_str": "open-new",
                                                "quote_status_state": "o",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.95,
                                                "setup": 0,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev1.chargeover.com\/r\/quote\/view\/0264d61l0504",
                                                "url_pdflink": "http:\/\/dev1.chargeover.com\/r\/quote\/pdf\/0264d61l0504",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/quote\/view\/204",
                                                "url_acceptlink": "http:\/\/dev1.chargeover.com\/r\/quote\/accept\/0264d61l0504",
                                                "url_rejectlink": "http:\/\/dev1.chargeover.com\/r\/quote\/reject\/0264d61l0504",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 204,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "tierset": {
                                                            "tierset_id": 1,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-07-25 12:39:07",
                                                            "mod_datetime": "2019-07-25 12:39:07",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        },
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 376
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 247,
                                                "external_key": null,
                                                "token": "q21f64t8645l",
                                                "company": "John Doe's Company",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": 1,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2019-08-14 10:38:26",
                                                "write_ipaddr": "10.80.1.1",
                                                "mod_datetime": "2019-08-14 10:38:26",
                                                "mod_ipaddr": "10.80.1.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "http:\/\/dev1.chargeover.com\/r\/statement\/view\/q21f64t8645l",
                                                "url_paymethodlink": "http:\/\/dev1.chargeover.com\/r\/paymethod\/i\/q21f64t8645l",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/294",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nMinneapolis MN 55416\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": "jon@example.com",
                                                "superuser_token": "5650i41z234v",
                                                "customer_id": 294,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jon@example.com"
                                            },
                                            "invoices": [],
                                            "packages": []
                                        },
                                        "security_token": "kdZOgKUzDt6bylJH1LrVjMx5m0wYScpA"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "quote-nightly": {
            "post": {
                "description": "<p>\n\tThis is an event that is kicked off nightly for each quote.\n<\/p>\n<p>\n    This event only occurs for new and open quotes. Won or lost quotes will not fire this event.\n<\/p>\n<p>\n\tInternally, this event is used for updating caches, consistency checks etc. <br\/>\n\tExternally, you can choose to hook into this event and use it for whatever you would like.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = quote<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>quote_id<\/code> of the quote)<\/li>\n\t<li><code>event = nightly<\/code><\/li>\n<\/ul>\n\n",
                "summary": "The nightly event occurs",
                "operationId": "quote-nightly",
                "tags": [
                    "quotes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "quote": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "invoices": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_id": {
                                                                "type": "integer"
                                                            },
                                                            "refnumber": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "invoice_index": {
                                                                "type": "integer"
                                                            },
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "void_datetime": {
                                                                "type": "string"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "evy",
                                                                    "dly",
                                                                    "1wk",
                                                                    "2wk",
                                                                    "116",
                                                                    "4wk",
                                                                    "8wk",
                                                                    "30d",
                                                                    "mon",
                                                                    "2mn",
                                                                    "12w",
                                                                    "fst",
                                                                    "lst",
                                                                    "qtr",
                                                                    "six",
                                                                    "yrl",
                                                                    "2yr",
                                                                    "3yr",
                                                                    "4yr",
                                                                    "5yr",
                                                                    "10y",
                                                                    "one"
                                                                ]
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "bill_block": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_block": {
                                                                "type": "string"
                                                            },
                                                            "cycle_pre_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_pre_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_this_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "url_permalink": {
                                                                "type": "string"
                                                            },
                                                            "url_pdflink": {
                                                                "type": "string"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            },
                                                            "is_paid": {
                                                                "type": "boolean"
                                                            },
                                                            "is_void": {
                                                                "type": "boolean"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "paid_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "total": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "subtotal": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "taxes": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "credits": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "payments": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "writeoffs": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "refunds": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "declines": {
                                                                "type": "integer"
                                                            },
                                                            "no_dunning": {
                                                                "type": "boolean"
                                                            },
                                                            "no_latefees": {
                                                                "type": "boolean"
                                                            },
                                                            "no_procfees": {
                                                                "type": "boolean"
                                                            },
                                                            "sum_base": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_usage": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_onetime": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "invoice_status_name": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_str": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_state": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "schedule": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "packages": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "nickname": {
                                                                "type": "string"
                                                            },
                                                            "paymethod": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_name": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_detail": {
                                                                "type": "string"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "amount_collected": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_invoiced": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_due": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "suspendfrom_datetime": {
                                                                "type": "string"
                                                            },
                                                            "suspendto_datetime": {
                                                                "type": "string"
                                                            },
                                                            "next_invoice_datetime": {
                                                                "type": "string"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "start_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "holduntil_datetime": {
                                                                "type": "string"
                                                            },
                                                            "package_status_id": {
                                                                "type": "integer"
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "mrr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "arr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "cancel_reason": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "first_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "recurring_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "quote",
                                        "context_id": "204",
                                        "event": "nightly",
                                        "data": {
                                            "quote": {
                                                "quote_id": 204,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "0264d61l0504",
                                                "refnumber": "204",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": "",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 15:25:41",
                                                "quote_status_name": "New",
                                                "quote_status_str": "open-new",
                                                "quote_status_state": "o",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.95,
                                                "setup": 0,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev1.chargeover.com\/r\/quote\/view\/0264d61l0504",
                                                "url_pdflink": "http:\/\/dev1.chargeover.com\/r\/quote\/pdf\/0264d61l0504",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/quote\/view\/204",
                                                "url_acceptlink": "http:\/\/dev1.chargeover.com\/r\/quote\/accept\/0264d61l0504",
                                                "url_rejectlink": "http:\/\/dev1.chargeover.com\/r\/quote\/reject\/0264d61l0504",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 204,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "tierset": {
                                                            "tierset_id": 1,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-07-25 12:39:07",
                                                            "mod_datetime": "2019-07-25 12:39:07",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        },
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 376
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 247,
                                                "external_key": null,
                                                "token": "q21f64t8645l",
                                                "company": "John Doe's Company",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": 1,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2019-08-14 10:38:26",
                                                "write_ipaddr": "10.80.1.1",
                                                "mod_datetime": "2019-08-14 10:38:26",
                                                "mod_ipaddr": "10.80.1.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "http:\/\/dev1.chargeover.com\/r\/statement\/view\/q21f64t8645l",
                                                "url_paymethodlink": "http:\/\/dev1.chargeover.com\/r\/paymethod\/i\/q21f64t8645l",
                                                "url_self": "http:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/294",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nMinneapolis MN 55416\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": "jon@example.com",
                                                "superuser_token": "5650i41z234v",
                                                "customer_id": 294,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jon@example.com"
                                            },
                                            "invoices": [],
                                            "packages": []
                                        },
                                        "security_token": "kdZOgKUzDt6bylJH1LrVjMx5m0wYScpA"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "quote-won": {
            "post": {
                "description": "<p>\n\tThis event occurs when a quote is accepted and generates an invoice\/subscription.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = quote<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>quote_id<\/code> value of the quote that changed)<\/li>\n\t<li><code>event = won<\/code><\/li>\n<\/ul>\n\n<br\/>\nYour script should look for these values in these fields:<br\/>\n\n<ul>\n\t<li><code>quote.quote_status_str = closed-won<\/code><\/li>\n\t<li><code>quote.quote_status_state = c<\/code><\/li>\n\t<li><code>quote.quote_status_name = Accepted<\/code><\/li>\n<\/ul>\n\n<br\/>\nIf a quote has been accepted and turned into an invoice, there will be an <code>invoices<\/code> attribute containing the related invoice.<br\/>\n<br\/>\nIf a quote has been accepted and turned into a subscription, there will be a <code>packages<\/code> attribute containing the related subscription.\n",
                "summary": "A quote is accepted",
                "operationId": "quote-won",
                "tags": [
                    "quotes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "quote": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "invoices": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_id": {
                                                                "type": "integer"
                                                            },
                                                            "refnumber": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "invoice_index": {
                                                                "type": "integer"
                                                            },
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "void_datetime": {
                                                                "type": "string"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "evy",
                                                                    "dly",
                                                                    "1wk",
                                                                    "2wk",
                                                                    "116",
                                                                    "4wk",
                                                                    "8wk",
                                                                    "30d",
                                                                    "mon",
                                                                    "2mn",
                                                                    "12w",
                                                                    "fst",
                                                                    "lst",
                                                                    "qtr",
                                                                    "six",
                                                                    "yrl",
                                                                    "2yr",
                                                                    "3yr",
                                                                    "4yr",
                                                                    "5yr",
                                                                    "10y",
                                                                    "one"
                                                                ]
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "bill_block": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_block": {
                                                                "type": "string"
                                                            },
                                                            "cycle_pre_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_pre_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_this_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "url_permalink": {
                                                                "type": "string"
                                                            },
                                                            "url_pdflink": {
                                                                "type": "string"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            },
                                                            "is_paid": {
                                                                "type": "boolean"
                                                            },
                                                            "is_void": {
                                                                "type": "boolean"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "paid_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "total": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "subtotal": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "taxes": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "credits": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "payments": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "writeoffs": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "refunds": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "declines": {
                                                                "type": "integer"
                                                            },
                                                            "no_dunning": {
                                                                "type": "boolean"
                                                            },
                                                            "no_latefees": {
                                                                "type": "boolean"
                                                            },
                                                            "no_procfees": {
                                                                "type": "boolean"
                                                            },
                                                            "sum_base": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_usage": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_onetime": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "invoice_status_name": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_str": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_state": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "schedule": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "packages": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "nickname": {
                                                                "type": "string"
                                                            },
                                                            "paymethod": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_name": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_detail": {
                                                                "type": "string"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "amount_collected": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_invoiced": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_due": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "suspendfrom_datetime": {
                                                                "type": "string"
                                                            },
                                                            "suspendto_datetime": {
                                                                "type": "string"
                                                            },
                                                            "next_invoice_datetime": {
                                                                "type": "string"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "start_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "holduntil_datetime": {
                                                                "type": "string"
                                                            },
                                                            "package_status_id": {
                                                                "type": "integer"
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "mrr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "arr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "cancel_reason": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "first_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "recurring_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "quote",
                                        "context_id": "204",
                                        "event": "won",
                                        "data": {
                                            "quote": {
                                                "quote_id": 204,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "0264d61l0504",
                                                "refnumber": "204",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": "",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 15:25:41",
                                                "quote_status_name": "Accepted",
                                                "quote_status_str": "closed-won",
                                                "quote_status_state": "c",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.95,
                                                "setup": 0,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "https:\/\/dev1.chargeover.com\/r\/quote\/view\/0264d61l0504",
                                                "url_pdflink": "https:\/\/dev1.chargeover.com\/r\/quote\/pdf\/0264d61l0504",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/quote\/view\/204",
                                                "url_acceptlink": "https:\/\/dev1.chargeover.com\/r\/quote\/accept\/0264d61l0504",
                                                "url_rejectlink": "https:\/\/dev1.chargeover.com\/r\/quote\/reject\/0264d61l0504",
                                                "won_datetime": "2019-08-14 15:30:14",
                                                "lost_datetime": "",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 204,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "tierset": {
                                                            "tierset_id": 1,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-07-25 12:39:07",
                                                            "mod_datetime": "2019-07-25 12:39:07",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        },
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 376
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 247,
                                                "external_key": null,
                                                "token": "q21f64t8645l",
                                                "company": "John Doe's Company",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": 1,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2019-08-14 10:38:26",
                                                "write_ipaddr": "10.80.1.1",
                                                "mod_datetime": "2019-08-14 10:38:26",
                                                "mod_ipaddr": "10.80.1.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/dev1.chargeover.com\/r\/statement\/view\/q21f64t8645l",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.com\/r\/paymethod\/i\/q21f64t8645l",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/294",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nMinneapolis MN 55416\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": "jon@example.com",
                                                "superuser_token": "5650i41z234v",
                                                "customer_id": 294,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jon@example.com"
                                            },
                                            "invoices": [],
                                            "packages": [
                                                {
                                                    "terms_id": 2,
                                                    "class_id": null,
                                                    "admin_id": 1,
                                                    "currency_id": 1,
                                                    "brand_id": 1,
                                                    "external_key": null,
                                                    "token": "w155dyrztju9",
                                                    "nickname": "",
                                                    "paymethod": "inv",
                                                    "paycycle": "mon",
                                                    "bill_addr1": "72 E Blue Grass Road",
                                                    "bill_addr2": null,
                                                    "bill_addr3": null,
                                                    "bill_city": "Minneapolis",
                                                    "bill_state": "MN",
                                                    "bill_postcode": "55416",
                                                    "bill_country": "United States",
                                                    "bill_notes": null,
                                                    "ship_addr1": null,
                                                    "ship_addr2": null,
                                                    "ship_addr3": null,
                                                    "ship_city": null,
                                                    "ship_state": null,
                                                    "ship_postcode": null,
                                                    "ship_country": null,
                                                    "ship_notes": null,
                                                    "creditcard_id": null,
                                                    "ach_id": null,
                                                    "tokenized_id": null,
                                                    "custom_1": null,
                                                    "custom_2": null,
                                                    "custom_3": null,
                                                    "custom_4": null,
                                                    "custom_5": null,
                                                    "write_datetime": "2019-08-14 15:28:49",
                                                    "mod_datetime": "2019-08-14 15:28:49",
                                                    "start_datetime": "2019-08-14 15:28:49",
                                                    "suspendfrom_datetime": null,
                                                    "suspendto_datetime": null,
                                                    "cancel_datetime": null,
                                                    "holduntil_datetime": null,
                                                    "terms_name": "Net 30",
                                                    "terms_days": 30,
                                                    "currency_symbol": "$",
                                                    "currency_iso4217": "USD",
                                                    "class_name": "",
                                                    "amount_collected": 0,
                                                    "amount_invoiced": 0,
                                                    "amount_due": 0,
                                                    "is_overdue": false,
                                                    "days_overdue": 0,
                                                    "next_invoice_datetime": "2019-08-15 00:00:01",
                                                    "cancel_reason": null,
                                                    "paycycle_name": "Monthly",
                                                    "paymethod_name": "Invoice",
                                                    "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/package\/view\/45",
                                                    "package_id": 45,
                                                    "customer_id": 294,
                                                    "package_status_id": 2,
                                                    "package_status_name": "Current",
                                                    "package_status_str": "active-current",
                                                    "package_status_state": "a"
                                                }
                                            ]
                                        },
                                        "security_token": "kdZOgKUzDt6bylJH1LrVjMx5m0wYScpA"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "quote-lost": {
            "post": {
                "description": "<p>\n\tThis event occurs when a quote is rejected.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = quote<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>quote_id<\/code> value of the quote that changed)<\/li>\n\t<li><code>event = lost<\/code><\/li>\n<\/ul>\n\n<br\/>\nYour script should look for these values in these fields:<br\/>\n\n<ul>\n\t<li><code>quote.quote_status_str = closed-lost<\/code><\/li>\n\t<li><code>quote.quote_status_state = c<\/code><\/li>\n\t<li><code>quote.quote_status_name = Rejected<\/code><\/li>\n<\/ul>\n",
                "summary": "A quote is rejected",
                "operationId": "quote-lost",
                "tags": [
                    "quotes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "quote": {
                                                "type": "object",
                                                "properties": {
                                                    "quote_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "validuntil_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "holduntil_datetime_str": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectlink": {
                                                        "type": "string"
                                                    },
                                                    "url_acceptredirect": {
                                                        "type": "string"
                                                    },
                                                    "url_rejectredirect": {
                                                        "type": "string"
                                                    },
                                                    "won_datetime": {
                                                        "type": "string"
                                                    },
                                                    "lost_datetime": {
                                                        "type": "string"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "setup": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "upfront": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "quote_status_name": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_str": {
                                                        "type": "string"
                                                    },
                                                    "quote_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "invoices": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "invoice_id": {
                                                                "type": "integer"
                                                            },
                                                            "refnumber": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "invoice_index": {
                                                                "type": "integer"
                                                            },
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "void_datetime": {
                                                                "type": "string"
                                                            },
                                                            "date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "paycycle": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "evy",
                                                                    "dly",
                                                                    "1wk",
                                                                    "2wk",
                                                                    "116",
                                                                    "4wk",
                                                                    "8wk",
                                                                    "30d",
                                                                    "mon",
                                                                    "2mn",
                                                                    "12w",
                                                                    "fst",
                                                                    "lst",
                                                                    "qtr",
                                                                    "six",
                                                                    "yrl",
                                                                    "2yr",
                                                                    "3yr",
                                                                    "4yr",
                                                                    "5yr",
                                                                    "10y",
                                                                    "one"
                                                                ]
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "bill_block": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_block": {
                                                                "type": "string"
                                                            },
                                                            "cycle_pre_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_pre_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_this_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_from_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "cycle_post_to_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "url_permalink": {
                                                                "type": "string"
                                                            },
                                                            "url_pdflink": {
                                                                "type": "string"
                                                            },
                                                            "url_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_ttl_paylink": {
                                                                "type": "string"
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            },
                                                            "is_paid": {
                                                                "type": "boolean"
                                                            },
                                                            "is_void": {
                                                                "type": "boolean"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "due_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "paid_date": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "balance": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "applied": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "total": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "subtotal": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "taxes": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "credits": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "payments": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "writeoffs": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "refunds": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "declines": {
                                                                "type": "integer"
                                                            },
                                                            "no_dunning": {
                                                                "type": "boolean"
                                                            },
                                                            "no_latefees": {
                                                                "type": "boolean"
                                                            },
                                                            "no_procfees": {
                                                                "type": "boolean"
                                                            },
                                                            "sum_base": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_usage": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "sum_onetime": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "invoice_status_name": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_str": {
                                                                "type": "string"
                                                            },
                                                            "invoice_status_state": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "schedule": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "packages": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "package_id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "parent_customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_id": {
                                                                "type": "integer"
                                                            },
                                                            "brand_name": {
                                                                "type": "string"
                                                            },
                                                            "class_id": {
                                                                "type": "integer"
                                                            },
                                                            "class_name": {
                                                                "type": "string"
                                                            },
                                                            "external_key": {
                                                                "type": "string"
                                                            },
                                                            "token": {
                                                                "type": "string"
                                                            },
                                                            "nickname": {
                                                                "type": "string"
                                                            },
                                                            "paymethod": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_name": {
                                                                "type": "string"
                                                            },
                                                            "paymethod_detail": {
                                                                "type": "string"
                                                            },
                                                            "creditcard_id": {
                                                                "type": "integer"
                                                            },
                                                            "ach_id": {
                                                                "type": "integer"
                                                            },
                                                            "tokenized_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_id": {
                                                                "type": "integer"
                                                            },
                                                            "admin_name": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr1": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr2": {
                                                                "type": "string"
                                                            },
                                                            "bill_addr3": {
                                                                "type": "string"
                                                            },
                                                            "bill_city": {
                                                                "type": "string"
                                                            },
                                                            "bill_state": {
                                                                "type": "string"
                                                            },
                                                            "bill_postcode": {
                                                                "type": "string"
                                                            },
                                                            "bill_country": {
                                                                "type": "string"
                                                            },
                                                            "bill_notes": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr1": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr2": {
                                                                "type": "string"
                                                            },
                                                            "ship_addr3": {
                                                                "type": "string"
                                                            },
                                                            "ship_city": {
                                                                "type": "string"
                                                            },
                                                            "ship_state": {
                                                                "type": "string"
                                                            },
                                                            "ship_postcode": {
                                                                "type": "string"
                                                            },
                                                            "ship_country": {
                                                                "type": "string"
                                                            },
                                                            "ship_notes": {
                                                                "type": "string"
                                                            },
                                                            "memo": {
                                                                "type": "string"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "amount_collected": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_invoiced": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_due": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "amount_overdue": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "suspendfrom_datetime": {
                                                                "type": "string"
                                                            },
                                                            "suspendto_datetime": {
                                                                "type": "string"
                                                            },
                                                            "next_invoice_datetime": {
                                                                "type": "string"
                                                            },
                                                            "is_overdue": {
                                                                "type": "boolean"
                                                            },
                                                            "days_overdue": {
                                                                "type": "integer"
                                                            },
                                                            "start_datetime": {
                                                                "type": "string"
                                                            },
                                                            "cancel_datetime": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "holduntil_datetime": {
                                                                "type": "string"
                                                            },
                                                            "package_status_id": {
                                                                "type": "integer"
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "mrr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "arr": {
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "cancel_reason": {
                                                                "type": "string"
                                                            },
                                                            "terms_id": {
                                                                "type": "integer"
                                                            },
                                                            "terms_name": {
                                                                "type": "string"
                                                            },
                                                            "terms_days": {
                                                                "type": "integer"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "paycycle_name": {
                                                                "type": "string"
                                                            },
                                                            "custom_1": {
                                                                "type": "string"
                                                            },
                                                            "custom_2": {
                                                                "type": "string"
                                                            },
                                                            "custom_3": {
                                                                "type": "string"
                                                            },
                                                            "custom_4": {
                                                                "type": "string"
                                                            },
                                                            "custom_5": {
                                                                "type": "string"
                                                            },
                                                            "custom_6": {
                                                                "type": "string"
                                                            },
                                                            "custom_7": {
                                                                "type": "string"
                                                            },
                                                            "custom_8": {
                                                                "type": "string"
                                                            },
                                                            "custom_9": {
                                                                "type": "string"
                                                            },
                                                            "custom_10": {
                                                                "type": "string"
                                                            },
                                                            "custom_11": {
                                                                "type": "string"
                                                            },
                                                            "custom_12": {
                                                                "type": "string"
                                                            },
                                                            "custom_13": {
                                                                "type": "string"
                                                            },
                                                            "custom_14": {
                                                                "type": "string"
                                                            },
                                                            "custom_15": {
                                                                "type": "string"
                                                            },
                                                            "custom_16": {
                                                                "type": "string"
                                                            },
                                                            "custom_17": {
                                                                "type": "string"
                                                            },
                                                            "custom_18": {
                                                                "type": "string"
                                                            },
                                                            "custom_19": {
                                                                "type": "string"
                                                            },
                                                            "custom_20": {
                                                                "type": "string"
                                                            },
                                                            "first_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "recurring_invoice_schedule_template_id": {
                                                                "type": "integer"
                                                            },
                                                            "line_items": {
                                                                "type": "array"
                                                            },
                                                            "tags": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "url_self": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "quote",
                                        "context_id": "204",
                                        "event": "lost",
                                        "data": {
                                            "quote": {
                                                "quote_id": 204,
                                                "terms_id": 2,
                                                "admin_id": 1,
                                                "currency_id": 1,
                                                "token": "0264d61l0504",
                                                "refnumber": "204",
                                                "paycycle": "mon",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": "",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-14 15:25:41",
                                                "quote_status_name": "Rejected",
                                                "quote_status_str": "closed-lost",
                                                "quote_status_state": "c",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "total": 10.95,
                                                "setup": 0,
                                                "terms_name": "Net 30",
                                                "date": "2019-08-14",
                                                "due_date": "2019-09-13",
                                                "bill_block": "72 E Blue Grass Road\r\nMinneapolis, MN 55416\r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "https:\/\/dev1.chargeover.com\/r\/quote\/view\/0264d61l0504",
                                                "url_pdflink": "https:\/\/dev1.chargeover.com\/r\/quote\/pdf\/0264d61l0504",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/quote\/view\/204",
                                                "url_acceptlink": "https:\/\/dev1.chargeover.com\/r\/quote\/accept\/0264d61l0504",
                                                "url_rejectlink": "https:\/\/dev1.chargeover.com\/r\/quote\/reject\/0264d61l0504",
                                                "won_datetime": "",
                                                "lost_datetime": "2019-08-14 15:30:14",
                                                "customer_id": 294,
                                                "line_items": [
                                                    {
                                                        "quote_id": 204,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "is_base": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "d70a9a880d95",
                                                        "item_accounting_sku": null,
                                                        "tierset": {
                                                            "tierset_id": 1,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 10.95,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2019-07-25 12:39:07",
                                                            "mod_datetime": "2019-07-25 12:39:07",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 10.95",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        },
                                                        "line_total": 10.95,
                                                        "line_subtotal": 10.95,
                                                        "line_item_id": 376
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 247,
                                                "external_key": null,
                                                "token": "q21f64t8645l",
                                                "company": "John Doe's Company",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Minneapolis",
                                                "bill_state": "MN",
                                                "bill_postcode": "55416",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": 1,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2019-08-14 10:38:26",
                                                "write_ipaddr": "10.80.1.1",
                                                "mod_datetime": "2019-08-14 10:38:26",
                                                "mod_ipaddr": "10.80.1.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/dev1.chargeover.com\/r\/statement\/view\/q21f64t8645l",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.com\/r\/paymethod\/i\/q21f64t8645l",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/294",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nMinneapolis MN 55416\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": "jon@example.com",
                                                "superuser_token": "5650i41z234v",
                                                "customer_id": 294,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jon@example.com"
                                            },
                                            "invoices": [],
                                            "packages": []
                                        },
                                        "security_token": "kdZOgKUzDt6bylJH1LrVjMx5m0wYScpA"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "invoice-status": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an invoice changes status (for example, when an invoice becomes overdue).\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = invoice<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>invoice_id<\/code> value of the invoice that changed)<\/li>\r\n\t<li><code>event = status<\/code><\/li>\r\n<\/ul>\r\n\r\n<br\/>\r\nYour script should examine these attributes to determine the new status of the invoice:<br\/>\r\n\r\n<ul>\r\n\t<li><code>invoice.invoice_status_str<\/code><\/li>\r\n\t<li><code>invoice.invoice_status_state<\/code><\/li>\r\n<\/ul>\r\n\r\nYour script may also wish to observe the <code>invoice.invoice_status_name<\/code> attribute, which provides a human-friendly status value.\r\n",
                "summary": "An invoice status has changed",
                "operationId": "invoice-status",
                "tags": [
                    "invoices"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "invoice": {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "invoice_index": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "enum": [
                                                            "evy",
                                                            "dly",
                                                            "1wk",
                                                            "2wk",
                                                            "116",
                                                            "4wk",
                                                            "8wk",
                                                            "30d",
                                                            "mon",
                                                            "2mn",
                                                            "12w",
                                                            "fst",
                                                            "lst",
                                                            "qtr",
                                                            "six",
                                                            "yrl",
                                                            "2yr",
                                                            "3yr",
                                                            "4yr",
                                                            "5yr",
                                                            "10y",
                                                            "one"
                                                        ]
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "cycle_pre_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_pre_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_this_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_ttl_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "is_paid": {
                                                        "type": "boolean"
                                                    },
                                                    "is_void": {
                                                        "type": "boolean"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "paid_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "credits": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "payments": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "writeoffs": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "refunds": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "declines": {
                                                        "type": "integer"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "sum_base": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_usage": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_onetime": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "invoice_status_name": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_str": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "schedule": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "invoice",
                                        "context_id": "10006",
                                        "event": "status",
                                        "data": {
                                            "invoice": {
                                                "invoice_id": 10006,
                                                "currency_id": 1,
                                                "terms_id": 2,
                                                "token": "3qxb5ae82onp",
                                                "refnumber": "10006",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2014-12-09 12:20:02",
                                                "void_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "invoice_status_name": "Overdue",
                                                "invoice_status_str": "open-overdue",
                                                "invoice_status_state": "o",
                                                "total": 131.4,
                                                "credits": 0,
                                                "payments": 0,
                                                "sum_base": 131.4,
                                                "sum_usage": 0,
                                                "sum_onetime": 0,
                                                "is_paid": false,
                                                "balance": 131.4,
                                                "is_void": false,
                                                "due_date": "2014-01-07",
                                                "terms_name": "Net 30",
                                                "days_overdue": 336,
                                                "is_overdue": true,
                                                "date": "2013-12-08",
                                                "delay_datetime": null,
                                                "bill_block": "",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev.chargeover.com\/signup\/r\/invoice\/view\/3qxb5ae82onp",
                                                "url_paylink": "http:\/\/dev.chargeover.com\/signup\/r\/trans\/pay\/3qxb5ae82onp",
                                                "url_pdflink": "http:\/\/dev.chargeover.com\/signup\/r\/invoice\/pdf\/3qxb5ae82onp",
                                                "package_id": 556,
                                                "customer_id": 1
                                            },
                                            "customer": {
                                                "superuser_id": 348,
                                                "external_key": null,
                                                "token": "b93jhu7p1y56",
                                                "company": "Test Customer",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "currency_id": 1,
                                                "write_datetime": "2014-12-02 14:02:23",
                                                "write_ipaddr": "172.16.16.102",
                                                "mod_datetime": "2014-12-02 14:02:23",
                                                "mod_ipaddr": "172.16.16.102",
                                                "paid": 28.85,
                                                "total": 229.95,
                                                "balance": 201.1,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": "",
                                                "superuser_email": "keith@chargeover.com",
                                                "customer_id": 1
                                            },
                                            "user": {
                                                "user_id": 348,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "keith@chargeover.com",
                                                "phone": "",
                                                "write_datetime": "2014-12-02 14:02:23",
                                                "mod_datetime": "2014-12-02 14:25:13",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "username": "keith@chargeover.com"
                                            }
                                        },
                                        "security_token": "xhtfLO9TumgUs6QRpzr8cKMFPHqAnad2"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "invoice-insert": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an invoice is created (regardless of whether it is a one-off, manually created invoice, or created via a recurring package).\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = invoice<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>invoice_id<\/code> of the invoice)<\/li>\r\n\t<li><code>event = insert<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "An invoice is created",
                "operationId": "invoice-insert",
                "tags": [
                    "invoices"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "invoice": {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "invoice_index": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "enum": [
                                                            "evy",
                                                            "dly",
                                                            "1wk",
                                                            "2wk",
                                                            "116",
                                                            "4wk",
                                                            "8wk",
                                                            "30d",
                                                            "mon",
                                                            "2mn",
                                                            "12w",
                                                            "fst",
                                                            "lst",
                                                            "qtr",
                                                            "six",
                                                            "yrl",
                                                            "2yr",
                                                            "3yr",
                                                            "4yr",
                                                            "5yr",
                                                            "10y",
                                                            "one"
                                                        ]
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "cycle_pre_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_pre_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_this_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_ttl_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "is_paid": {
                                                        "type": "boolean"
                                                    },
                                                    "is_void": {
                                                        "type": "boolean"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "paid_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "credits": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "payments": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "writeoffs": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "refunds": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "declines": {
                                                        "type": "integer"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "sum_base": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_usage": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_onetime": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "invoice_status_name": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_str": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "schedule": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "invoice",
                                        "context_id": "10815",
                                        "event": "insert",
                                        "data": {
                                            "invoice": {
                                                "invoice_id": 10815,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "terms_id": 3,
                                                "admin_id": null,
                                                "external_key": null,
                                                "token": "j945432hl069",
                                                "refnumber": "10815",
                                                "cycle_pre_from_date": "2018-10-10",
                                                "cycle_pre_to_date": "2018-10-10",
                                                "cycle_this_date": "2018-10-10",
                                                "cycle_post_from_date": "2018-10-09",
                                                "cycle_post_to_date": "2018-10-09",
                                                "bill_addr1": "610 Scimitar Bay",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "Dover",
                                                "bill_state": "DE",
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2018-10-10 07:21:24",
                                                "void_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "admin_name": "",
                                                "invoice_status_name": "Unpaid",
                                                "invoice_status_str": "open-unpaid",
                                                "invoice_status_state": "o",
                                                "subtotal": 500,
                                                "total": 500,
                                                "taxes": 0,
                                                "credits": 0,
                                                "payments": 0,
                                                "writeoffs": 0,
                                                "declines": 0,
                                                "applied": 0,
                                                "sum_base": 500,
                                                "sum_usage": 0,
                                                "sum_onetime": 0,
                                                "is_paid": false,
                                                "paid_date": null,
                                                "balance": 500,
                                                "is_void": false,
                                                "due_date": "2018-10-10",
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "days_overdue": 0,
                                                "is_overdue": false,
                                                "date": "2018-10-10",
                                                "bill_block": "610 Scimitar Bay\r\nDover, DE \r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "https:\/\/dev.chargeover.com\/r\/invoice\/view\/j945432hl069",
                                                "url_paylink": "https:\/\/dev.chargeover.com\/r\/trans\/pay\/j945432hl069",
                                                "url_pdflink": "https:\/\/dev.chargeover.com\/r\/invoice\/pdf\/j945432hl069",
                                                "url_self": "https:\/\/dev.chargeover.com\/admin\/r\/invoice\/view\/10815",
                                                "line_items": [
                                                    {
                                                        "invoice_id": 10815,
                                                        "item_id": 18,
                                                        "tierset_id": 50,
                                                        "admin_id": null,
                                                        "descrip": null,
                                                        "line_rate": 5,
                                                        "line_quantity": 100,
                                                        "line_prorate": 1,
                                                        "line_usage": 0,
                                                        "usage_from": 0,
                                                        "usage_to": 0,
                                                        "tax_id": null,
                                                        "tax_group_id": null,
                                                        "tax_taxable": 500,
                                                        "tax_taxed": 0,
                                                        "tax_total": 0,
                                                        "is_base": true,
                                                        "is_free": false,
                                                        "is_setup": false,
                                                        "is_usage": false,
                                                        "is_recurring": true,
                                                        "is_latefee": false,
                                                        "is_taxed": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "Daily Service",
                                                        "item_external_key": null,
                                                        "item_token": "39r76kcav37n",
                                                        "item_accounting_sku": null,
                                                        "item_units": "",
                                                        "tax_name": null,
                                                        "tax_group_name": null,
                                                        "line_subtotal": 500,
                                                        "line_total": 500,
                                                        "line_item_id": 3958,
                                                        "package_line_id": 697
                                                    }
                                                ],
                                                "package_id": 634,
                                                "customer_id": 88
                                            },
                                            "customer": {
                                                "superuser_id": 445,
                                                "external_key": null,
                                                "token": "pc287567l06t",
                                                "company": "Alberta LeClair",
                                                "bill_addr1": "610 Scimitar Bay",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Dover",
                                                "bill_state": "DE",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 3,
                                                "class_id": 0,
                                                "custom_1": "",
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-08-15 14:18:07",
                                                "write_ipaddr": "130.215.221.76",
                                                "mod_datetime": "2018-01-15 12:28:20",
                                                "mod_ipaddr": "192.168.21.10",
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "class_name": "",
                                                "paid": 2017.31,
                                                "total": 94514.11,
                                                "balance": 92496.8,
                                                "url_statementlink": "https:\/\/dev.chargeover.com\/r\/statement\/view\/pc287567l06t",
                                                "url_paymethodlink": "https:\/\/dev.chargeover.com\/r\/paymethod\/i\/pc287567l06t",
                                                "url_self": "https:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/88",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Alberta LeClair",
                                                "ship_block": "",
                                                "bill_block": "610 Scimitar Bay\nDover DE\nUnited States",
                                                "superuser_name": "Alberta LeClair",
                                                "superuser_first_name": "Alberta",
                                                "superuser_last_name": "LeClair",
                                                "superuser_phone": "403-830-3056",
                                                "superuser_email": "bert@example.com",
                                                "superuser_token": "z655bp84in0l",
                                                "customer_id": 88,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "print",
                                                "dunning_delivery": "print",
                                                "customer_status_id": 2,
                                                "customer_status_name": "Overdue",
                                                "customer_status_str": "active-overdue",
                                                "customer_status_state": "a",
                                                "superuser_username": "wtxq69vug4e2"
                                            },
                                            "user": {
                                                "user_id": 445,
                                                "external_key": null,
                                                "first_name": "Alberta",
                                                "middle_name_glob": null,
                                                "last_name": "LeClair",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "bert@example.com",
                                                "token": "z655bp84in0l",
                                                "phone": "403-830-3056",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2017-08-15 14:18:07",
                                                "mod_datetime": "2018-01-15 12:29:01",
                                                "name": "Alberta LeClair",
                                                "display_as": "Alberta LeClair",
                                                "url_self": "https:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/445",
                                                "user_type_name": "Billing",
                                                "username": "wtxq69vug4e2",
                                                "customer_id": 88
                                            }
                                        },
                                        "security_token": "SFkJ3fy02n17YxNXm96tCGUKVTOAIBsH"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "invoice-update": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an invoice is updated.\r\n<\/p>\r\n<p>\r\n\tNote that this event will NOT occur when an invoice is marked paid (because the actual invoice hasn't changed in that case -- a payment has just been applied to the existing, unchanged invoice).\r\n\tIf you want to know when an invoice changes status (e.g. from \"unpaid\" to \"paid\")  you should listen for the <code>status<\/code> webhook on invoices.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = invoice<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>invoice_id<\/code> of the invoice)<\/li>\r\n\t<li><code>event = update<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "An invoice is updated",
                "operationId": "invoice-update",
                "tags": [
                    "invoices"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "invoice": {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "invoice_index": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "enum": [
                                                            "evy",
                                                            "dly",
                                                            "1wk",
                                                            "2wk",
                                                            "116",
                                                            "4wk",
                                                            "8wk",
                                                            "30d",
                                                            "mon",
                                                            "2mn",
                                                            "12w",
                                                            "fst",
                                                            "lst",
                                                            "qtr",
                                                            "six",
                                                            "yrl",
                                                            "2yr",
                                                            "3yr",
                                                            "4yr",
                                                            "5yr",
                                                            "10y",
                                                            "one"
                                                        ]
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "cycle_pre_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_pre_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_this_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_ttl_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "is_paid": {
                                                        "type": "boolean"
                                                    },
                                                    "is_void": {
                                                        "type": "boolean"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "paid_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "credits": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "payments": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "writeoffs": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "refunds": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "declines": {
                                                        "type": "integer"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "sum_base": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_usage": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_onetime": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "invoice_status_name": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_str": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "schedule": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "revision": {
                                                "type": "object",
                                                "properties": {
                                                    "revision_id": {
                                                        "type": "integer"
                                                    },
                                                    "revision_note": {
                                                        "type": "string"
                                                    },
                                                    "revision_datetime": {
                                                        "type": "string"
                                                    },
                                                    "integration_id": {
                                                        "type": "integer"
                                                    },
                                                    "from_rollup": {
                                                        "type": "string"
                                                    },
                                                    "from_api": {
                                                        "type": "boolean"
                                                    },
                                                    "from_user": {
                                                        "type": "boolean"
                                                    },
                                                    "from_admin": {
                                                        "type": "boolean"
                                                    },
                                                    "from_integration": {
                                                        "type": "boolean"
                                                    },
                                                    "from_jsonp": {
                                                        "type": "boolean"
                                                    },
                                                    "from_cron": {
                                                        "type": "boolean"
                                                    },
                                                    "url_path": {
                                                        "type": "string"
                                                    },
                                                    "user_id": {
                                                        "type": "string"
                                                    },
                                                    "user_name": {
                                                        "type": "string"
                                                    },
                                                    "user_email": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "invoice",
                                        "context_id": "5013",
                                        "event": "update",
                                        "data": {
                                            "invoice": {
                                                "invoice_id": 5013,
                                                "currency_id": 1,
                                                "terms_id": 1,
                                                "admin_id": 3,
                                                "external_key": null,
                                                "token": "k144z45u46dh",
                                                "refnumber": "5013",
                                                "cycle_pre_from_date": "2017-06-15",
                                                "cycle_pre_to_date": "2017-07-14",
                                                "cycle_this_date": "2017-06-15",
                                                "cycle_post_from_date": "2017-05-15",
                                                "cycle_post_to_date": "2017-06-14",
                                                "bill_addr1": "34 Doe Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "New State",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-06-15 12:41:26",
                                                "void_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "admin_name": "Karli Palmer",
                                                "invoice_status_name": "Unpaid",
                                                "invoice_status_str": "open-unpaid",
                                                "invoice_status_state": "o",
                                                "subtotal": 10.95,
                                                "total": 10.95,
                                                "taxes": 0,
                                                "credits": 0,
                                                "payments": 0,
                                                "writeoffs": 0,
                                                "declines": 0,
                                                "applied": 0,
                                                "sum_base": 10.95,
                                                "sum_usage": 0,
                                                "sum_onetime": 0,
                                                "is_paid": false,
                                                "paid_date": null,
                                                "balance": 10.95,
                                                "is_void": false,
                                                "due_date": "2017-06-30",
                                                "terms_name": "Net 15",
                                                "terms_days": 15,
                                                "days_overdue": 0,
                                                "is_overdue": false,
                                                "date": "2017-06-15",
                                                "bill_block": "34 Doe Street\r\nCity, New State \r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev.chargeover.com\/r\/invoice\/view\/k144z45u46dh",
                                                "url_paylink": "http:\/\/dev.chargeover.com\/r\/trans\/pay\/k144z45u46dh",
                                                "url_pdflink": "http:\/\/dev.chargeover.com\/r\/invoice\/pdf\/k144z45u46dh",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/invoice\/view\/5013",
                                                "line_items": [
                                                    {
                                                        "invoice_id": 5013,
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "admin_id": null,
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_rate": 10.95,
                                                        "line_quantity": 1,
                                                        "line_prorate": 1,
                                                        "line_usage": 0,
                                                        "usage_from": 0,
                                                        "usage_to": 0,
                                                        "tax_id": null,
                                                        "tax_group_id": null,
                                                        "tax_taxable": 0,
                                                        "tax_taxed": 0,
                                                        "tax_total": 0,
                                                        "is_base": true,
                                                        "is_free": false,
                                                        "is_setup": false,
                                                        "is_usage": false,
                                                        "is_recurring": true,
                                                        "is_latefee": "0",
                                                        "is_taxed": "0",
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_token": "3405ed3c8ef2",
                                                        "item_accounting_sku": null,
                                                        "item_units": "",
                                                        "tax_name": null,
                                                        "tax_group_name": null,
                                                        "line_subtotal": 10.95,
                                                        "line_total": 10.95,
                                                        "line_item_id": 16,
                                                        "package_line_id": 9
                                                    }
                                                ],
                                                "package_id": 9,
                                                "customer_id": 8
                                            },
                                            "customer": {
                                                "superuser_id": 354,
                                                "external_key": null,
                                                "token": "2ygprd9569t4",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "34 Doe Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "New State",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 3,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-13 12:40:51",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "paid": 10.95,
                                                "total": 82.85,
                                                "balance": 71.9,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/2ygprd9569t4",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/8",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "34 Doe Street\nCity New State\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "john@example.com",
                                                "superuser_token": "4e7t9r5a03fv",
                                                "customer_id": 8,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "john@example.com"
                                            },
                                            "user": {
                                                "user_id": 354,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "john@example.com",
                                                "token": "4e7t9r5a03fv",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "mod_datetime": "2017-06-08 15:39:59",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/354",
                                                "user_type_name": "Billing",
                                                "username": "john@example.com",
                                                "customer_id": 8
                                            },
                                            "revision": {
                                                "revision_id": 16065,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "integration_id": null,
                                                "from_user": false,
                                                "from_admin": true,
                                                "from_integration": false,
                                                "from_jsonp": false,
                                                "from_cron": false,
                                                "from_api": false,
                                                "url_path": "o",
                                                "revision_datetime": "2017-06-08 15:39:59",
                                                "revision_note": "Invoice updated.",
                                                "admin_email": "jane.doe@chargeover.com",
                                                "admin_name": "Jane Doe"
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "invoice-void": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an invoice is marked void.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = invoice<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>invoice_id<\/code> of the invoice)<\/li>\r\n\t<li><code>event = void<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "An invoice is voided",
                "operationId": "invoice-void",
                "tags": [
                    "invoices"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "invoice": {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "invoice_index": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "enum": [
                                                            "evy",
                                                            "dly",
                                                            "1wk",
                                                            "2wk",
                                                            "116",
                                                            "4wk",
                                                            "8wk",
                                                            "30d",
                                                            "mon",
                                                            "2mn",
                                                            "12w",
                                                            "fst",
                                                            "lst",
                                                            "qtr",
                                                            "six",
                                                            "yrl",
                                                            "2yr",
                                                            "3yr",
                                                            "4yr",
                                                            "5yr",
                                                            "10y",
                                                            "one"
                                                        ]
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "cycle_pre_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_pre_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_this_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_ttl_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "is_paid": {
                                                        "type": "boolean"
                                                    },
                                                    "is_void": {
                                                        "type": "boolean"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "paid_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "credits": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "payments": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "writeoffs": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "refunds": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "declines": {
                                                        "type": "integer"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "sum_base": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_usage": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_onetime": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "invoice_status_name": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_str": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "schedule": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "invoice-nightly": {
            "post": {
                "description": "<p>\r\n\tThis is an event that is kicked off nightly for each invoice.\r\n<\/p>\r\n<p>\r\n    This event only occurs for unpaid\/overdue invoices. Voided or paid invoices will not fire this event.\r\n<\/p>\r\n<p>\r\n\tInternally, this event is used for updating caches, consistency checks, scheduled events for invoices, etc. <br\/>\r\n\tExternally, you can choose to hook into this event and use it for whatever you would like.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = invoice<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>invoice_id<\/code> of the invoice)<\/li>\r\n\t<li><code>event = nightly<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "The nightly event occurs",
                "operationId": "invoice-nightly",
                "tags": [
                    "invoices"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "invoice": {
                                                "type": "object",
                                                "properties": {
                                                    "invoice_id": {
                                                        "type": "integer"
                                                    },
                                                    "refnumber": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "invoice_index": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "paycycle": {
                                                        "type": "string",
                                                        "enum": [
                                                            "evy",
                                                            "dly",
                                                            "1wk",
                                                            "2wk",
                                                            "116",
                                                            "4wk",
                                                            "8wk",
                                                            "30d",
                                                            "mon",
                                                            "2mn",
                                                            "12w",
                                                            "fst",
                                                            "lst",
                                                            "qtr",
                                                            "six",
                                                            "yrl",
                                                            "2yr",
                                                            "3yr",
                                                            "4yr",
                                                            "5yr",
                                                            "10y",
                                                            "one"
                                                        ]
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "cycle_pre_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_pre_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_this_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_from_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "cycle_post_to_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "url_permalink": {
                                                        "type": "string"
                                                    },
                                                    "url_pdflink": {
                                                        "type": "string"
                                                    },
                                                    "url_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_ttl_paylink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "is_paid": {
                                                        "type": "boolean"
                                                    },
                                                    "is_void": {
                                                        "type": "boolean"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "due_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "paid_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subtotal": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "taxes": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "credits": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "payments": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "writeoffs": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "refunds": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "declines": {
                                                        "type": "integer"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "sum_base": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_usage": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "sum_onetime": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "invoice_status_name": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_str": {
                                                        "type": "string"
                                                    },
                                                    "invoice_status_state": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "schedule": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "invoice",
                                        "context_id": "5098",
                                        "event": "nightly",
                                        "data": {
                                            "invoice": {
                                                "invoice_id": 5098,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "terms_id": 2,
                                                "admin_id": null,
                                                "external_key": null,
                                                "token": "3yfeo482g362",
                                                "refnumber": "5098",
                                                "cycle_pre_from_date": null,
                                                "cycle_pre_to_date": null,
                                                "cycle_this_date": null,
                                                "cycle_post_from_date": null,
                                                "cycle_post_to_date": null,
                                                "bill_addr1": "56 Greene Avenue ",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "New Haven",
                                                "bill_state": "CT ",
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2018-03-07 10:51:57",
                                                "void_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "admin_name": "",
                                                "invoice_status_name": "Unpaid",
                                                "invoice_status_str": "open-unpaid",
                                                "invoice_status_state": "o",
                                                "subtotal": 100,
                                                "total": 100,
                                                "taxes": 0,
                                                "credits": 0,
                                                "payments": 0,
                                                "writeoffs": 0,
                                                "declines": 0,
                                                "applied": 0,
                                                "sum_base": 0,
                                                "sum_usage": 0,
                                                "sum_onetime": 100,
                                                "is_paid": false,
                                                "paid_date": null,
                                                "balance": 100,
                                                "is_void": false,
                                                "due_date": "2018-04-06",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "days_overdue": 0,
                                                "is_overdue": false,
                                                "date": "2018-03-07",
                                                "bill_block": "56 Greene Avenue \r\nNew Haven, CT  \r\nUnited States",
                                                "ship_block": "",
                                                "url_permalink": "http:\/\/dev.chargeover.com\/r\/invoice\/view\/3yfeo482g362",
                                                "url_paylink": "http:\/\/dev.chargeover.com\/r\/trans\/pay\/3yfeo482g362",
                                                "url_pdflink": "http:\/\/dev.chargeover.com\/r\/invoice\/pdf\/3yfeo482g362",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/invoice\/view\/5098",
                                                "line_items": [
                                                    {
                                                        "invoice_id": 5098,
                                                        "item_id": 259,
                                                        "tierset_id": null,
                                                        "admin_id": null,
                                                        "descrip": "Subscription setup fee",
                                                        "line_rate": 100,
                                                        "line_quantity": 1,
                                                        "line_prorate": 1,
                                                        "line_usage": 0,
                                                        "usage_from": 0,
                                                        "usage_to": 0,
                                                        "tax_id": null,
                                                        "tax_group_id": null,
                                                        "tax_taxable": 100,
                                                        "tax_taxed": 0,
                                                        "tax_total": 0,
                                                        "is_base": false,
                                                        "is_free": false,
                                                        "is_setup": false,
                                                        "is_usage": false,
                                                        "is_recurring": false,
                                                        "is_latefee": false,
                                                        "is_taxed": false,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "item_name": "Monthly Service Setup Fee ",
                                                        "item_external_key": null,
                                                        "item_token": "wynuc6g849b8",
                                                        "item_accounting_sku": null,
                                                        "item_units": null,
                                                        "tax_name": null,
                                                        "tax_group_name": null,
                                                        "line_subtotal": 100,
                                                        "line_total": 100,
                                                        "line_item_id": 158,
                                                        "package_line_id": null
                                                    }
                                                ],
                                                "package_id": null,
                                                "customer_id": 38
                                            },
                                            "customer": {
                                                "superuser_id": 387,
                                                "external_key": null,
                                                "token": "y10e3vbl3o9a",
                                                "company": "Karli Marie ",
                                                "bill_addr1": "56 Greene Avenue ",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "New Haven",
                                                "bill_state": "CT ",
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-02-23 13:01:53",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-02-23 13:01:53",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1996,
                                                "total": 2096,
                                                "balance": 100,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/y10e3vbl3o9a",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/y10e3vbl3o9a",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/38",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Karli Marie ",
                                                "ship_block": "",
                                                "bill_block": "56 Greene Avenue \nNew Haven CT\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": null,
                                                "superuser_email": "karli@example.com",
                                                "superuser_token": "44yzf79u168x",
                                                "customer_id": 38,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "karli@example.com"
                                            },
                                            "user": {
                                                "user_id": 387,
                                                "external_key": null,
                                                "first_name": "Karli",
                                                "middle_name_glob": null,
                                                "last_name": "Marie",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": "karli@example.com",
                                                "token": "44yzf79u168x",
                                                "phone": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2018-02-23 13:01:53",
                                                "mod_datetime": "2018-02-23 13:01:53",
                                                "name": "Karli Marie",
                                                "display_as": "Karli Marie",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/387",
                                                "user_type_name": "Billing",
                                                "username": "karli@example.com",
                                                "customer_id": 38
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-status": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package changes status (for example, when a package is cancelled it goes from an \"active\" status to a \"cancelled\" status).\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> value of the package that changed)<\/li>\r\n\t<li><code>event = status<\/code><\/li>\r\n<\/ul>\r\n<br\/>\r\nYour script should examine these attributes to determine the new status of the package:<br\/>\r\n\r\n<ul>\r\n\t<li><code>package.package_status_str<\/code><\/li>\r\n\t<li><code>package.package_status_state<\/code><\/li>\r\n<\/ul>\r\n\r\nYour script may also wish to observe the <code>package.package_status_name<\/code> attribute, which provides a human-friendly status value.\r\n",
                "summary": "A subscription status has changed",
                "operationId": "package-status",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "status_history": {
                                                "type": "object",
                                                "properties": [
                                                    {
                                                        "type": "object",
                                                        "properties": {
                                                            "history_ipaddr": {
                                                                "type": "string"
                                                            },
                                                            "admin_id": {
                                                                "type": "string",
                                                                "nullable": true
                                                            },
                                                            "admin_first_name": {
                                                                "type": "string",
                                                                "nullable": true
                                                            },
                                                            "admin_last_name": {
                                                                "type": "string",
                                                                "nullable": true
                                                            },
                                                            "package_status_name": {
                                                                "type": "string"
                                                            },
                                                            "package_status_str": {
                                                                "type": "string"
                                                            },
                                                            "package_status_state": {
                                                                "type": "string"
                                                            },
                                                            "package_status_datetime": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                ]
                                            },
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "556",
                                        "event": "status",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "ozevrx738b02",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "yrl",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2014-12-09 12:19:52",
                                                "mod_datetime": "2014-12-09 12:19:52",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 0,
                                                "amount_invoiced": 131.4,
                                                "amount_due": 131.4,
                                                "next_invoice_datetime": "2014-12-10 14:15:39",
                                                "package_id": 556,
                                                "customer_id": 1,
                                                "package_status_id": 3,
                                                "package_status_name": "Over Due",
                                                "package_status_str": "active-overdue",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2014-12-09 12:19:52",
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "license": "",
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_units": "",
                                                        "line_item_id": 558
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 348,
                                                "external_key": null,
                                                "token": "b93jhu7p1y56",
                                                "company": "Test Customer",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "currency_id": 1,
                                                "write_datetime": "2014-12-02 14:02:23",
                                                "write_ipaddr": "172.16.16.102",
                                                "mod_datetime": "2014-12-02 14:02:23",
                                                "mod_ipaddr": "172.16.16.102",
                                                "paid": 28.85,
                                                "total": 229.95,
                                                "balance": 201.1,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": "",
                                                "superuser_email": "keith@chargeover.com",
                                                "customer_id": 1
                                            },
                                            "user": {
                                                "user_id": 348,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "keith@chargeover.com",
                                                "phone": "",
                                                "write_datetime": "2014-12-02 14:02:23",
                                                "mod_datetime": "2014-12-02 14:25:13",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "username": "keith@chargeover.com"
                                            }
                                        },
                                        "security_token": "xhtfLO9TumgUs6QRpzr8cKMFPHqAnad2"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-insert": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package is first created.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> value for the newly created package)<\/li>\r\n\t<li><code>event = insert<\/code><\/li>\r\n<\/ul>\r\n",
                "summary": "A subscription is created",
                "operationId": "package-insert",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": 679,
                                        "event": "insert",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": null,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "first_invoice_schedule_template_id": null,
                                                "recurring_invoice_schedule_template_id": null,
                                                "external_key": null,
                                                "token": "qisvig4euvim",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "memo": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "write_datetime": "2025-10-17 08:52:35",
                                                "mod_datetime": "2025-10-17 08:52:35",
                                                "start_datetime": "2025-10-17 08:52:35",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "class_name": "",
                                                "brand_name": "My Test Company",
                                                "amount_collected": 0,
                                                "amount_invoiced": 0,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "amount_overdue": 0,
                                                "next_invoice_datetime": "2025-10-18 00:00:01",
                                                "cancel_reason": null,
                                                "paycycle_name": "Monthly",
                                                "paymethod_name": "Invoice",
                                                "url_self": "https:\/\/example.chargeover.com\/admin\/r\/package\/view\/679",
                                                "package_id": 679,
                                                "customer_id": 1374,
                                                "package_status_id": 2,
                                                "mrr": 0,
                                                "arr": 0,
                                                "paymethod_detail": null,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 670,
                                                        "tierset_id": 1226,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "test",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": 0,
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "custom_4": null,
                                                        "custom_5": null,
                                                        "custom_6": null,
                                                        "custom_7": null,
                                                        "custom_8": null,
                                                        "custom_9": null,
                                                        "custom_10": null,
                                                        "custom_11": null,
                                                        "custom_12": null,
                                                        "custom_13": null,
                                                        "custom_14": null,
                                                        "custom_15": null,
                                                        "custom_16": null,
                                                        "custom_17": null,
                                                        "custom_18": null,
                                                        "custom_19": null,
                                                        "custom_20": null,
                                                        "subscribe_datetime": "2025-10-17 08:52:35",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "My Example Product",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "tytt9eb2c2l6",
                                                        "item_type": "service",
                                                        "item_units": "",
                                                        "item_is_usage": false,
                                                        "line_item_id": 1292,
                                                        "package_id": 679,
                                                        "tierset": {
                                                            "tierset_id": 1226,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 0,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2024-11-25 12:27:09",
                                                            "mod_datetime": "2024-11-25 12:27:09",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 0.00",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        }
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 472,
                                                "external_key": null,
                                                "token": "hchj7ram7bd7",
                                                "company": "Tester McTester",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "Australia",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": "Australia",
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "custom_21": null,
                                                "custom_22": null,
                                                "custom_23": null,
                                                "custom_24": null,
                                                "custom_25": null,
                                                "custom_26": null,
                                                "custom_27": null,
                                                "custom_28": null,
                                                "custom_29": null,
                                                "custom_30": null,
                                                "custom_31": null,
                                                "custom_32": null,
                                                "custom_33": null,
                                                "custom_34": null,
                                                "custom_35": null,
                                                "custom_36": null,
                                                "custom_37": null,
                                                "custom_38": null,
                                                "custom_39": null,
                                                "custom_40": null,
                                                "custom_41": null,
                                                "custom_42": null,
                                                "custom_43": null,
                                                "custom_44": null,
                                                "custom_45": null,
                                                "custom_46": null,
                                                "custom_47": null,
                                                "custom_48": null,
                                                "custom_49": null,
                                                "custom_50": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "no_latefees": false,
                                                "no_procfees": 0,
                                                "write_datetime": "2025-10-17 08:52:25",
                                                "write_ipaddr": "172.30.0.1",
                                                "mod_datetime": "2025-10-17 08:52:25",
                                                "mod_ipaddr": "172.30.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/example.chargeover.com\/r\/statement\/view\/hchj7ram7bd7",
                                                "url_paymethodlink": "https:\/\/example.chargeover.com\/r\/paymethod\/i\/hchj7ram7bd7",
                                                "url_self": "https:\/\/example.chargeover.com\/admin\/r\/customer\/view\/1374",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "ship_block": "Australia",
                                                "bill_block": "Australia",
                                                "superuser_name": "Tester McTester",
                                                "superuser_first_name": "Tester",
                                                "superuser_last_name": "McTester",
                                                "superuser_phone": null,
                                                "superuser_email": null,
                                                "superuser_token": "0cz7zfdh0wd4",
                                                "superuser_title": null,
                                                "customer_id": 1374,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "mrr": 0,
                                                "arr": 0,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "vwaFpnH1rC6Q"
                                            },
                                            "user": {
                                                "user_id": 472,
                                                "external_key": null,
                                                "first_name": "Tester",
                                                "middle_name_glob": null,
                                                "last_name": "McTester",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": null,
                                                "token": "0cz7zfdh0wd4",
                                                "phone": null,
                                                "mobile": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2025-10-17 08:52:25",
                                                "mod_datetime": "2025-10-17 08:52:25",
                                                "name": "Tester McTester",
                                                "display_as": "Tester McTester",
                                                "url_self": "https:\/\/example.chargeover.com\/admin\/r\/contact\/view\/472",
                                                "user_type_name": "Billing",
                                                "username": "vwaFpnH1rC6Q",
                                                "password": null,
                                                "customer_id": 1374
                                            }
                                        },
                                        "security_token": "2QcXwlTpRdh1faD58svPqC0MYjiEZ7NB"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-update": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package is updated.\r\n<\/p>\r\n<p>\r\n\tNote that this event will NOT occur if an individual line on a package is added, upgraded\/downgraded, or removed. <br\/>\r\n\tFor those events, please listen for the package <code>upgrade<\/code> event.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = update<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A subscription is updated",
                "operationId": "package-update",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "7",
                                        "event": "update",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "w8933juxg4m1",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "dly",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-06-12 11:28:43",
                                                "mod_datetime": "2017-06-15 12:18:06",
                                                "start_datetime": "2017-06-12 11:28:43",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 0,
                                                "amount_invoiced": 0,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": "2017-06-16 12:18:06",
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/7",
                                                "package_id": 7,
                                                "customer_id": 2,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 249,
                                                        "tierset_id": 7,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "Test item",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": "0",
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-06-12 11:28:43",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Test Plan ",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "53g1u812b4lq",
                                                        "item_type": "service",
                                                        "item_units": null,
                                                        "item_is_usage": false,
                                                        "line_item_id": 7,
                                                        "package_id": 7
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 348,
                                                "external_key": null,
                                                "token": "7b4ouwl31vd1",
                                                "company": "Test Customer",
                                                "bill_addr1": "123 Oak Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "State",
                                                "bill_postcode": "45467",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 6,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-03-31 10:58:34",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-13 12:49:26",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 90",
                                                "terms_days": 90,
                                                "paid": 21.9,
                                                "total": 21.9,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/7b4ouwl31vd1",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/2",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "123 Oak Street\nCity State 45467\nUnited States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": "",
                                                "superuser_email": "customer@example.com",
                                                "superuser_token": "3w1d88my0a8r",
                                                "customer_id": 2,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "teQdRnjFTPNg"
                                            },
                                            "user": {
                                                "user_id": 348,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "customer@example.com",
                                                "token": "3w1d88my0a8r",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-03-31 10:58:34",
                                                "mod_datetime": "2017-06-13 12:48:56",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/348",
                                                "user_type_name": "Billing",
                                                "username": "teQdRnjFTPNg",
                                                "customer_id": 2
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-generate": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when an invoice is generated from a package.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = generate<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A subscription has generated an invoice",
                "operationId": "package-generate",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "9",
                                        "event": "generate",
                                        "data": {
                                            "package": {
                                                "terms_id": 3,
                                                "class_id": null,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "zt515p3x0489",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-06-15 12:41:22",
                                                "mod_datetime": "2017-06-15 12:41:22",
                                                "start_datetime": "2017-06-15 12:41:22",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 0,
                                                "amount_invoiced": 0,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": "2017-06-16 00:00:01",
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/9",
                                                "package_id": 9,
                                                "customer_id": 8,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": "0",
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-06-15 12:41:22",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "3405ed3c8ef2",
                                                        "item_type": "service",
                                                        "item_units": "",
                                                        "item_is_usage": false,
                                                        "line_item_id": 9,
                                                        "package_id": 9
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 354,
                                                "external_key": null,
                                                "token": "2ygprd9569t4",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "34 Doe Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "New State",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 3,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-13 12:40:51",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "paid": 10.95,
                                                "total": 82.85,
                                                "balance": 71.9,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/2ygprd9569t4",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/8",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "34 Doe Street\nCity New State\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "john@example.com",
                                                "superuser_token": "4e7t9r5a03fv",
                                                "customer_id": 8,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "john@example.com"
                                            },
                                            "user": {
                                                "user_id": 354,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "john@example.com",
                                                "token": "4e7t9r5a03fv",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "mod_datetime": "2017-06-08 15:39:59",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/354",
                                                "user_type_name": "Billing",
                                                "username": "john@example.com",
                                                "customer_id": 8
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-paycycle": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package's payment cycle changes (e.g. from monthly to  yearly)\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = paycycle<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "The invoice cycle for a subscription changes",
                "operationId": "package-paycycle",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "7",
                                        "event": "paycycle",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "w8933juxg4m1",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-06-12 11:28:43",
                                                "mod_datetime": "2017-06-15 12:18:06",
                                                "start_datetime": "2017-06-12 11:28:43",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 0,
                                                "amount_invoiced": 0,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": "2017-07-12 00:00:01",
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/7",
                                                "package_id": 7,
                                                "customer_id": 2,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 249,
                                                        "tierset_id": 7,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "Test item",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": "0",
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-06-12 11:28:43",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Test Plan ",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "53g1u812b4lq",
                                                        "item_type": "service",
                                                        "item_units": null,
                                                        "item_is_usage": false,
                                                        "line_item_id": 7,
                                                        "package_id": 7
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 348,
                                                "external_key": null,
                                                "token": "7b4ouwl31vd1",
                                                "company": "Test Customer",
                                                "bill_addr1": "123 Oak Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "State",
                                                "bill_postcode": "45467",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 6,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-03-31 10:58:34",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-13 12:49:26",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 90",
                                                "terms_days": 90,
                                                "paid": 21.9,
                                                "total": 21.9,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/7b4ouwl31vd1",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/2",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "123 Oak Street\nCity State 45467\nUnited States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": "",
                                                "superuser_email": "customer@example.com",
                                                "superuser_token": "3w1d88my0a8r",
                                                "customer_id": 2,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "teQdRnjFTPNg"
                                            },
                                            "user": {
                                                "user_id": 348,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "customer@example.com",
                                                "token": "3w1d88my0a8r",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-03-31 10:58:34",
                                                "mod_datetime": "2017-06-13 12:48:56",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/348",
                                                "user_type_name": "Billing",
                                                "username": "teQdRnjFTPNg",
                                                "customer_id": 2
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-paymethod": {
            "post": {
                "description": "<p>\n\tThis event occurs when a package's payment method changes (e.g. from credit card to ACH\/bank account)\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = package<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\n\t<li><code>event = paymethod<\/code><\/li>\n<\/ul>\n\n",
                "summary": "The pay method for a subscription changes",
                "operationId": "package-paymethod",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "542",
                                        "event": "paymethod",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": null,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "external_key": null,
                                                "token": "8mv7fnq2q2c2",
                                                "nickname": "",
                                                "paymethod": "crd",
                                                "paycycle": "six",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": 124,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": "",
                                                "custom_4": "",
                                                "custom_5": "",
                                                "custom_6": "",
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "write_datetime": "2023-01-23T09:50:15-06:00",
                                                "mod_datetime": "2023-01-23T11:05:25-06:00",
                                                "start_datetime": "2023-01-23T09:50:15-06:00",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": "2023-05-26T00:00:00-05:00",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "class_name": "",
                                                "brand_name": "My Test Company",
                                                "amount_collected": 0,
                                                "amount_invoiced": 839.07,
                                                "amount_due": 839.07,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "amount_overdue": 0,
                                                "next_invoice_datetime": "2023-05-26T00:00:00-05:00",
                                                "cancel_reason": null,
                                                "paycycle_name": "Every six months",
                                                "paymethod_name": "Credit Card",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/package\/view\/542",
                                                "package_id": 542,
                                                "customer_id": 19753,
                                                "package_status_id": 2,
                                                "mrr": 0,
                                                "arr": 0,
                                                "paymethod_detail": "Visa x0148",
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 165,
                                                        "tierset_id": 4917,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": null,
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": 0,
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "custom_4": null,
                                                        "custom_5": null,
                                                        "custom_6": null,
                                                        "custom_7": null,
                                                        "custom_8": null,
                                                        "custom_9": null,
                                                        "custom_10": null,
                                                        "custom_11": null,
                                                        "custom_12": null,
                                                        "custom_13": null,
                                                        "custom_14": null,
                                                        "custom_15": null,
                                                        "custom_16": null,
                                                        "custom_17": null,
                                                        "custom_18": null,
                                                        "custom_19": null,
                                                        "custom_20": null,
                                                        "subscribe_datetime": "2023-01-23T09:50:15-06:00",
                                                        "subscribe_prorate_from_datetime": "2023-01-25T00:00:00-06:00",
                                                        "subscribe_prorate_to_datetime": "2023-05-25T23:59:59-05:00",
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Test Product",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "4emftybcxm40",
                                                        "item_type": "service",
                                                        "item_units": null,
                                                        "item_is_usage": false,
                                                        "line_item_id": 1056,
                                                        "package_id": 542,
                                                        "tierset": {
                                                            "tierset_id": 4917,
                                                            "currency_id": 1,
                                                            "setup": 0,
                                                            "base": 1269,
                                                            "minimum": 0,
                                                            "percent": 0,
                                                            "paycycle": "evy",
                                                            "pricemodel": "fla",
                                                            "write_datetime": "2023-01-23T09:50:05-06:00",
                                                            "mod_datetime": "2023-01-23T09:50:05-06:00",
                                                            "currency_symbol": "$",
                                                            "currency_iso4217": "USD",
                                                            "setup_formatted": "$ 0.00",
                                                            "base_formatted": "$ 1269.00",
                                                            "minimum_formatted": "$ 0.00",
                                                            "percent_formatted": "0 %",
                                                            "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                            "tiers": []
                                                        }
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 19994,
                                                "external_key": null,
                                                "token": "t8ft0pd43xce",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": "United States",
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "no_latefees": false,
                                                "write_datetime": "2023-01-23T09:28:43-06:00",
                                                "write_ipaddr": "192.168.0.1",
                                                "mod_datetime": "2023-01-23T09:28:43-06:00",
                                                "mod_ipaddr": "192.168.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 2617.21,
                                                "balance": 2617.21,
                                                "url_statementlink": "https:\/\/dev1.chargeover.com\/r\/statement\/view\/t8ft0pd43xce",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.com\/r\/paymethod\/i\/t8ft0pd43xce",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/19753",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "United States",
                                                "bill_block": "United States",
                                                "superuser_name": "Test Prorate",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": null,
                                                "superuser_email": null,
                                                "superuser_token": "bvhbgfpbmoik",
                                                "customer_id": 19753,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "mrr": 523,
                                                "arr": 6276,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "EUbN07tnFVrM"
                                            },
                                            "user": {
                                                "user_id": 19994,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": null,
                                                "token": "bvhbgfpbmoik",
                                                "phone": null,
                                                "mobile": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2023-01-23T09:28:43-06:00",
                                                "mod_datetime": "2023-01-23T09:28:43-06:00",
                                                "name": "Test Prorate",
                                                "display_as": "Test Prorate",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/contact\/view\/19994",
                                                "user_type_name": "Billing",
                                                "username": "EUbN07tnFVrM",
                                                "password": null,
                                                "customer_id": 19753
                                            }
                                        },
                                        "security_token": "cf64bcbf80c3e65cd813aaaebff32fa7"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-cancel": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package is cancelled.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = cancel<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A subscription is cancelled",
                "operationId": "package-cancel",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "revision": {
                                                "type": "object",
                                                "properties": {
                                                    "revision_id": {
                                                        "type": "integer"
                                                    },
                                                    "revision_note": {
                                                        "type": "string"
                                                    },
                                                    "revision_datetime": {
                                                        "type": "string"
                                                    },
                                                    "integration_id": {
                                                        "type": "integer"
                                                    },
                                                    "from_rollup": {
                                                        "type": "string"
                                                    },
                                                    "from_api": {
                                                        "type": "boolean"
                                                    },
                                                    "from_user": {
                                                        "type": "boolean"
                                                    },
                                                    "from_admin": {
                                                        "type": "boolean"
                                                    },
                                                    "from_integration": {
                                                        "type": "boolean"
                                                    },
                                                    "from_jsonp": {
                                                        "type": "boolean"
                                                    },
                                                    "from_cron": {
                                                        "type": "boolean"
                                                    },
                                                    "url_path": {
                                                        "type": "string"
                                                    },
                                                    "user_id": {
                                                        "type": "string"
                                                    },
                                                    "user_name": {
                                                        "type": "string"
                                                    },
                                                    "user_email": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "2",
                                        "event": "cancel",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "10v34wl1f096",
                                                "nickname": "",
                                                "paymethod": "ach",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": 1,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-04-11 16:56:50",
                                                "mod_datetime": "2017-04-11 16:56:50",
                                                "start_datetime": "2017-04-11 16:56:50",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": "2017-06-15 11:12:46",
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 32.85,
                                                "amount_invoiced": 32.85,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": null,
                                                "cancel_reason": "Unknown or unspecified reason",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/2",
                                                "package_id": 2,
                                                "customer_id": 3,
                                                "package_status_id": 5,
                                                "package_status_name": "Canceled manually",
                                                "package_status_str": "canceled-manual",
                                                "package_status_state": "c",
                                                "line_items": [
                                                    {
                                                        "item_id": 1,
                                                        "tierset_id": 1,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "This is a ChargeOver test item.",
                                                        "line_quantity": 3,
                                                        "trial_days": 0,
                                                        "trial_recurs": "0",
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-04-11 16:56:50",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": "2017-06-15 11:12:46",
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "My Test Service Plan",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "3405ed3c8ef2",
                                                        "item_type": "service",
                                                        "item_units": "",
                                                        "item_is_usage": false,
                                                        "line_item_id": 2,
                                                        "package_id": 2
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 355,
                                                "external_key": null,
                                                "token": "cw3457d7szn7",
                                                "company": "Test Customer , LLC",
                                                "bill_addr1": "45 Somewhere Avenue",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "State",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 1,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-04-06 14:35:18",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-13 12:53:13",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 15",
                                                "terms_days": 15,
                                                "paid": 65.7,
                                                "total": 90.7,
                                                "balance": 25,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/cw3457d7szn7",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/3",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer , LLC",
                                                "ship_block": "",
                                                "bill_block": "45 Somewhere Avenue\nCity State\nUnited States",
                                                "superuser_name": "Jane Doe",
                                                "superuser_first_name": "Jane",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "",
                                                "superuser_token": "xp40296s7en2",
                                                "customer_id": 3,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "prt8anm9wqfd"
                                            },
                                            "user": {
                                                "user_id": 355,
                                                "external_key": null,
                                                "first_name": "Jane",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "",
                                                "token": "xp40296s7en2",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-13 12:52:40",
                                                "mod_datetime": "2017-06-13 12:52:40",
                                                "name": "Jane Doe",
                                                "display_as": "Jane Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/355",
                                                "user_type_name": "Billing",
                                                "username": "prt8anm9wqfd",
                                                "customer_id": 3
                                            },
                                            "revision": {
                                                "revision_id": 16063,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "integration_id": null,
                                                "from_user": false,
                                                "from_admin": true,
                                                "from_integration": false,
                                                "from_jsonp": false,
                                                "from_cron": false,
                                                "from_api": false,
                                                "url_path": "o",
                                                "revision_datetime": "2017-06-13 12:52:40",
                                                "revision_note": "Subscription cancelled.",
                                                "admin_email": "jane.doe@chargeover.com",
                                                "admin_name": "Jane Doe"
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-updowngrade": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package is upgraded or downgraded (i.e. a line on the package is added, removed, or changed in any way)\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = upgrade<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A subscription is upgraded or downgraded",
                "operationId": "package-updowngrade",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "old_line_item": {
                                                "type": "object",
                                                "properties": {
                                                    "line_item_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "item_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "item_name": {
                                                        "type": "string"
                                                    },
                                                    "item_external_key": {
                                                        "type": "string"
                                                    },
                                                    "item_accounting_sku": {
                                                        "type": "string"
                                                    },
                                                    "item_token": {
                                                        "type": "string"
                                                    },
                                                    "item_units": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "item_type": {
                                                        "type": "string"
                                                    },
                                                    "item_is_usage": {
                                                        "type": "bool"
                                                    },
                                                    "line_item_bundle_id": {
                                                        "type": "integer"
                                                    },
                                                    "tierset_id": {
                                                        "type": "integer"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "descrip": {
                                                        "type": "string"
                                                    },
                                                    "trial_days": {
                                                        "type": "integer"
                                                    },
                                                    "trial_units": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "trial_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "expire_datetime": {
                                                        "type": "string"
                                                    },
                                                    "expire_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "line_quantity": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subscribe_datetime": {
                                                        "type": "string"
                                                    },
                                                    "subscribe_prorate_from_datetime": {
                                                        "type": "string"
                                                    },
                                                    "subscribe_prorate_to_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "tierset": {
                                                        "type": "object",
                                                        "properties": {
                                                            "tierset_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "setup": {
                                                                "type": "number"
                                                            },
                                                            "base": {
                                                                "type": "number"
                                                            },
                                                            "minimum": {
                                                                "type": "number"
                                                            },
                                                            "percent": {
                                                                "type": "number"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "pricemodel": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "setup_formatted": {
                                                                "type": "string"
                                                            },
                                                            "base_formatted": {
                                                                "type": "string"
                                                            },
                                                            "minimum_formatted": {
                                                                "type": "string"
                                                            },
                                                            "percent_formatted": {
                                                                "type": "string"
                                                            },
                                                            "pricemodel_desc": {
                                                                "type": "string"
                                                            },
                                                            "tiers": {
                                                                "type": "object"
                                                            }
                                                        }
                                                    },
                                                    "scheduled_lines": {
                                                        "type": "array"
                                                    }
                                                }
                                            },
                                            "new_line_item": {
                                                "type": "object",
                                                "properties": {
                                                    "line_item_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "item_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "item_name": {
                                                        "type": "string"
                                                    },
                                                    "item_external_key": {
                                                        "type": "string"
                                                    },
                                                    "item_accounting_sku": {
                                                        "type": "string"
                                                    },
                                                    "item_token": {
                                                        "type": "string"
                                                    },
                                                    "item_units": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "item_type": {
                                                        "type": "string"
                                                    },
                                                    "item_is_usage": {
                                                        "type": "bool"
                                                    },
                                                    "line_item_bundle_id": {
                                                        "type": "integer"
                                                    },
                                                    "tierset_id": {
                                                        "type": "integer"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "descrip": {
                                                        "type": "string"
                                                    },
                                                    "trial_days": {
                                                        "type": "integer"
                                                    },
                                                    "trial_units": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "trial_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "expire_datetime": {
                                                        "type": "string"
                                                    },
                                                    "expire_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "line_quantity": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "subscribe_datetime": {
                                                        "type": "string"
                                                    },
                                                    "subscribe_prorate_from_datetime": {
                                                        "type": "string"
                                                    },
                                                    "subscribe_prorate_to_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "tierset": {
                                                        "type": "object",
                                                        "properties": {
                                                            "tierset_id": {
                                                                "type": "integer"
                                                            },
                                                            "currency_id": {
                                                                "type": "integer"
                                                            },
                                                            "setup": {
                                                                "type": "number"
                                                            },
                                                            "base": {
                                                                "type": "number"
                                                            },
                                                            "minimum": {
                                                                "type": "number"
                                                            },
                                                            "percent": {
                                                                "type": "number"
                                                            },
                                                            "paycycle": {
                                                                "type": "string"
                                                            },
                                                            "pricemodel": {
                                                                "type": "string"
                                                            },
                                                            "write_datetime": {
                                                                "type": "string"
                                                            },
                                                            "mod_datetime": {
                                                                "type": "string"
                                                            },
                                                            "currency_symbol": {
                                                                "type": "string"
                                                            },
                                                            "currency_iso4217": {
                                                                "type": "string"
                                                            },
                                                            "setup_formatted": {
                                                                "type": "string"
                                                            },
                                                            "base_formatted": {
                                                                "type": "string"
                                                            },
                                                            "minimum_formatted": {
                                                                "type": "string"
                                                            },
                                                            "percent_formatted": {
                                                                "type": "string"
                                                            },
                                                            "pricemodel_desc": {
                                                                "type": "string"
                                                            },
                                                            "tiers": {
                                                                "type": "object"
                                                            }
                                                        }
                                                    },
                                                    "scheduled_lines": {
                                                        "type": "array"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "670",
                                        "event": "upgrade",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "p0julwxm3vbn",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2014-12-20 12:58:39",
                                                "mod_datetime": "2014-12-20 12:59:35",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "amount_collected": 0,
                                                "amount_invoiced": 10.95,
                                                "amount_due": 10.95,
                                                "next_invoice_datetime": "2015-01-20 00:00:01",
                                                "package_id": 670,
                                                "customer_id": 160,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a"
                                            },
                                            "customer": {
                                                "superuser_id": 370,
                                                "external_key": null,
                                                "token": "lrqtxpimw5vo",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "72 E Blue Grass Road",
                                                "bill_addr2": "Suite D",
                                                "bill_addr3": null,
                                                "bill_city": "Mt Pleasant",
                                                "bill_state": "MI",
                                                "bill_postcode": "48858",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "currency_id": 1,
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "write_ipaddr": "172.16.4.176",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "mod_ipaddr": "172.16.4.176",
                                                "paid": 0,
                                                "total": 52.85,
                                                "balance": 52.85,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/signup\/r\/paymethod\/i\/lrqtxpimw5vo",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "72 E Blue Grass Road\nSuite D\nMt Pleasant MI 48858\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "860-634-1602",
                                                "superuser_email": "johndoe@chargeover.com",
                                                "customer_id": 160
                                            },
                                            "user": {
                                                "user_id": 370,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "johndoe@chargeover.com",
                                                "phone": "860-634-1602",
                                                "write_datetime": "2014-12-20 12:29:31",
                                                "mod_datetime": "2014-12-20 12:29:31",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "username": "johndoe@chargeover.com"
                                            },
                                            "old_line_item": {
                                                "item_id": 1,
                                                "tierset_id": 1,
                                                "external_key": null,
                                                "nickname": "",
                                                "descrip": "This is a ChargeOver test item.",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "subscribe_datetime": "2014-12-20 12:58:39",
                                                "cancel_datetime": "2014-12-20 12:59:35",
                                                "expire_datetime": null,
                                                "expire_recurs": null,
                                                "license": "",
                                                "item_name": "My Test Service Plan",
                                                "item_external_key": null,
                                                "item_accounting_sku": null,
                                                "item_units": "",
                                                "line_item_id": 713
                                            },
                                            "new_line_item": {
                                                "item_id": 1,
                                                "tierset_id": 1,
                                                "external_key": null,
                                                "nickname": "",
                                                "descrip": "Updated line description.",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "subscribe_datetime": "2014-12-20 12:59:35",
                                                "cancel_datetime": null,
                                                "expire_datetime": null,
                                                "expire_recurs": null,
                                                "license": "",
                                                "item_name": "My Test Service Plan",
                                                "item_external_key": null,
                                                "item_accounting_sku": null,
                                                "item_units": "",
                                                "line_item_id": 714
                                            }
                                        },
                                        "security_token": "Ma4hWVUNLx0O5zfmJSjQ3AgwpRdY7qu1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-suspend": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package is suspended.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = suspend<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A subscription is suspended",
                "operationId": "package-suspend",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "38",
                                        "event": "suspend",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": 4,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "external_key": null,
                                                "token": "4u2y9nm541dg",
                                                "nickname": "",
                                                "paymethod": "crd",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": 18,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2018-03-01 12:02:07",
                                                "mod_datetime": "2018-03-01 12:02:07",
                                                "start_datetime": "2018-03-01 12:02:07",
                                                "suspendfrom_datetime": "2018-04-13 10:19:42",
                                                "suspendto_datetime": "2038-01-01 00:00:01",
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "class_name": "",
                                                "amount_collected": 50,
                                                "amount_invoiced": 50,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": null,
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/38",
                                                "package_id": 38,
                                                "customer_id": 37,
                                                "package_status_id": 8,
                                                "package_status_name": "Suspended",
                                                "package_status_str": "suspended-suspended",
                                                "package_status_state": "s",
                                                "line_items": [
                                                    {
                                                        "item_id": 257,
                                                        "tierset_id": 24,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "TEXTING SERVICE:\r\n500 outbound\/sent text messages a month.",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": 0,
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2018-03-01 12:02:07",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "500 Text Messages Monthly Service",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "28e4wuaik092",
                                                        "item_type": "service",
                                                        "item_units": "",
                                                        "item_is_usage": false,
                                                        "line_item_id": 47,
                                                        "package_id": 38
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 386,
                                                "external_key": null,
                                                "token": "46661z16tliu",
                                                "company": "Connecticut Flooring Company",
                                                "bill_addr1": "74 Cowles Avenue",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Willington",
                                                "bill_state": "CT",
                                                "bill_postcode": "06279",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": 0,
                                                "custom_1": "",
                                                "custom_2": "",
                                                "custom_3": "",
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 4,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": "crd",
                                                "default_creditcard_id": 18,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-02-22 10:52:51",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-03-01 11:56:38",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1763,
                                                "total": 3243,
                                                "balance": 1480,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/46661z16tliu",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/46661z16tliu",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/37",
                                                "admin_name": "Dave Tyson",
                                                "admin_email": "dave@example.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Connecticut Flooring Company",
                                                "ship_block": "",
                                                "bill_block": "74 Cowles Avenue\nWillington CT 06279\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": "",
                                                "superuser_email": "karli@example.com",
                                                "superuser_token": "gdz737x5ye81",
                                                "customer_id": 37,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "dCMntSrhFQB7"
                                            },
                                            "user": {
                                                "user_id": 386,
                                                "external_key": null,
                                                "first_name": "Karli",
                                                "middle_name_glob": null,
                                                "last_name": "Marie",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "karli@example.com",
                                                "token": "gdz737x5ye81",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2018-02-22 10:52:51",
                                                "mod_datetime": "2018-03-01 11:57:09",
                                                "name": "Karli Marie",
                                                "display_as": "Karli Marie",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/386",
                                                "user_type_name": "Billing",
                                                "username": "dCMntSrhFQB7",
                                                "customer_id": 37
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-unsuspend": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a package is unsuspended (removed from a suspended state).\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\r\n\t<li><code>event = unsuspend<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A subscription is unsuspended",
                "operationId": "package-unsuspend",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "37",
                                        "event": "unsuspend",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": 0,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "external_key": null,
                                                "token": "c7xpuko238ry",
                                                "nickname": "",
                                                "paymethod": "inv",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": null,
                                                "tokenized_id": null,
                                                "custom_1": "",
                                                "custom_2": "",
                                                "custom_3": "",
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2018-03-01 11:27:59",
                                                "mod_datetime": "2018-03-01 11:59:20",
                                                "start_datetime": "2018-03-01 11:27:59",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "class_name": "",
                                                "amount_collected": 1060,
                                                "amount_invoiced": 1060,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": "2018-05-01 00:00:01",
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/37",
                                                "package_id": 37,
                                                "customer_id": 37,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 258,
                                                        "tierset_id": 27,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "Business Federal Income Tax Return - Standard Client",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": 0,
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2018-03-01 11:27:59",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Business Federal Tax Return - Standard",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "z48kw2colj7y",
                                                        "item_type": "service",
                                                        "item_units": "",
                                                        "item_is_usage": false,
                                                        "line_item_id": 46,
                                                        "package_id": 37
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 386,
                                                "external_key": null,
                                                "token": "46661z16tliu",
                                                "company": "Connecticut Flooring Company",
                                                "bill_addr1": "74 Cowles Avenue",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Willington",
                                                "bill_state": "CT",
                                                "bill_postcode": "06279",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": 0,
                                                "custom_1": "",
                                                "custom_2": "",
                                                "custom_3": "",
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 4,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": "crd",
                                                "default_creditcard_id": 18,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-02-22 10:52:51",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-03-01 11:56:38",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1763,
                                                "total": 3243,
                                                "balance": 1480,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/46661z16tliu",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/46661z16tliu",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/37",
                                                "admin_name": "Dave Tyson",
                                                "admin_email": "dave@example.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Connecticut Flooring Company",
                                                "ship_block": "",
                                                "bill_block": "74 Cowles Avenue\nWillington CT 06279\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": "",
                                                "superuser_email": "karli@example.com",
                                                "superuser_token": "gdz737x5ye81",
                                                "customer_id": 37,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "dCMntSrhFQB7"
                                            },
                                            "user": {
                                                "user_id": 386,
                                                "external_key": null,
                                                "first_name": "Karli",
                                                "middle_name_glob": null,
                                                "last_name": "Marie",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "karli@example.com",
                                                "token": "gdz737x5ye81",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2018-02-22 10:52:51",
                                                "mod_datetime": "2018-03-01 11:57:09",
                                                "name": "Karli Marie",
                                                "display_as": "Karli Marie",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/386",
                                                "user_type_name": "Billing",
                                                "username": "dCMntSrhFQB7",
                                                "customer_id": 37
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-nightly": {
            "post": {
                "description": "<p>\r\n\tThis is an event that is kicked off nightly for each subscription.\r\n<\/p>\r\n<p>\r\n    This event only occurs for active subscriptions. Cancelled subscriptions will not fire this event.\r\n<\/p>\r\n<p>\r\n\tInternally, this event is used for updating caches, consistency checks, scheduled events for subscriptions, etc. <br\/>\r\n\tExternally, you can choose to hook into this event and use it for whatever you would like.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = package<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the subscription)<\/li>\r\n\t<li><code>event = nightly<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "The nightly event occurs",
                "operationId": "package-nightly",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "package",
                                        "context_id": "25",
                                        "event": "nightly",
                                        "data": {
                                            "package": {
                                                "terms_id": 2,
                                                "class_id": null,
                                                "admin_id": 3,
                                                "currency_id": 1,
                                                "brand_id": 1,
                                                "external_key": null,
                                                "token": "67obsv258i2a",
                                                "nickname": "",
                                                "paymethod": "ach",
                                                "paycycle": "mon",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": null,
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "creditcard_id": null,
                                                "ach_id": 5,
                                                "tokenized_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "write_datetime": "2017-11-27 15:24:38",
                                                "mod_datetime": "2017-11-27 15:24:38",
                                                "start_datetime": "2017-11-27 15:24:38",
                                                "suspendfrom_datetime": null,
                                                "suspendto_datetime": null,
                                                "cancel_datetime": null,
                                                "holduntil_datetime": null,
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "class_name": "",
                                                "amount_collected": 600,
                                                "amount_invoiced": 600,
                                                "amount_due": 0,
                                                "is_overdue": false,
                                                "days_overdue": 0,
                                                "next_invoice_datetime": "2018-03-27 00:00:01",
                                                "cancel_reason": null,
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/package\/view\/25",
                                                "package_id": 25,
                                                "customer_id": 24,
                                                "package_status_id": 2,
                                                "package_status_name": "Current",
                                                "package_status_str": "active-current",
                                                "package_status_state": "a",
                                                "line_items": [
                                                    {
                                                        "item_id": 259,
                                                        "tierset_id": 26,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "Subscription setup fee",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": 0,
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-11-27 15:24:38",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Monthly Service Setup Fee ",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "wynuc6g849b8",
                                                        "item_type": "service",
                                                        "item_units": null,
                                                        "item_is_usage": false,
                                                        "line_item_id": 31,
                                                        "package_id": 25
                                                    },
                                                    {
                                                        "item_id": 253,
                                                        "tierset_id": 20,
                                                        "admin_id": null,
                                                        "external_key": null,
                                                        "nickname": "",
                                                        "descrip": "This is a test plan",
                                                        "line_quantity": 1,
                                                        "trial_days": 0,
                                                        "trial_recurs": 0,
                                                        "trial_units": 0,
                                                        "custom_1": null,
                                                        "custom_2": null,
                                                        "custom_3": null,
                                                        "subscribe_datetime": "2017-11-27 15:24:38",
                                                        "subscribe_prorate_from_datetime": null,
                                                        "subscribe_prorate_to_datetime": null,
                                                        "cancel_datetime": null,
                                                        "expire_datetime": null,
                                                        "expire_recurs": null,
                                                        "item_name": "Premium Gold Plan",
                                                        "item_external_key": null,
                                                        "item_accounting_sku": null,
                                                        "item_token": "a69y82p1s2jv",
                                                        "item_type": "service",
                                                        "item_units": "",
                                                        "item_is_usage": false,
                                                        "line_item_id": 32,
                                                        "package_id": 25
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 371,
                                                "external_key": null,
                                                "token": "89vu31psg46e",
                                                "company": "Alexander Sanders",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-09-23 12:58:19",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-09-23 12:58:19",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1150,
                                                "total": 2650,
                                                "balance": 1500,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/89vu31psg46e",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/89vu31psg46e",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/24",
                                                "admin_name": "ChargeOver Support",
                                                "admin_email": "support@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Alexander Sanders",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "Alexander Sanders",
                                                "superuser_first_name": "Alexander",
                                                "superuser_last_name": "Sanders",
                                                "superuser_phone": "678-890-3453",
                                                "superuser_email": "alex@example.com",
                                                "superuser_token": "q159fshr4x53",
                                                "customer_id": 24,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 2,
                                                "customer_status_name": "Over Due",
                                                "customer_status_str": "active-overdue",
                                                "customer_status_state": "a",
                                                "superuser_username": "alex@example.com"
                                            },
                                            "user": {
                                                "user_id": 371,
                                                "external_key": null,
                                                "first_name": "Alexander",
                                                "middle_name_glob": null,
                                                "last_name": "Sanders",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "alex@example.com",
                                                "token": "q159fshr4x53",
                                                "phone": "678-890-3453",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-09-23 12:58:19",
                                                "mod_datetime": "2017-09-23 12:58:19",
                                                "name": "Alexander Sanders",
                                                "display_as": "Alexander Sanders",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/371",
                                                "user_type_name": "Billing",
                                                "username": "alex@example.com",
                                                "customer_id": 24
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-hold": {
            "post": {
                "description": "<p>\n\tThis event occurs when a subscription is configured to delay invoicing.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = package<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\n\t<li><code>event = hold<\/code><\/li>\n<\/ul>\n",
                "summary": "The subscription invoice generation is delayed",
                "operationId": "package-hold",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "package": {
                                            "terms_id": 2,
                                            "class_id": null,
                                            "admin_id": 1,
                                            "currency_id": 1,
                                            "brand_id": 1,
                                            "external_key": null,
                                            "token": "5fgbmvwuz3p6",
                                            "nickname": "",
                                            "paymethod": "inv",
                                            "paycycle": "mon",
                                            "bill_addr1": null,
                                            "bill_addr2": null,
                                            "bill_addr3": null,
                                            "bill_city": null,
                                            "bill_state": null,
                                            "bill_postcode": null,
                                            "bill_country": null,
                                            "bill_notes": null,
                                            "ship_addr1": null,
                                            "ship_addr2": null,
                                            "ship_addr3": null,
                                            "ship_city": null,
                                            "ship_state": null,
                                            "ship_postcode": null,
                                            "ship_country": null,
                                            "ship_notes": null,
                                            "creditcard_id": null,
                                            "ach_id": null,
                                            "tokenized_id": null,
                                            "custom_1": null,
                                            "custom_2": null,
                                            "custom_3": null,
                                            "custom_4": null,
                                            "custom_5": null,
                                            "custom_6": null,
                                            "custom_7": null,
                                            "custom_8": null,
                                            "custom_9": null,
                                            "custom_10": null,
                                            "custom_11": null,
                                            "custom_12": null,
                                            "custom_13": null,
                                            "custom_14": null,
                                            "custom_15": null,
                                            "custom_16": null,
                                            "custom_17": null,
                                            "custom_18": null,
                                            "custom_19": null,
                                            "custom_20": null,
                                            "write_datetime": "2023-02-23 12:40:15",
                                            "mod_datetime": "2023-02-23 12:40:15",
                                            "start_datetime": "2023-02-23 12:40:15",
                                            "suspendfrom_datetime": null,
                                            "suspendto_datetime": null,
                                            "cancel_datetime": null,
                                            "holduntil_datetime": "2023-03-31 00:00:00",
                                            "terms_name": "Net 30",
                                            "terms_days": 30,
                                            "currency_symbol": "$",
                                            "currency_iso4217": "USD",
                                            "class_name": "",
                                            "brand_name": "Default",
                                            "amount_collected": 0,
                                            "amount_invoiced": 0,
                                            "amount_due": 0,
                                            "is_overdue": false,
                                            "days_overdue": 0,
                                            "amount_overdue": 0,
                                            "next_invoice_datetime": "2023-03-31 00:00:00",
                                            "cancel_reason": null,
                                            "paycycle_name": "Monthly",
                                            "paymethod_name": "Invoice",
                                            "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/package\/view\/37",
                                            "package_id": 37,
                                            "customer_id": 272,
                                            "package_status_id": 2,
                                            "mrr": 0,
                                            "arr": 0,
                                            "paymethod_detail": "Invoice",
                                            "package_status_name": "Current",
                                            "package_status_str": "active-current",
                                            "package_status_state": "a",
                                            "line_items": [
                                                {
                                                    "item_id": 1,
                                                    "tierset_id": 3,
                                                    "admin_id": null,
                                                    "external_key": null,
                                                    "nickname": "",
                                                    "descrip": "This is a ChargeOver test item.",
                                                    "line_quantity": 1,
                                                    "trial_days": 0,
                                                    "trial_recurs": 0,
                                                    "trial_units": 0,
                                                    "custom_1": null,
                                                    "custom_2": null,
                                                    "custom_3": null,
                                                    "custom_4": null,
                                                    "custom_5": null,
                                                    "custom_6": null,
                                                    "custom_7": null,
                                                    "custom_8": null,
                                                    "custom_9": null,
                                                    "custom_10": null,
                                                    "custom_11": null,
                                                    "custom_12": null,
                                                    "custom_13": null,
                                                    "custom_14": null,
                                                    "custom_15": null,
                                                    "custom_16": null,
                                                    "custom_17": null,
                                                    "custom_18": null,
                                                    "custom_19": null,
                                                    "custom_20": null,
                                                    "subscribe_datetime": "2023-02-23 12:40:15",
                                                    "subscribe_prorate_from_datetime": null,
                                                    "subscribe_prorate_to_datetime": null,
                                                    "cancel_datetime": null,
                                                    "expire_datetime": null,
                                                    "expire_recurs": null,
                                                    "item_name": "My Test Service Plan",
                                                    "item_external_key": null,
                                                    "item_accounting_sku": null,
                                                    "item_token": "259b2eebdb33",
                                                    "item_type": "service",
                                                    "item_units": "",
                                                    "item_is_usage": false,
                                                    "line_item_id": 39,
                                                    "package_id": 37,
                                                    "tierset": {
                                                        "tierset_id": 3,
                                                        "currency_id": 1,
                                                        "setup": 0,
                                                        "base": 10.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2022-11-11 10:56:11",
                                                        "mod_datetime": "2022-11-11 10:56:11",
                                                        "currency_symbol": "$",
                                                        "currency_iso4217": "USD",
                                                        "setup_formatted": "$ 0.00",
                                                        "base_formatted": "$ 10.95",
                                                        "minimum_formatted": "$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    }
                                                }
                                            ]
                                        },
                                        "customer": {
                                            "superuser_id": 266,
                                            "external_key": null,
                                            "token": "536pxrz7yn3v",
                                            "company": "Test Customer",
                                            "bill_addr1": null,
                                            "bill_addr2": null,
                                            "bill_addr3": null,
                                            "bill_city": null,
                                            "bill_state": null,
                                            "bill_postcode": null,
                                            "bill_country": "United States",
                                            "bill_notes": null,
                                            "ship_addr1": null,
                                            "ship_addr2": null,
                                            "ship_addr3": null,
                                            "ship_city": null,
                                            "ship_state": null,
                                            "ship_postcode": null,
                                            "ship_country": null,
                                            "ship_notes": null,
                                            "terms_id": 2,
                                            "class_id": null,
                                            "custom_1": null,
                                            "custom_2": null,
                                            "custom_3": null,
                                            "custom_4": null,
                                            "custom_5": null,
                                            "custom_6": null,
                                            "custom_7": null,
                                            "custom_8": null,
                                            "custom_9": null,
                                            "custom_10": null,
                                            "custom_11": null,
                                            "custom_12": null,
                                            "custom_13": null,
                                            "custom_14": null,
                                            "custom_15": null,
                                            "custom_16": null,
                                            "custom_17": null,
                                            "custom_18": null,
                                            "custom_19": null,
                                            "custom_20": null,
                                            "admin_id": 1,
                                            "campaign_id": null,
                                            "currency_id": 1,
                                            "language_id": 1,
                                            "brand_id": 1,
                                            "default_paymethod": null,
                                            "default_creditcard_id": null,
                                            "default_ach_id": null,
                                            "tax_ident": "",
                                            "no_taxes": false,
                                            "no_dunning": false,
                                            "no_latefees": false,
                                            "write_datetime": "2023-02-23 12:38:37",
                                            "write_ipaddr": "172.29.0.1",
                                            "mod_datetime": "2023-02-23 12:38:37",
                                            "mod_ipaddr": "172.29.0.1",
                                            "terms_name": "Net 30",
                                            "terms_days": 30,
                                            "class_name": "",
                                            "paid": 0,
                                            "total": 0,
                                            "balance": 0,
                                            "url_statementlink": "https:\/\/dev1.chargeover.test\/r\/statement\/view\/536pxrz7yn3v",
                                            "url_paymethodlink": "https:\/\/dev1.chargeover.test\/r\/paymethod\/i\/536pxrz7yn3v",
                                            "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/customer\/view\/272",
                                            "admin_name": "Jane Doe",
                                            "admin_email": "support@ChargeOver.com",
                                            "currency_symbol": "$",
                                            "currency_iso4217": "USD",
                                            "display_as": "Test Customer",
                                            "ship_block": "",
                                            "bill_block": "United States",
                                            "superuser_name": "Test Customer",
                                            "superuser_first_name": "Test",
                                            "superuser_last_name": "Customer",
                                            "superuser_phone": null,
                                            "superuser_email": null,
                                            "superuser_token": "im9e95ankq2e",
                                            "customer_id": 272,
                                            "parent_customer_id": null,
                                            "invoice_delivery": "email",
                                            "dunning_delivery": "email",
                                            "customer_status_id": 1,
                                            "mrr": 0,
                                            "arr": 0,
                                            "customer_status_name": "Current",
                                            "customer_status_str": "active-current",
                                            "customer_status_state": "a",
                                            "superuser_username": "bEg5i9F0Opnj"
                                        },
                                        "user": {
                                            "user_id": 266,
                                            "external_key": null,
                                            "first_name": "Test",
                                            "middle_name_glob": null,
                                            "last_name": "Customer",
                                            "name_suffix": null,
                                            "title": null,
                                            "email": null,
                                            "token": "im9e95ankq2e",
                                            "phone": null,
                                            "mobile": null,
                                            "custom_1": null,
                                            "custom_2": null,
                                            "custom_3": null,
                                            "custom_4": null,
                                            "custom_5": null,
                                            "user_type_id": 1,
                                            "write_datetime": "2023-02-23 12:38:38",
                                            "mod_datetime": "2023-02-23 12:38:38",
                                            "name": "Test Customer",
                                            "display_as": "Test Customer",
                                            "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/contact\/view\/266",
                                            "user_type_name": "Billing",
                                            "username": "bEg5i9F0Opnj",
                                            "password": null,
                                            "customer_id": 272
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "package-uncancel": {
            "post": {
                "description": "<p>\n\tThis event occurs when a cancelled subscription is switched back to an active status.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = package<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>package_id<\/code> of the package)<\/li>\n\t<li><code>event = uncancel<\/code><\/li>\n<\/ul>\n",
                "summary": "The cancelled subscription is un-canceled",
                "operationId": "package-uncancel",
                "tags": [
                    "subscriptions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "package": {
                                                "type": "object",
                                                "properties": {
                                                    "package_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_name": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "paymethod": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_name": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_detail": {
                                                        "type": "string"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_notes": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_notes": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount_collected": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_invoiced": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_due": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "amount_overdue": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "suspendfrom_datetime": {
                                                        "type": "string"
                                                    },
                                                    "suspendto_datetime": {
                                                        "type": "string"
                                                    },
                                                    "next_invoice_datetime": {
                                                        "type": "string"
                                                    },
                                                    "is_overdue": {
                                                        "type": "boolean"
                                                    },
                                                    "days_overdue": {
                                                        "type": "integer"
                                                    },
                                                    "start_datetime": {
                                                        "type": "string"
                                                    },
                                                    "cancel_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "holduntil_datetime": {
                                                        "type": "string"
                                                    },
                                                    "package_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "package_status_name": {
                                                        "type": "string"
                                                    },
                                                    "package_status_str": {
                                                        "type": "string"
                                                    },
                                                    "package_status_state": {
                                                        "type": "string"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "cancel_reason": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "paycycle": {
                                                        "type": "string"
                                                    },
                                                    "paycycle_name": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "first_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "recurring_invoice_schedule_template_id": {
                                                        "type": "integer"
                                                    },
                                                    "line_items": {
                                                        "type": "array"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "package": {
                                            "terms_id": 2,
                                            "class_id": null,
                                            "admin_id": 1,
                                            "currency_id": 1,
                                            "brand_id": 1,
                                            "external_key": null,
                                            "token": "5fgbmvwuz3p6",
                                            "nickname": "",
                                            "paymethod": "inv",
                                            "paycycle": "mon",
                                            "bill_addr1": null,
                                            "bill_addr2": null,
                                            "bill_addr3": null,
                                            "bill_city": null,
                                            "bill_state": null,
                                            "bill_postcode": null,
                                            "bill_country": null,
                                            "bill_notes": null,
                                            "ship_addr1": null,
                                            "ship_addr2": null,
                                            "ship_addr3": null,
                                            "ship_city": null,
                                            "ship_state": null,
                                            "ship_postcode": null,
                                            "ship_country": null,
                                            "ship_notes": null,
                                            "creditcard_id": null,
                                            "ach_id": null,
                                            "tokenized_id": null,
                                            "custom_1": null,
                                            "custom_2": null,
                                            "custom_3": null,
                                            "custom_4": null,
                                            "custom_5": null,
                                            "custom_6": null,
                                            "custom_7": null,
                                            "custom_8": null,
                                            "custom_9": null,
                                            "custom_10": null,
                                            "custom_11": null,
                                            "custom_12": null,
                                            "custom_13": null,
                                            "custom_14": null,
                                            "custom_15": null,
                                            "custom_16": null,
                                            "custom_17": null,
                                            "custom_18": null,
                                            "custom_19": null,
                                            "custom_20": null,
                                            "write_datetime": "2023-02-23 12:40:15",
                                            "mod_datetime": "2023-02-23 12:40:15",
                                            "start_datetime": "2023-02-23 12:40:15",
                                            "suspendfrom_datetime": null,
                                            "suspendto_datetime": null,
                                            "cancel_datetime": null,
                                            "holduntil_datetime": "2023-03-31 00:00:00",
                                            "terms_name": "Net 30",
                                            "terms_days": 30,
                                            "currency_symbol": "$",
                                            "currency_iso4217": "USD",
                                            "class_name": "",
                                            "brand_name": "Default",
                                            "amount_collected": 0,
                                            "amount_invoiced": 0,
                                            "amount_due": 0,
                                            "is_overdue": false,
                                            "days_overdue": 0,
                                            "amount_overdue": 0,
                                            "next_invoice_datetime": "2023-03-31 00:00:00",
                                            "cancel_reason": null,
                                            "paycycle_name": "Monthly",
                                            "paymethod_name": "Invoice",
                                            "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/package\/view\/37",
                                            "package_id": 37,
                                            "customer_id": 272,
                                            "package_status_id": 2,
                                            "mrr": 0,
                                            "arr": 0,
                                            "paymethod_detail": "Invoice",
                                            "package_status_name": "Current",
                                            "package_status_str": "active-current",
                                            "package_status_state": "a",
                                            "line_items": [
                                                {
                                                    "item_id": 1,
                                                    "tierset_id": 3,
                                                    "admin_id": null,
                                                    "external_key": null,
                                                    "nickname": "",
                                                    "descrip": "This is a ChargeOver test item.",
                                                    "line_quantity": 1,
                                                    "trial_days": 0,
                                                    "trial_recurs": 0,
                                                    "trial_units": 0,
                                                    "custom_1": null,
                                                    "custom_2": null,
                                                    "custom_3": null,
                                                    "custom_4": null,
                                                    "custom_5": null,
                                                    "custom_6": null,
                                                    "custom_7": null,
                                                    "custom_8": null,
                                                    "custom_9": null,
                                                    "custom_10": null,
                                                    "custom_11": null,
                                                    "custom_12": null,
                                                    "custom_13": null,
                                                    "custom_14": null,
                                                    "custom_15": null,
                                                    "custom_16": null,
                                                    "custom_17": null,
                                                    "custom_18": null,
                                                    "custom_19": null,
                                                    "custom_20": null,
                                                    "subscribe_datetime": "2023-02-23 12:40:15",
                                                    "subscribe_prorate_from_datetime": null,
                                                    "subscribe_prorate_to_datetime": null,
                                                    "cancel_datetime": null,
                                                    "expire_datetime": null,
                                                    "expire_recurs": null,
                                                    "item_name": "My Test Service Plan",
                                                    "item_external_key": null,
                                                    "item_accounting_sku": null,
                                                    "item_token": "259b2eebdb33",
                                                    "item_type": "service",
                                                    "item_units": "",
                                                    "item_is_usage": false,
                                                    "line_item_id": 39,
                                                    "package_id": 37,
                                                    "tierset": {
                                                        "tierset_id": 3,
                                                        "currency_id": 1,
                                                        "setup": 0,
                                                        "base": 10.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2022-11-11 10:56:11",
                                                        "mod_datetime": "2022-11-11 10:56:11",
                                                        "currency_symbol": "$",
                                                        "currency_iso4217": "USD",
                                                        "setup_formatted": "$ 0.00",
                                                        "base_formatted": "$ 10.95",
                                                        "minimum_formatted": "$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    }
                                                }
                                            ]
                                        },
                                        "customer": {
                                            "superuser_id": 266,
                                            "external_key": null,
                                            "token": "536pxrz7yn3v",
                                            "company": "Test Customer",
                                            "bill_addr1": null,
                                            "bill_addr2": null,
                                            "bill_addr3": null,
                                            "bill_city": null,
                                            "bill_state": null,
                                            "bill_postcode": null,
                                            "bill_country": "United States",
                                            "bill_notes": null,
                                            "ship_addr1": null,
                                            "ship_addr2": null,
                                            "ship_addr3": null,
                                            "ship_city": null,
                                            "ship_state": null,
                                            "ship_postcode": null,
                                            "ship_country": null,
                                            "ship_notes": null,
                                            "terms_id": 2,
                                            "class_id": null,
                                            "custom_1": null,
                                            "custom_2": null,
                                            "custom_3": null,
                                            "custom_4": null,
                                            "custom_5": null,
                                            "custom_6": null,
                                            "custom_7": null,
                                            "custom_8": null,
                                            "custom_9": null,
                                            "custom_10": null,
                                            "custom_11": null,
                                            "custom_12": null,
                                            "custom_13": null,
                                            "custom_14": null,
                                            "custom_15": null,
                                            "custom_16": null,
                                            "custom_17": null,
                                            "custom_18": null,
                                            "custom_19": null,
                                            "custom_20": null,
                                            "admin_id": 1,
                                            "campaign_id": null,
                                            "currency_id": 1,
                                            "language_id": 1,
                                            "brand_id": 1,
                                            "default_paymethod": null,
                                            "default_creditcard_id": null,
                                            "default_ach_id": null,
                                            "tax_ident": "",
                                            "no_taxes": false,
                                            "no_dunning": false,
                                            "no_latefees": false,
                                            "write_datetime": "2023-02-23 12:38:37",
                                            "write_ipaddr": "172.29.0.1",
                                            "mod_datetime": "2023-02-23 12:38:37",
                                            "mod_ipaddr": "172.29.0.1",
                                            "terms_name": "Net 30",
                                            "terms_days": 30,
                                            "class_name": "",
                                            "paid": 0,
                                            "total": 0,
                                            "balance": 0,
                                            "url_statementlink": "https:\/\/dev1.chargeover.test\/r\/statement\/view\/536pxrz7yn3v",
                                            "url_paymethodlink": "https:\/\/dev1.chargeover.test\/r\/paymethod\/i\/536pxrz7yn3v",
                                            "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/customer\/view\/272",
                                            "admin_name": "Jane Doe",
                                            "admin_email": "support@ChargeOver.com",
                                            "currency_symbol": "$",
                                            "currency_iso4217": "USD",
                                            "display_as": "Test Customer",
                                            "ship_block": "",
                                            "bill_block": "United States",
                                            "superuser_name": "Test Customer",
                                            "superuser_first_name": "Test",
                                            "superuser_last_name": "Customer",
                                            "superuser_phone": null,
                                            "superuser_email": null,
                                            "superuser_token": "im9e95ankq2e",
                                            "customer_id": 272,
                                            "parent_customer_id": null,
                                            "invoice_delivery": "email",
                                            "dunning_delivery": "email",
                                            "customer_status_id": 1,
                                            "mrr": 0,
                                            "arr": 0,
                                            "customer_status_name": "Current",
                                            "customer_status_str": "active-current",
                                            "customer_status_state": "a",
                                            "superuser_username": "bEg5i9F0Opnj"
                                        },
                                        "user": {
                                            "user_id": 266,
                                            "external_key": null,
                                            "first_name": "Test",
                                            "middle_name_glob": null,
                                            "last_name": "Customer",
                                            "name_suffix": null,
                                            "title": null,
                                            "email": null,
                                            "token": "im9e95ankq2e",
                                            "phone": null,
                                            "mobile": null,
                                            "custom_1": null,
                                            "custom_2": null,
                                            "custom_3": null,
                                            "custom_4": null,
                                            "custom_5": null,
                                            "user_type_id": 1,
                                            "write_datetime": "2023-02-23 12:38:38",
                                            "mod_datetime": "2023-02-23 12:38:38",
                                            "name": "Test Customer",
                                            "display_as": "Test Customer",
                                            "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/contact\/view\/266",
                                            "user_type_name": "Billing",
                                            "username": "bEg5i9F0Opnj",
                                            "password": null,
                                            "customer_id": 272
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "item-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when an item is created.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = item<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>item_id<\/code> of the item)<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n\n",
                "summary": "An item is created",
                "operationId": "item-insert",
                "tags": [
                    "items"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "item": {
                                                "type": "object",
                                                "properties": {
                                                    "item_id": {
                                                        "type": "integer"
                                                    },
                                                    "item_type": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "description": {
                                                        "type": "string"
                                                    },
                                                    "enabled": {
                                                        "type": "boolean"
                                                    },
                                                    "accounting_sku": {
                                                        "type": "string"
                                                    },
                                                    "accounting_account_income": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "units": {
                                                        "type": "string"
                                                    },
                                                    "units_plural": {
                                                        "type": "string"
                                                    },
                                                    "tax_group_id": {
                                                        "type": "integer"
                                                    },
                                                    "tax_group_name": {
                                                        "type": "string"
                                                    },
                                                    "expire_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "trial_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "service_dates_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "none",
                                                            "starts_on_invoice_date",
                                                            "starts_on_first_of_this_month",
                                                            "starts_on_first_of_next_month",
                                                            "ends_before_invoice_date",
                                                            "starts_on_first_of_plus2_month"
                                                        ]
                                                    },
                                                    "service_dates_visibility": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visible_to_merchant",
                                                            "visible_to_merchant_and_customers"
                                                        ]
                                                    },
                                                    "revrec_method": {
                                                        "type": "string",
                                                        "enum": [
                                                            "none",
                                                            "ratable_daily",
                                                            "ratable_30_360",
                                                            "installment",
                                                            "sales_basis",
                                                            "completed_contract"
                                                        ]
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "tierset_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "item",
                                        "context_id": "346",
                                        "event": "insert",
                                        "data": {
                                            "item": {
                                                "item_id": 346,
                                                "item_type": "service",
                                                "tierset_id": null,
                                                "name": "Test Product",
                                                "description": null,
                                                "units": null,
                                                "enabled": true,
                                                "accounting_sku": null,
                                                "external_key": null,
                                                "token": "zi9y726b14a5",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-13 07:48:10",
                                                "mod_datetime": "2019-08-13 07:48:10",
                                                "units_plural": "",
                                                "expire_recurs": null,
                                                "trial_recurs": null,
                                                "tiersets": [
                                                    {
                                                        "tierset_id": 617,
                                                        "currency_id": 1,
                                                        "setup": 0,
                                                        "base": 195.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2019-08-13 07:48:10",
                                                        "mod_datetime": "2019-08-13 07:48:10",
                                                        "currency_symbol": "$",
                                                        "currency_iso4217": "USD",
                                                        "setup_formatted": "$ 0.00",
                                                        "base_formatted": "$ 195.95",
                                                        "minimum_formatted": "$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    },
                                                    {
                                                        "tierset_id": 618,
                                                        "currency_id": 2,
                                                        "setup": 0,
                                                        "base": 195.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2019-08-13 07:48:10",
                                                        "mod_datetime": "2019-08-13 07:48:10",
                                                        "currency_symbol": "CAD$",
                                                        "currency_iso4217": "CAD",
                                                        "setup_formatted": "CAD$ 0.00",
                                                        "base_formatted": "CAD$ 195.95",
                                                        "minimum_formatted": "CAD$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    },
                                                    {
                                                        "tierset_id": 619,
                                                        "currency_id": 6,
                                                        "setup": 0,
                                                        "base": 195.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2019-08-13 07:48:10",
                                                        "mod_datetime": "2019-08-13 07:48:10",
                                                        "currency_symbol": "A$",
                                                        "currency_iso4217": "AUD",
                                                        "setup_formatted": "A$ 0.00",
                                                        "base_formatted": "A$ 195.95",
                                                        "minimum_formatted": "A$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    }
                                                ]
                                            }
                                        },
                                        "security_token": "QxA8p9EtRa30vwfW6BicjIOHXoyUD7Te"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "item-update": {
            "post": {
                "description": "<p>\n\tThis event occurs when an item is updated.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = item<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>item_id<\/code> of the item)<\/li>\n\t<li><code>event = update<\/code><\/li>\n<\/ul>\n\n",
                "summary": "An item is updated",
                "operationId": "item-update",
                "tags": [
                    "items"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "item": {
                                                "type": "object",
                                                "properties": {
                                                    "item_id": {
                                                        "type": "integer"
                                                    },
                                                    "item_type": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "description": {
                                                        "type": "string"
                                                    },
                                                    "enabled": {
                                                        "type": "boolean"
                                                    },
                                                    "accounting_sku": {
                                                        "type": "string"
                                                    },
                                                    "accounting_account_income": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "units": {
                                                        "type": "string"
                                                    },
                                                    "units_plural": {
                                                        "type": "string"
                                                    },
                                                    "tax_group_id": {
                                                        "type": "integer"
                                                    },
                                                    "tax_group_name": {
                                                        "type": "string"
                                                    },
                                                    "expire_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "trial_recurs": {
                                                        "type": "integer"
                                                    },
                                                    "service_dates_type": {
                                                        "type": "string",
                                                        "enum": [
                                                            "none",
                                                            "starts_on_invoice_date",
                                                            "starts_on_first_of_this_month",
                                                            "starts_on_first_of_next_month",
                                                            "ends_before_invoice_date",
                                                            "starts_on_first_of_plus2_month"
                                                        ]
                                                    },
                                                    "service_dates_visibility": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visible_to_merchant",
                                                            "visible_to_merchant_and_customers"
                                                        ]
                                                    },
                                                    "revrec_method": {
                                                        "type": "string",
                                                        "enum": [
                                                            "none",
                                                            "ratable_daily",
                                                            "ratable_30_360",
                                                            "installment",
                                                            "sales_basis",
                                                            "completed_contract"
                                                        ]
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "tierset_id": {
                                                        "type": "integer"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "item",
                                        "context_id": "346",
                                        "event": "update",
                                        "data": {
                                            "item": {
                                                "item_id": 346,
                                                "item_type": "service",
                                                "tierset_id": 619,
                                                "name": "Test Product",
                                                "description": "",
                                                "units": "",
                                                "enabled": true,
                                                "accounting_sku": "",
                                                "external_key": null,
                                                "token": "zi9y726b14a5",
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "write_datetime": "2019-08-13 07:48:10",
                                                "mod_datetime": "2019-08-13 07:52:51",
                                                "units_plural": "",
                                                "expire_recurs": null,
                                                "trial_recurs": "0",
                                                "tiersets": [
                                                    {
                                                        "tierset_id": 620,
                                                        "currency_id": 1,
                                                        "setup": 0,
                                                        "base": 195.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2019-08-13 07:52:51",
                                                        "mod_datetime": "2019-08-13 07:52:51",
                                                        "currency_symbol": "$",
                                                        "currency_iso4217": "USD",
                                                        "setup_formatted": "$ 0.00",
                                                        "base_formatted": "$ 195.95",
                                                        "minimum_formatted": "$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    },
                                                    {
                                                        "tierset_id": 621,
                                                        "currency_id": 2,
                                                        "setup": 0,
                                                        "base": 195.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2019-08-13 07:52:51",
                                                        "mod_datetime": "2019-08-13 07:52:51",
                                                        "currency_symbol": "CAD$",
                                                        "currency_iso4217": "CAD",
                                                        "setup_formatted": "CAD$ 0.00",
                                                        "base_formatted": "CAD$ 195.95",
                                                        "minimum_formatted": "CAD$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    },
                                                    {
                                                        "tierset_id": 622,
                                                        "currency_id": 6,
                                                        "setup": 0,
                                                        "base": 195.95,
                                                        "minimum": 0,
                                                        "percent": 0,
                                                        "paycycle": "evy",
                                                        "pricemodel": "fla",
                                                        "write_datetime": "2019-08-13 07:52:51",
                                                        "mod_datetime": "2019-08-13 07:52:51",
                                                        "currency_symbol": "A$",
                                                        "currency_iso4217": "AUD",
                                                        "setup_formatted": "A$ 0.00",
                                                        "base_formatted": "A$ 195.95",
                                                        "minimum_formatted": "A$ 0.00",
                                                        "percent_formatted": "0 %",
                                                        "pricemodel_desc": "Flat Pricing (example: $X dollars every billing cycle)",
                                                        "tiers": []
                                                    }
                                                ]
                                            }
                                        },
                                        "security_token": "QxA8p9EtRa30vwfW6BicjIOHXoyUD7Te"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "transaction-status": {
            "post": {
                "description": "<p>\n\tThis event occurs when a transaction changes status (for example, when a transaction is voided).\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = transaction<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>transaction_id<\/code> value of the transaction that changed)<\/li>\n\t<li><code>event = status<\/code><\/li>\n<\/ul>\n\n",
                "summary": "A transaction status has changed",
                "operationId": "transaction-status",
                "tags": [
                    "transactions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "transaction": {
                                                "type": "object",
                                                "properties": {
                                                    "transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "transaction_batch_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_type": {
                                                        "type": "string"
                                                    },
                                                    "gateway_nickname": {
                                                        "type": "string"
                                                    },
                                                    "gateway_status": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_transid": {
                                                        "type": "string"
                                                    },
                                                    "gateway_method": {
                                                        "type": "string"
                                                    },
                                                    "gateway_msg": {
                                                        "type": "string"
                                                    },
                                                    "gateway_err_code": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_err_detail": {
                                                        "type": "string"
                                                    },
                                                    "gateway_opts": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "fee": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "unapplied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "transaction_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "transaction_status_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_str": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_state": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_method": {
                                                        "type": "string"
                                                    },
                                                    "transaction_detail": {
                                                        "type": "string"
                                                    },
                                                    "transaction_datetime": {
                                                        "type": "string"
                                                    },
                                                    "transaction_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "applied_to": {
                                                        "type": "array"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "applied": {
                                                "type": "number",
                                                "nullable": true
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "transaction",
                                        "context_id": "39",
                                        "event": "status",
                                        "data": {
                                            "transaction": {
                                                "transaction_id": 39,
                                                "gateway_id": 204,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "p70t78m16u0v",
                                                "transaction_date": "2016-04-24",
                                                "gateway_status": 1,
                                                "gateway_transid": "12345",
                                                "gateway_msg": "",
                                                "amount": 50,
                                                "fee": 0,
                                                "transaction_type": "pay",
                                                "transaction_method": "Paid by Check",
                                                "transaction_detail": "12345",
                                                "transaction_datetime": "2016-04-24 15:53:04",
                                                "transaction_ipaddr": "172.16.16.140",
                                                "void_datetime": "2016-04-26 02:00:00",
                                                "transaction_type_name": "Payment",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "customer_id": 17
                                            },
                                            "customer": {
                                                "superuser_id": 363,
                                                "external_key": null,
                                                "token": "vdo15953f650",
                                                "company": "Test new rate",
                                                "bill_addr1": "56 Cowles Road",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "San Fran",
                                                "bill_state": "CA",
                                                "bill_postcode": "90213",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": "",
                                                "ship_addr2": "",
                                                "ship_addr3": "",
                                                "ship_city": "",
                                                "ship_state": "",
                                                "ship_postcode": "",
                                                "ship_country": "",
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": "",
                                                "custom_2": null,
                                                "custom_3": null,
                                                "admin_id": 4,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 0,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2016-04-22 16:10:25",
                                                "write_ipaddr": "172.16.16.140",
                                                "mod_datetime": "2016-04-22 16:11:03",
                                                "mod_ipaddr": "172.16.16.140",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "paid": 0,
                                                "total": 34.83,
                                                "balance": 34.83,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/vdo15953f650",
                                                "admin_name": "Keith Palmer",
                                                "admin_email": "keith@ChargeOver.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test new rate",
                                                "ship_block": "",
                                                "bill_block": "56 Cowles Road\nSan Fran CA 90213\nUnited States",
                                                "superuser_name": "admin",
                                                "superuser_first_name": "admin",
                                                "superuser_last_name": "",
                                                "superuser_phone": "",
                                                "superuser_email": "",
                                                "superuser_token": "0118fey185pl",
                                                "customer_id": 17,
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "0IHCUYAks7a4"
                                            },
                                            "user": {
                                                "user_id": 363,
                                                "external_key": null,
                                                "first_name": "admin",
                                                "middle_name_glob": null,
                                                "last_name": "",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "",
                                                "token": "0118fey185pl",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2016-04-22 16:10:25",
                                                "mod_datetime": "2016-04-22 16:10:25",
                                                "name": "admin",
                                                "display_as": "admin",
                                                "user_type_name": "Billing",
                                                "username": "0IHCUYAks7a4"
                                            }
                                        },
                                        "security_token": "g6VkmXzSGb42PLodDCTqeiJ5Ol3n7frF"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "transaction-insert": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a transaction is created.\r\n<\/p>\r\n<p>\r\n\tNote that this event will occur for both successful and failed transactions. You can check the status of the transaction by\r\n\texamining the <code>gateway_status<\/code> attribute of the transaction object.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = transaction<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>transaction_id<\/code> of the transaction)<\/li>\r\n\t<li><code>event = insert<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A transaction is created",
                "operationId": "transaction-insert",
                "tags": [
                    "transactions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "transaction": {
                                                "type": "object",
                                                "properties": {
                                                    "transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "transaction_batch_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_type": {
                                                        "type": "string"
                                                    },
                                                    "gateway_nickname": {
                                                        "type": "string"
                                                    },
                                                    "gateway_status": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_transid": {
                                                        "type": "string"
                                                    },
                                                    "gateway_method": {
                                                        "type": "string"
                                                    },
                                                    "gateway_msg": {
                                                        "type": "string"
                                                    },
                                                    "gateway_err_code": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_err_detail": {
                                                        "type": "string"
                                                    },
                                                    "gateway_opts": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "fee": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "unapplied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "transaction_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "transaction_status_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_str": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_state": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_method": {
                                                        "type": "string"
                                                    },
                                                    "transaction_detail": {
                                                        "type": "string"
                                                    },
                                                    "transaction_datetime": {
                                                        "type": "string"
                                                    },
                                                    "transaction_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "applied_to": {
                                                        "type": "array"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "revision": {
                                                "type": "object",
                                                "properties": {
                                                    "revision_id": {
                                                        "type": "integer"
                                                    },
                                                    "revision_note": {
                                                        "type": "string"
                                                    },
                                                    "revision_datetime": {
                                                        "type": "string"
                                                    },
                                                    "integration_id": {
                                                        "type": "integer"
                                                    },
                                                    "from_rollup": {
                                                        "type": "string"
                                                    },
                                                    "from_api": {
                                                        "type": "boolean"
                                                    },
                                                    "from_user": {
                                                        "type": "boolean"
                                                    },
                                                    "from_admin": {
                                                        "type": "boolean"
                                                    },
                                                    "from_integration": {
                                                        "type": "boolean"
                                                    },
                                                    "from_jsonp": {
                                                        "type": "boolean"
                                                    },
                                                    "from_cron": {
                                                        "type": "boolean"
                                                    },
                                                    "url_path": {
                                                        "type": "string"
                                                    },
                                                    "user_id": {
                                                        "type": "string"
                                                    },
                                                    "user_name": {
                                                        "type": "string"
                                                    },
                                                    "user_email": {
                                                        "type": "string"
                                                    },
                                                    "admin_id": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "transaction",
                                        "context_id": "7",
                                        "event": "insert",
                                        "data": {
                                            "transaction": {
                                                "transaction_id": 7,
                                                "gateway_id": 201,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "k4ufy9i769vt",
                                                "transaction_date": "2017-06-08",
                                                "gateway_status": 1,
                                                "gateway_transid": "*CHARGE: Test Credit Card* [1496950958]",
                                                "gateway_msg": "",
                                                "gateway_err_code": 0,
                                                "gateway_err_detail": null,
                                                "gateway_method": "visa",
                                                "amount": 60.95,
                                                "fee": 0,
                                                "transaction_type": "pay",
                                                "transaction_method": "Visa",
                                                "transaction_detail": "x4444",
                                                "transaction_datetime": "2017-06-08 15:42:38",
                                                "transaction_ipaddr": "127.0.0.1",
                                                "void_datetime": null,
                                                "transaction_status_name": "Success",
                                                "transaction_status_str": "ok-successful",
                                                "transaction_status_state": "o",
                                                "transaction_type_name": "Payment",
                                                "applied": 60.95,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/transaction\/view\/7",
                                                "customer_id": 8,
                                                "unapplied": 0,
                                                "applied_to": [
                                                    {
                                                        "invoice_id": 5007,
                                                        "applied": 10.95
                                                    },
                                                    {
                                                        "invoice_id": 5008,
                                                        "applied": 50
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 354,
                                                "external_key": null,
                                                "token": "2ygprd9569t4",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "34 Address Street",
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": "City",
                                                "bill_state": "State",
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-08 15:39:59",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "paid": 60.95,
                                                "total": 60.95,
                                                "balance": 0,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/2ygprd9569t4",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/8",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "34 Address Street\nCity State\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "john@example.com",
                                                "superuser_token": "4e7t9r5a03fv",
                                                "customer_id": 8,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "john@example.com"
                                            },
                                            "user": {
                                                "user_id": 354,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "john@example.com",
                                                "token": "4e7t9r5a03fv",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "mod_datetime": "2017-06-08 15:39:59",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/354",
                                                "user_type_name": "Billing",
                                                "username": "john@example.com",
                                                "customer_id": 8
                                            },
                                            "revision": {
                                                "revision_id": 16064,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "integration_id": null,
                                                "from_user": false,
                                                "from_admin": true,
                                                "from_integration": false,
                                                "from_jsonp": false,
                                                "from_cron": false,
                                                "from_api": false,
                                                "url_path": "o",
                                                "revision_datetime": "2017-06-08 15:39:59",
                                                "revision_note": "Transaction created.",
                                                "admin_email": "jane.doe@chargeover.com",
                                                "admin_name": "Jane Doe"
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "transaction-apply": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a transaction is applied to an invoice.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = transaction<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>transaction_id<\/code> of the transaction)<\/li>\r\n\t<li><code>event = apply<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A transaction is applied to an invoice",
                "operationId": "transaction-apply",
                "tags": [
                    "transactions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "transaction": {
                                                "type": "object",
                                                "properties": {
                                                    "transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "transaction_batch_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_type": {
                                                        "type": "string"
                                                    },
                                                    "gateway_nickname": {
                                                        "type": "string"
                                                    },
                                                    "gateway_status": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_transid": {
                                                        "type": "string"
                                                    },
                                                    "gateway_method": {
                                                        "type": "string"
                                                    },
                                                    "gateway_msg": {
                                                        "type": "string"
                                                    },
                                                    "gateway_err_code": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_err_detail": {
                                                        "type": "string"
                                                    },
                                                    "gateway_opts": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "fee": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "unapplied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "transaction_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "transaction_status_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_str": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_state": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_method": {
                                                        "type": "string"
                                                    },
                                                    "transaction_detail": {
                                                        "type": "string"
                                                    },
                                                    "transaction_datetime": {
                                                        "type": "string"
                                                    },
                                                    "transaction_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "applied_to": {
                                                        "type": "array"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "applied": {
                                                "type": "number",
                                                "nullable": true
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": null
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "transaction-void": {
            "post": {
                "description": "<p>\r\n\tThis event occurs when a transaction is marked void.\r\n<\/p>\r\n<p>\r\n\tNote these fields:\r\n<\/p>\r\n<ul>\r\n\t<li><code>context_str = transaction<\/code><\/li>\r\n\t<li><code>context_id = ...<\/code> (this will be the <code>transaction_id<\/code> of the transaction)<\/li>\r\n\t<li><code>event = void<\/code><\/li>\r\n<\/ul>\r\n\r\n",
                "summary": "A transaction is marked void",
                "operationId": "transaction-void",
                "tags": [
                    "transactions"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "transaction": {
                                                "type": "object",
                                                "properties": {
                                                    "transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_transaction_id": {
                                                        "type": "integer"
                                                    },
                                                    "transaction_batch_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_id": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_type": {
                                                        "type": "string"
                                                    },
                                                    "gateway_nickname": {
                                                        "type": "string"
                                                    },
                                                    "gateway_status": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_transid": {
                                                        "type": "string"
                                                    },
                                                    "gateway_method": {
                                                        "type": "string"
                                                    },
                                                    "gateway_msg": {
                                                        "type": "string"
                                                    },
                                                    "gateway_err_code": {
                                                        "type": "integer"
                                                    },
                                                    "gateway_err_detail": {
                                                        "type": "string"
                                                    },
                                                    "gateway_opts": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "amount": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "fee": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "applied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "unapplied": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "transaction_date": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "transaction_status_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_str": {
                                                        "type": "string"
                                                    },
                                                    "transaction_status_state": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type": {
                                                        "type": "string"
                                                    },
                                                    "transaction_type_name": {
                                                        "type": "string"
                                                    },
                                                    "transaction_method": {
                                                        "type": "string"
                                                    },
                                                    "transaction_detail": {
                                                        "type": "string"
                                                    },
                                                    "transaction_datetime": {
                                                        "type": "string"
                                                    },
                                                    "transaction_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "void_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "applied_to": {
                                                        "type": "array"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "memo": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "transaction",
                                        "context_id": "7",
                                        "event": "void",
                                        "data": {
                                            "transaction": {
                                                "transaction_id": 7,
                                                "gateway_id": 201,
                                                "currency_id": 1,
                                                "external_key": null,
                                                "token": "k4ufy9i769vt",
                                                "transaction_date": "2017-06-08",
                                                "gateway_status": 1,
                                                "gateway_transid": "*CHARGE: Test Credit Card* [1496950958]",
                                                "gateway_msg": "",
                                                "gateway_err_code": 0,
                                                "gateway_err_detail": null,
                                                "gateway_method": "visa",
                                                "amount": 60.95,
                                                "fee": 0,
                                                "transaction_type": "pay",
                                                "transaction_method": "Visa",
                                                "transaction_detail": "x4444",
                                                "transaction_datetime": "2017-06-08 15:42:38",
                                                "transaction_ipaddr": "127.0.0.1",
                                                "void_datetime": null,
                                                "transaction_status_name": "Success",
                                                "transaction_status_str": "ok-successful",
                                                "transaction_status_state": "o",
                                                "transaction_type_name": "Payment",
                                                "applied": 60.95,
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/transaction\/view\/7",
                                                "customer_id": 8,
                                                "unapplied": 0,
                                                "applied_to": [
                                                    {
                                                        "invoice_id": 5007,
                                                        "applied": 10.95
                                                    },
                                                    {
                                                        "invoice_id": 5008,
                                                        "applied": 50
                                                    }
                                                ]
                                            },
                                            "customer": {
                                                "superuser_id": 354,
                                                "external_key": null,
                                                "token": "2ygprd9569t4",
                                                "company": "John Doe's Company, LLC",
                                                "bill_addr1": "34 Doe Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "City",
                                                "bill_state": "New State",
                                                "bill_postcode": "",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 3,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2017-06-13 12:40:51",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Due on Receipt",
                                                "terms_days": 0,
                                                "paid": 10.95,
                                                "total": 71.9,
                                                "balance": 60.95,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/2ygprd9569t4",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/8",
                                                "admin_name": "Karli Palmer",
                                                "admin_email": "karli@chargeover.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "John Doe's Company, LLC",
                                                "ship_block": "",
                                                "bill_block": "34 Doe Street\nCity New State\nUnited States",
                                                "superuser_name": "John Doe",
                                                "superuser_first_name": "John",
                                                "superuser_last_name": "Doe",
                                                "superuser_phone": "",
                                                "superuser_email": "john@example.com",
                                                "superuser_token": "4e7t9r5a03fv",
                                                "customer_id": 8,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "john@example.com"
                                            },
                                            "user": {
                                                "user_id": 354,
                                                "external_key": null,
                                                "first_name": "John",
                                                "middle_name_glob": null,
                                                "last_name": "Doe",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "john@example.com",
                                                "token": "4e7t9r5a03fv",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2017-06-08 15:39:59",
                                                "mod_datetime": "2017-06-08 15:39:59",
                                                "name": "John Doe",
                                                "display_as": "John Doe",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/354",
                                                "user_type_name": "Billing",
                                                "username": "john@example.com",
                                                "customer_id": 8
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "ach-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when an ACH payment method is created.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = ach<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this will be the <code>ach_id<\/code> of the new ACH paymethod)\n\t<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n\n",
                "summary": "An ACH\/eCheck account created",
                "operationId": "ach-insert",
                "tags": [
                    "ach"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "ach": {
                                                "type": "object",
                                                "properties": {
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "routing": {
                                                        "type": "string"
                                                    },
                                                    "mask_routing": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "bank": {
                                                        "type": "string"
                                                    },
                                                    "mask_bank": {
                                                        "type": "string"
                                                    },
                                                    "url_verifylink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "ach",
                                        "context_id": 6,
                                        "event": "insert",
                                        "data": {
                                            "ach": {
                                                "ach_id": 6,
                                                "external_key": null,
                                                "type": "chec",
                                                "token": "b9tiqm03s4x5",
                                                "type_name": "Checking",
                                                "customer_id": 1,
                                                "name": "Jon Doe",
                                                "mask_bank": "xxxxxxxxxxxxxxxxxxxxLOAN",
                                                "mask_number": "xx3456",
                                                "mask_routing": "xxxxx6789"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "ach-update": {
            "post": {
                "description": "<p>\n\tThis event occurs when an ACH payment method is updated.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = ach<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this is the <code>ach_id<\/code> of the ACH paymethod)\n\t<\/li>\n\t<li><code>event = update<\/code><\/li>\n<\/ul>\n\n",
                "summary": "ACH\/eCheck account updated",
                "operationId": "ach-update",
                "tags": [
                    "ach"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "ach": {
                                                "type": "object",
                                                "properties": {
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "routing": {
                                                        "type": "string"
                                                    },
                                                    "mask_routing": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "bank": {
                                                        "type": "string"
                                                    },
                                                    "mask_bank": {
                                                        "type": "string"
                                                    },
                                                    "url_verifylink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "ach",
                                        "context_id": 6,
                                        "event": "update",
                                        "data": {
                                            "ach": {
                                                "ach_id": 6,
                                                "external_key": null,
                                                "type": "chec",
                                                "token": "b9tiqm03s4x5",
                                                "type_name": "Checking",
                                                "customer_id": 1,
                                                "name": "Jon Doe",
                                                "mask_bank": "xxxxxxxxxxxxxxxxxxxxLOAN",
                                                "mask_number": "xx3456",
                                                "mask_routing": "xxxxx6789"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "ach-delete": {
            "post": {
                "description": "<p>\n\tThis event occurs when an ACH payment method is deleted.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = ach<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this was the <code>ach_id<\/code> of the deleted ACH paymethod)\n\t<\/li>\n\t<li><code>event = delete<\/code><\/li>\n<\/ul>\n\n",
                "summary": "ACH\/eCheck account deleted",
                "operationId": "ach-delete",
                "tags": [
                    "ach"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "ach": {
                                                "type": "object",
                                                "properties": {
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "routing": {
                                                        "type": "string"
                                                    },
                                                    "mask_routing": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "bank": {
                                                        "type": "string"
                                                    },
                                                    "mask_bank": {
                                                        "type": "string"
                                                    },
                                                    "url_verifylink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "ach",
                                        "context_id": "6",
                                        "event": "delete",
                                        "data": {
                                            "ach": {
                                                "ach_id": 6,
                                                "external_key": null,
                                                "type": "chec",
                                                "token": "b9tiqm03s4x5",
                                                "type_name": "Checking",
                                                "customer_id": 1,
                                                "name": "Jon Doe",
                                                "mask_bank": "xxxxxxxxxxxxxxxxxxxxLOAN",
                                                "mask_number": "xx3456",
                                                "mask_routing": "xxxxx6789"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "ach-autopay": {
            "post": {
                "description": "<p>\n\tThis event occurs when an ACH payment method is opted into autopay. \n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = ach<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this will be the <code>ach_id<\/code> of the ACH account that has been approved for autopay)\n\t<\/li>\n\t<li><code>event = autopay<\/code><\/li>\n<\/ul>\n\n",
                "summary": "ACH\/eCheck account approved for autopay",
                "operationId": "ach-autopay",
                "tags": [
                    "ach"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "ach": {
                                                "type": "object",
                                                "properties": {
                                                    "ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "routing": {
                                                        "type": "string"
                                                    },
                                                    "mask_routing": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "bank": {
                                                        "type": "string"
                                                    },
                                                    "mask_bank": {
                                                        "type": "string"
                                                    },
                                                    "url_verifylink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "ach",
                                        "context_id": "12",
                                        "event": "autopay",
                                        "data": {
                                            "ach": {
                                                "ach_id": 12,
                                                "external_key": null,
                                                "type": "chec",
                                                "token": "5191s5l4di8j",
                                                "type_name": "Checking",
                                                "customer_id": 39,
                                                "name": "Marissa Lexington",
                                                "mask_bank": "xBANK",
                                                "mask_number": "x6667",
                                                "mask_routing": "x3004"
                                            },
                                            "customer": {
                                                "superuser_id": 388,
                                                "external_key": null,
                                                "token": "wm0tg96n446e",
                                                "company": "Knittin' Kittens Yarn Co.",
                                                "bill_addr1": "56 Highland Street",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Coventry",
                                                "bill_state": "CT",
                                                "bill_postcode": "06238",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": 0,
                                                "custom_1": "",
                                                "custom_2": "",
                                                "custom_3": "",
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-03-01 12:24:55",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-03-01 12:28:16",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 150,
                                                "total": 150,
                                                "balance": 0,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/wm0tg96n446e",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/wm0tg96n446e",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/39",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Knittin' Kittens Yarn Co.",
                                                "ship_block": "",
                                                "bill_block": "56 Highland Street\nCoventry CT 06238\nUnited States",
                                                "superuser_name": "Marissa Lexington",
                                                "superuser_first_name": "Marissa",
                                                "superuser_last_name": "Lexington",
                                                "superuser_phone": "222-333-1111",
                                                "superuser_email": "marissa@example.com",
                                                "superuser_token": "28x81ky92vow",
                                                "customer_id": 39,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "marissa@example.com"
                                            },
                                            "user": {
                                                "user_id": 388,
                                                "external_key": null,
                                                "first_name": "Marissa",
                                                "middle_name_glob": null,
                                                "last_name": "Lexington",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": "marissa@example.com",
                                                "token": "28x81ky92vow",
                                                "phone": "222-333-1111",
                                                "user_type_id": 1,
                                                "write_datetime": "2018-03-01 12:24:55",
                                                "mod_datetime": "2018-03-01 12:24:55",
                                                "name": "Marissa Lexington",
                                                "display_as": "Marissa Lexington",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/388",
                                                "user_type_name": "Billing",
                                                "username": "marissa@example.com",
                                                "customer_id": 39
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "creditcard-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when a new credit card is added.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = creditcard<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this will be the <code>creditcard_id<\/code> of the new credit card)\n\t<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n\n",
                "summary": "Credit card created",
                "operationId": "creditcard-insert",
                "tags": [
                    "creditcards"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "creditcard": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "subtype": {
                                                        "type": "string"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string"
                                                    },
                                                    "issuer": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "cvv": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string"
                                                    },
                                                    "expdate": {
                                                        "type": "string"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "city": {
                                                        "type": "string"
                                                    },
                                                    "state": {
                                                        "type": "string"
                                                    },
                                                    "postcode": {
                                                        "type": "string"
                                                    },
                                                    "country": {
                                                        "type": "string"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "creditcard",
                                        "context_id": 55,
                                        "event": "insert",
                                        "data": {
                                            "creditcard": {
                                                "creditcard_id": 55,
                                                "external_key": null,
                                                "type": "visa",
                                                "token": "3nvojm1967wi",
                                                "expdate": "2016-07-01",
                                                "write_datetime": "2015-03-13 21:07:59",
                                                "write_ipaddr": "::1",
                                                "mask_number": "xxxx-xxxx-xxxx-1111",
                                                "name": "Jon Doe",
                                                "expdate_month": "7",
                                                "expdate_year": "2016",
                                                "expdate_formatted": "Jul 2016",
                                                "type_name": "Visa",
                                                "customer_id": 1
                                            },
                                            "revision": {
                                                "revision_id": 4891,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "integration_id": null,
                                                "from_user": false,
                                                "from_admin": true,
                                                "from_integration": false,
                                                "from_jsonp": false,
                                                "from_cron": false,
                                                "from_api": false,
                                                "url_path": "a",
                                                "revision_datetime": "2026-01-15 16:07:27",
                                                "revision_note": "Credit card created.",
                                                "admin_email": "support@ChargeOver.com",
                                                "admin_name": "Jane Doe"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "creditcard-update": {
            "post": {
                "description": "<p>\n\tThis event occurs when a credit card is updated.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = creditcard<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this is the <code>creditcard_id<\/code> of the credit card)\n\t<\/li>\n\t<li><code>event = update<\/code><\/li>\n<\/ul>\n\n",
                "summary": "Credt card updated",
                "operationId": "creditcard-update",
                "tags": [
                    "creditcards"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "creditcard": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "subtype": {
                                                        "type": "string"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string"
                                                    },
                                                    "issuer": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "cvv": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string"
                                                    },
                                                    "expdate": {
                                                        "type": "string"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "city": {
                                                        "type": "string"
                                                    },
                                                    "state": {
                                                        "type": "string"
                                                    },
                                                    "postcode": {
                                                        "type": "string"
                                                    },
                                                    "country": {
                                                        "type": "string"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "creditcard",
                                        "context_id": 55,
                                        "event": "update",
                                        "data": {
                                            "creditcard": {
                                                "creditcard_id": 55,
                                                "external_key": null,
                                                "type": "visa",
                                                "token": "3nvojm1967wi",
                                                "expdate": "2016-07-01",
                                                "write_datetime": "2015-03-13 21:07:59",
                                                "write_ipaddr": "::1",
                                                "mask_number": "xxxx-xxxx-xxxx-1111",
                                                "name": "Jon Doe",
                                                "expdate_month": "7",
                                                "expdate_year": "2016",
                                                "expdate_formatted": "Jul 2016",
                                                "type_name": "Visa",
                                                "customer_id": 1
                                            },
                                            "revision": {
                                                "revision_id": 4889,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "integration_id": null,
                                                "from_user": false,
                                                "from_admin": true,
                                                "from_integration": false,
                                                "from_jsonp": false,
                                                "from_cron": false,
                                                "from_api": false,
                                                "url_path": "a",
                                                "revision_datetime": "2026-01-15 15:47:00",
                                                "revision_note": "Credit card updated.",
                                                "admin_email": "support@ChargeOver.com",
                                                "admin_name": "Jane Doe"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "creditcard-delete": {
            "post": {
                "description": "<p>\n\tThis event occurs when a credit card is deleted.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = creditcard<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this is the <code>creditcard_id<\/code> of the deleted credit card)\n\t<\/li>\n\t<li><code>event = delete<\/code><\/li>\n<\/ul>\n\n",
                "summary": "Credit card deleted",
                "operationId": "creditcard-delete",
                "tags": [
                    "creditcards"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "creditcard": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "subtype": {
                                                        "type": "string"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string"
                                                    },
                                                    "issuer": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "cvv": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string"
                                                    },
                                                    "expdate": {
                                                        "type": "string"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "city": {
                                                        "type": "string"
                                                    },
                                                    "state": {
                                                        "type": "string"
                                                    },
                                                    "postcode": {
                                                        "type": "string"
                                                    },
                                                    "country": {
                                                        "type": "string"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "creditcard",
                                        "context_id": "55",
                                        "event": "delete",
                                        "data": {
                                            "creditcard": {
                                                "creditcard_id": 55,
                                                "external_key": null,
                                                "type": "visa",
                                                "token": "3nvojm1967wi",
                                                "expdate": "2016-07-01",
                                                "write_datetime": "2015-03-13 21:07:59",
                                                "write_ipaddr": "::1",
                                                "mask_number": "xxxx-xxxx-xxxx-1111",
                                                "name": "Jon Doe",
                                                "expdate_month": "7",
                                                "expdate_year": "2016",
                                                "expdate_formatted": "Jul 2016",
                                                "type_name": "Visa",
                                                "customer_id": 1
                                            },
                                            "revision": {
                                                "revision_id": 4890,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "integration_id": null,
                                                "from_user": false,
                                                "from_admin": true,
                                                "from_integration": false,
                                                "from_jsonp": false,
                                                "from_cron": false,
                                                "from_api": false,
                                                "url_path": "a",
                                                "revision_datetime": "2026-01-15 16:00:28",
                                                "revision_note": "Credit card deleted.",
                                                "admin_email": "support@ChargeOver.com",
                                                "admin_name": "Jane Doe"
                                            }
                                        },
                                        "security_token": "Jy5gsouFvDh3ZwS241xpHbPt0K7MkcTW"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "creditcard-expiring": {
            "post": {
                "description": "<p>\n\tThis event occurs when an in-use credit card is expiring soon.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = creditcard<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this is the <code>creditcard_id<\/code> of the credit card)\n\t<\/li>\n\t<li><code>event = expiring<\/code><\/li>\n<\/ul>\n\n",
                "summary": "Credit card is expiring soon",
                "operationId": "creditcard-expiring",
                "tags": [
                    "creditcards"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "creditcard": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "subtype": {
                                                        "type": "string"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string"
                                                    },
                                                    "issuer": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "cvv": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string"
                                                    },
                                                    "expdate": {
                                                        "type": "string"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "city": {
                                                        "type": "string"
                                                    },
                                                    "state": {
                                                        "type": "string"
                                                    },
                                                    "postcode": {
                                                        "type": "string"
                                                    },
                                                    "country": {
                                                        "type": "string"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "creditcard",
                                        "context_id": "110",
                                        "event": "expiring",
                                        "data": {
                                            "creditcard": {
                                                "creditcard_id": 110,
                                                "external_key": null,
                                                "type": "visa",
                                                "token": "646259fydgq1",
                                                "expdate": "2016-09-01",
                                                "write_datetime": "2016-09-07 09:17:24",
                                                "write_ipaddr": "172.16.16.140",
                                                "mask_number": "x1111",
                                                "name": "",
                                                "expdate_month": "9",
                                                "expdate_year": "2016",
                                                "expdate_formatted": "Sep 2016",
                                                "type_name": "Visa",
                                                "url_updatelink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/690gx7105dik",
                                                "address": "",
                                                "city": null,
                                                "postcode": "",
                                                "country": null,
                                                "customer_id": 122
                                            },
                                            "customer": {
                                                "superuser_id": 462,
                                                "external_key": null,
                                                "token": "690gx7105dik",
                                                "company": "Test Stripe YEN",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 3,
                                                "campaign_id": null,
                                                "currency_id": 75,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2016-09-07 09:15:01",
                                                "write_ipaddr": "172.16.16.140",
                                                "mod_datetime": "2016-09-07 09:15:01",
                                                "mod_ipaddr": "172.16.16.140",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "paid": 2000,
                                                "total": 0,
                                                "balance": -2000,
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/690gx7105dik",
                                                "admin_name": "Keith Palmer",
                                                "admin_email": "keith@chargeover.com",
                                                "currency_symbol": "\u00a5",
                                                "currency_iso4217": "JPY",
                                                "display_as": "Test Stripe YEN",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "admin",
                                                "superuser_first_name": "admin",
                                                "superuser_last_name": "",
                                                "superuser_phone": "",
                                                "superuser_email": "",
                                                "superuser_token": "n5jc72265yw5",
                                                "customer_id": 122,
                                                "invoice_delivery": "print",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "kIcMmVG0zDLw"
                                            },
                                            "user": {
                                                "user_id": 462,
                                                "external_key": null,
                                                "first_name": "admin",
                                                "middle_name_glob": null,
                                                "last_name": "",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "",
                                                "token": "n5jc72265yw5",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2016-09-07 09:15:01",
                                                "mod_datetime": "2016-09-07 09:15:01",
                                                "name": "admin",
                                                "display_as": "admin",
                                                "user_type_name": "Billing",
                                                "username": "kIcMmVG0zDLw"
                                            }
                                        },
                                        "security_token": "0xeohlHKEOJXAdbDQS5z8Zyafq7kGUR3"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "creditcard-expired": {
            "post": {
                "description": "<p>\n\tThis event occurs when an in-use credit card has expired.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = creditcard<\/code><\/li>\n\t<li>\n\t\t<code>context_id = ...<\/code> (this is the <code>creditcard_id<\/code> of the credit card)\n\t<\/li>\n\t<li><code>event = expired<\/code><\/li>\n<\/ul>\n\n",
                "summary": "Credit card has expired",
                "operationId": "creditcard-expired",
                "tags": [
                    "creditcards"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "creditcard": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "subtype": {
                                                        "type": "string"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string"
                                                    },
                                                    "issuer": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "cvv": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string"
                                                    },
                                                    "expdate": {
                                                        "type": "string"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "city": {
                                                        "type": "string"
                                                    },
                                                    "state": {
                                                        "type": "string"
                                                    },
                                                    "postcode": {
                                                        "type": "string"
                                                    },
                                                    "country": {
                                                        "type": "string"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "creditcard",
                                        "context_id": 39,
                                        "event": "expired",
                                        "data": {
                                            "creditcard": {
                                                "creditcard_id": 332,
                                                "external_key": null,
                                                "type": "visa",
                                                "token": "rue045gsphaa",
                                                "expdate": "2023-02-01",
                                                "write_datetime": "2023-03-09 13:28:44",
                                                "write_ipaddr": "172.29.0.1",
                                                "mask_number": "x1111",
                                                "mask_and_bin_number": "411111xxx1111",
                                                "name": "ChargeOver",
                                                "expdate_month": "2",
                                                "expdate_year": "2023",
                                                "expdate_formatted": "Feb 2023",
                                                "type_name": "Visa",
                                                "url_updatelink": "https:\/\/dev1.chargeover.com\/r\/paymethod\/i\/fabqea1zjh5g",
                                                "address": null,
                                                "city": null,
                                                "postcode": null,
                                                "country": "United States",
                                                "customer_id": 919
                                            },
                                            "customer": {
                                                "superuser_id": 350,
                                                "external_key": null,
                                                "token": "fabqea1zjh5g",
                                                "company": "ChargeOver",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": "United States",
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "no_latefees": false,
                                                "write_datetime": "2023-03-09 13:28:15",
                                                "write_ipaddr": "172.29.0.1",
                                                "mod_datetime": "2023-03-09 13:28:15",
                                                "mod_ipaddr": "172.29.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/dev1.chargeover.com\/r\/statement\/view\/fabqea1zjh5g",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.com\/r\/paymethod\/i\/fabqea1zjh5g",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/customer\/view\/919",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "ChargeOver",
                                                "ship_block": "United States",
                                                "bill_block": "United States",
                                                "superuser_name": "ChargeOver",
                                                "superuser_first_name": "ChargeOver",
                                                "superuser_last_name": null,
                                                "superuser_phone": null,
                                                "superuser_email": null,
                                                "superuser_token": "uw7eyhnsbz96",
                                                "customer_id": 919,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "mrr": 0,
                                                "arr": 0,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "jkzKvJaqFLU4"
                                            },
                                            "user": {
                                                "user_id": 350,
                                                "external_key": null,
                                                "first_name": "ChargeOver",
                                                "middle_name_glob": null,
                                                "last_name": null,
                                                "name_suffix": null,
                                                "title": null,
                                                "email": null,
                                                "token": "uw7eyhnsbz96",
                                                "phone": null,
                                                "mobile": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2023-03-09 13:28:18",
                                                "mod_datetime": "2023-03-09 13:28:18",
                                                "name": "ChargeOver",
                                                "display_as": "ChargeOver",
                                                "url_self": "https:\/\/dev1.chargeover.com\/admin\/r\/contact\/view\/350",
                                                "user_type_name": "Billing",
                                                "username": "jkzKvJaqFLU4",
                                                "password": null,
                                                "customer_id": 919
                                            }
                                        },
                                        "security_token": "gqCW7zYaGVsOhBlS3erTxnNm0fLIHMbK"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "creditcard-autopay": {
            "post": {
                "description": "<p>\n\tThis event occurs when a creditcard has been opted into autopay. \n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = creditcard<\/code><\/li>\n\t<li>\n\t<code>context_id = ...<\/code> (this will be the <code>creditcard_id<\/code> of the credit card that has been approved for autopay)\n\t<\/li>\n\t<li><code>event = autopay<\/code><\/li>\n<\/ul>\n",
                "summary": "Credit card has been approved for autopay",
                "operationId": "creditcard-autopay",
                "tags": [
                    "creditcards"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "creditcard": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "type_name": {
                                                        "type": "string"
                                                    },
                                                    "subtype": {
                                                        "type": "string"
                                                    },
                                                    "subtype_name": {
                                                        "type": "string"
                                                    },
                                                    "issuer": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "number": {
                                                        "type": "string"
                                                    },
                                                    "cvv": {
                                                        "type": "string"
                                                    },
                                                    "mask_number": {
                                                        "type": "string"
                                                    },
                                                    "mask_and_bin_number": {
                                                        "type": "string"
                                                    },
                                                    "expdate": {
                                                        "type": "string"
                                                    },
                                                    "expdate_year": {
                                                        "type": "string"
                                                    },
                                                    "expdate_month": {
                                                        "type": "string"
                                                    },
                                                    "expdate_formatted": {
                                                        "type": "string"
                                                    },
                                                    "autopay_allowed": {
                                                        "type": "string"
                                                    },
                                                    "autopay_datetime": {
                                                        "type": "string"
                                                    },
                                                    "autopay_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "city": {
                                                        "type": "string"
                                                    },
                                                    "state": {
                                                        "type": "string"
                                                    },
                                                    "postcode": {
                                                        "type": "string"
                                                    },
                                                    "country": {
                                                        "type": "string"
                                                    },
                                                    "url_updatelink": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "creditcard",
                                        "context_id": "18",
                                        "event": "autopay",
                                        "data": {
                                            "creditcard": {
                                                "creditcard_id": 18,
                                                "external_key": null,
                                                "type": "amex",
                                                "token": "9t8y04h3725r",
                                                "expdate": "2019-03-01",
                                                "write_datetime": "2018-03-01 12:03:05",
                                                "write_ipaddr": "127.0.0.1",
                                                "mask_number": "x0005",
                                                "mask_and_bin_number": "378282xxx0005",
                                                "name": "",
                                                "expdate_month": "3",
                                                "expdate_year": "2019",
                                                "expdate_formatted": "Mar 2019",
                                                "type_name": "American Express",
                                                "url_updatelink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/46661z16tliu",
                                                "address": null,
                                                "city": null,
                                                "postcode": null,
                                                "country": "United States",
                                                "customer_id": 37
                                            },
                                            "customer": {
                                                "superuser_id": 386,
                                                "external_key": null,
                                                "token": "46661z16tliu",
                                                "company": "Connecticut Flooring Company",
                                                "bill_addr1": "74 Cowles Avenue",
                                                "bill_addr2": "",
                                                "bill_addr3": "",
                                                "bill_city": "Willington",
                                                "bill_state": "CT",
                                                "bill_postcode": "06279",
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": 0,
                                                "custom_1": "",
                                                "custom_2": "",
                                                "custom_3": "",
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "admin_id": 4,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": "crd",
                                                "default_creditcard_id": 18,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "write_datetime": "2018-02-22 10:52:51",
                                                "write_ipaddr": "127.0.0.1",
                                                "mod_datetime": "2018-03-01 11:56:38",
                                                "mod_ipaddr": "127.0.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 1210,
                                                "total": 1210,
                                                "balance": 0,
                                                "url_statementlink": "http:\/\/dev.chargeover.com\/r\/statement\/view\/46661z16tliu",
                                                "url_paymethodlink": "http:\/\/dev.chargeover.com\/r\/paymethod\/i\/46661z16tliu",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/customer\/view\/37",
                                                "admin_name": "Dave Tyson",
                                                "admin_email": "dave@example.com",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Connecticut Flooring Company",
                                                "ship_block": "",
                                                "bill_block": "74 Cowles Avenue\nWillington CT 06279\nUnited States",
                                                "superuser_name": "Karli Marie",
                                                "superuser_first_name": "Karli",
                                                "superuser_last_name": "Marie",
                                                "superuser_phone": "",
                                                "superuser_email": "karli@example.com",
                                                "superuser_token": "gdz737x5ye81",
                                                "customer_id": 37,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "dCMntSrhFQB7"
                                            },
                                            "user": {
                                                "user_id": 386,
                                                "external_key": null,
                                                "first_name": "Karli",
                                                "middle_name_glob": null,
                                                "last_name": "Marie",
                                                "name_suffix": null,
                                                "title": "",
                                                "email": "karli@example.com",
                                                "token": "gdz737x5ye81",
                                                "phone": "",
                                                "user_type_id": 1,
                                                "write_datetime": "2018-02-22 10:52:51",
                                                "mod_datetime": "2018-03-01 11:57:09",
                                                "name": "Karli Marie",
                                                "display_as": "Karli Marie",
                                                "url_self": "http:\/\/dev.chargeover.com\/admin\/r\/contact\/view\/386",
                                                "user_type_name": "Billing",
                                                "username": "dCMntSrhFQB7",
                                                "customer_id": 37
                                            }
                                        },
                                        "security_token": "9aCm8BdvtVT3JzA2GKHFu1fMilwIDXRo"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "tokenized-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when a tokenized payment method is created.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = tokenized<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>tokenized_id<\/code> of the tokenized payment method)<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n",
                "summary": "A tokenized payment method is created",
                "operationId": "tokenized-insert",
                "tags": [
                    "tokenized"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "tokenized": {
                                                "type": "object",
                                                "properties": {
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "crd",
                                                            "ach"
                                                        ]
                                                    },
                                                    "expdate": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "type_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visa",
                                                            "mast",
                                                            "disc",
                                                            "amex"
                                                        ]
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "gateway": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "tokenized",
                                        "context_id": 2,
                                        "event": "insert",
                                        "data": {
                                            "tokenized": {
                                                "tokenized_id": 2,
                                                "type": "",
                                                "name": "Tokenized ACH",
                                                "token": "asldiruesknjfis",
                                                "expdate": null,
                                                "type_hint": null,
                                                "paymethod_hint": null,
                                                "write_datetime": "2023-03-23 12:27:12",
                                                "mod_datetime": "2023-03-23 12:27:12",
                                                "customer_id": 307
                                            },
                                            "customer": {
                                                "superuser_id": 295,
                                                "external_key": null,
                                                "token": "d07dup6w8h61",
                                                "company": "Test Customer",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "no_latefees": false,
                                                "write_datetime": "2023-03-23 11:48:48",
                                                "write_ipaddr": "172.29.0.1",
                                                "mod_datetime": "2023-03-23 11:48:48",
                                                "mod_ipaddr": "172.29.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/dev1.chargeover.test\/r\/statement\/view\/d07dup6w8h61",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.test\/r\/paymethod\/i\/d07dup6w8h61",
                                                "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/customer\/view\/307",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": null,
                                                "superuser_email": null,
                                                "superuser_token": "x0ka5029tise",
                                                "customer_id": 307,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "mrr": 0,
                                                "arr": 0,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "G2BXWw6NOChK"
                                            },
                                            "user": {
                                                "user_id": 295,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": null,
                                                "token": "x0ka5029tise",
                                                "phone": null,
                                                "mobile": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2023-03-23 11:48:49",
                                                "mod_datetime": "2023-03-23 11:48:49",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/contact\/view\/295",
                                                "user_type_name": "Billing",
                                                "username": "G2BXWw6NOChK",
                                                "password": null,
                                                "customer_id": 307
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "tokenized-update": {
            "post": {
                "description": "<p>\n\tThis event occurs when a tokenized payment method is updated.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = tokenized<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>tokenized_id<\/code> of the tokenized payment method)<\/li>\n\t<li><code>event = update<\/code><\/li>\n<\/ul>\n",
                "summary": "A tokenized payment method is edited",
                "operationId": "tokenized-update",
                "tags": [
                    "tokenized"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "tokenized": {
                                                "type": "object",
                                                "properties": {
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "crd",
                                                            "ach"
                                                        ]
                                                    },
                                                    "expdate": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "type_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visa",
                                                            "mast",
                                                            "disc",
                                                            "amex"
                                                        ]
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "gateway": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "tokenized",
                                        "context_id": "1",
                                        "event": "update",
                                        "data": {
                                            "tokenized": {
                                                "tokenized_id": 1,
                                                "type": "",
                                                "name": "Tokenized CC",
                                                "token": "oaseihsndkrrn12i34ho",
                                                "expdate": null,
                                                "type_hint": null,
                                                "paymethod_hint": "",
                                                "write_datetime": "2023-03-23 11:49:15",
                                                "write_ipaddr": "172.29.0.1",
                                                "mod_datetime": "2023-03-23 12:18:53",
                                                "mod_ipaddr": "172.29.0.1",
                                                "customer_id": 307
                                            },
                                            "customer": {
                                                "superuser_id": 295,
                                                "external_key": null,
                                                "token": "d07dup6w8h61",
                                                "company": "Test Customer",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "no_latefees": false,
                                                "write_datetime": "2023-03-23 11:48:48",
                                                "write_ipaddr": "172.29.0.1",
                                                "mod_datetime": "2023-03-23 11:48:48",
                                                "mod_ipaddr": "172.29.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/dev1.chargeover.test\/r\/statement\/view\/d07dup6w8h61",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.test\/r\/paymethod\/i\/d07dup6w8h61",
                                                "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/customer\/view\/307",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": null,
                                                "superuser_email": null,
                                                "superuser_token": "x0ka5029tise",
                                                "customer_id": 307,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "mrr": 0,
                                                "arr": 0,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "G2BXWw6NOChK"
                                            },
                                            "user": {
                                                "user_id": 295,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": null,
                                                "token": "x0ka5029tise",
                                                "phone": null,
                                                "mobile": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2023-03-23 11:48:49",
                                                "mod_datetime": "2023-03-23 11:48:49",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/contact\/view\/295",
                                                "user_type_name": "Billing",
                                                "username": "G2BXWw6NOChK",
                                                "password": null,
                                                "customer_id": 307
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "tokenized-delete": {
            "post": {
                "description": "<p>\n\tThis event occurs when a tokenized payment method is deleted.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = tokenized<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>tokenized_id<\/code> of the tokenized payment method)<\/li>\n\t<li><code>event = delete<\/code><\/li>\n<\/ul>\n",
                "summary": "A tokenized payment method is deleted",
                "operationId": "tokenized-delete",
                "tags": [
                    "tokenized"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "tokenized": {
                                                "type": "object",
                                                "properties": {
                                                    "tokenized_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "type": {
                                                        "type": "string"
                                                    },
                                                    "paymethod_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "crd",
                                                            "ach"
                                                        ]
                                                    },
                                                    "expdate": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "type_hint": {
                                                        "type": "string",
                                                        "enum": [
                                                            "visa",
                                                            "mast",
                                                            "disc",
                                                            "amex"
                                                        ]
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "gateway": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "customer": {
                                                "type": "object",
                                                "properties": {
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "parent_customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string"
                                                    },
                                                    "language_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_id": {
                                                        "type": "integer"
                                                    },
                                                    "currency_iso4217": {
                                                        "type": "string"
                                                    },
                                                    "currency_symbol": {
                                                        "type": "string"
                                                    },
                                                    "class_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_id": {
                                                        "type": "integer"
                                                    },
                                                    "campaign_details": {
                                                        "type": "string"
                                                    },
                                                    "superuser_username": {
                                                        "type": "string"
                                                    },
                                                    "superuser_email": {
                                                        "type": "string"
                                                    },
                                                    "superuser_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_first_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_last_name": {
                                                        "type": "string"
                                                    },
                                                    "superuser_phone": {
                                                        "type": "string"
                                                    },
                                                    "superuser_mobile": {
                                                        "type": "string"
                                                    },
                                                    "superuser_token": {
                                                        "type": "string"
                                                    },
                                                    "superuser_title": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr1": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr2": {
                                                        "type": "string"
                                                    },
                                                    "bill_addr3": {
                                                        "type": "string"
                                                    },
                                                    "bill_city": {
                                                        "type": "string"
                                                    },
                                                    "bill_state": {
                                                        "type": "string"
                                                    },
                                                    "bill_postcode": {
                                                        "type": "string"
                                                    },
                                                    "bill_country": {
                                                        "type": "string"
                                                    },
                                                    "bill_block": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr1": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr2": {
                                                        "type": "string"
                                                    },
                                                    "ship_addr3": {
                                                        "type": "string"
                                                    },
                                                    "ship_city": {
                                                        "type": "string"
                                                    },
                                                    "ship_state": {
                                                        "type": "string"
                                                    },
                                                    "ship_postcode": {
                                                        "type": "string"
                                                    },
                                                    "ship_country": {
                                                        "type": "string"
                                                    },
                                                    "ship_block": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "custom_21": {
                                                        "type": "string"
                                                    },
                                                    "custom_22": {
                                                        "type": "string"
                                                    },
                                                    "custom_23": {
                                                        "type": "string"
                                                    },
                                                    "custom_24": {
                                                        "type": "string"
                                                    },
                                                    "custom_25": {
                                                        "type": "string"
                                                    },
                                                    "custom_26": {
                                                        "type": "string"
                                                    },
                                                    "custom_27": {
                                                        "type": "string"
                                                    },
                                                    "custom_28": {
                                                        "type": "string"
                                                    },
                                                    "custom_29": {
                                                        "type": "string"
                                                    },
                                                    "custom_30": {
                                                        "type": "string"
                                                    },
                                                    "custom_31": {
                                                        "type": "string"
                                                    },
                                                    "custom_32": {
                                                        "type": "string"
                                                    },
                                                    "custom_33": {
                                                        "type": "string"
                                                    },
                                                    "custom_34": {
                                                        "type": "string"
                                                    },
                                                    "custom_35": {
                                                        "type": "string"
                                                    },
                                                    "custom_36": {
                                                        "type": "string"
                                                    },
                                                    "custom_37": {
                                                        "type": "string"
                                                    },
                                                    "custom_38": {
                                                        "type": "string"
                                                    },
                                                    "custom_39": {
                                                        "type": "string"
                                                    },
                                                    "custom_40": {
                                                        "type": "string"
                                                    },
                                                    "custom_41": {
                                                        "type": "string"
                                                    },
                                                    "custom_42": {
                                                        "type": "string"
                                                    },
                                                    "custom_43": {
                                                        "type": "string"
                                                    },
                                                    "custom_44": {
                                                        "type": "string"
                                                    },
                                                    "custom_45": {
                                                        "type": "string"
                                                    },
                                                    "custom_46": {
                                                        "type": "string"
                                                    },
                                                    "custom_47": {
                                                        "type": "string"
                                                    },
                                                    "custom_48": {
                                                        "type": "string"
                                                    },
                                                    "custom_49": {
                                                        "type": "string"
                                                    },
                                                    "custom_50": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "write_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_ipaddr": {
                                                        "type": "string"
                                                    },
                                                    "brand_id": {
                                                        "type": "integer"
                                                    },
                                                    "class_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_id": {
                                                        "type": "integer"
                                                    },
                                                    "terms_name": {
                                                        "type": "string"
                                                    },
                                                    "terms_days": {
                                                        "type": "integer"
                                                    },
                                                    "url_statementlink": {
                                                        "type": "string"
                                                    },
                                                    "url_paymethodlink": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    },
                                                    "admin_name": {
                                                        "type": "string"
                                                    },
                                                    "admin_email": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_status_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_str": {
                                                        "type": "string"
                                                    },
                                                    "customer_status_state": {
                                                        "type": "string"
                                                    },
                                                    "default_paymethod": {
                                                        "type": "string"
                                                    },
                                                    "default_creditcard_id": {
                                                        "type": "integer"
                                                    },
                                                    "default_ach_id": {
                                                        "type": "integer"
                                                    },
                                                    "no_taxes": {
                                                        "type": "boolean"
                                                    },
                                                    "no_dunning": {
                                                        "type": "boolean"
                                                    },
                                                    "no_latefees": {
                                                        "type": "boolean"
                                                    },
                                                    "no_procfees": {
                                                        "type": "boolean"
                                                    },
                                                    "invoice_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "dunning_delivery": {
                                                        "type": "string",
                                                        "enum": [
                                                            "print",
                                                            "email"
                                                        ]
                                                    },
                                                    "tax_ident": {
                                                        "type": "string"
                                                    },
                                                    "total": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "balance": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "paid": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "mrr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "arr": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "tags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            },
                                            "user": {
                                                "type": "object",
                                                "properties": {
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "token": {
                                                        "type": "string"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "password": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "middle_name_glob": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "name_suffix": {
                                                        "type": "string"
                                                    },
                                                    "display_as": {
                                                        "type": "string"
                                                    },
                                                    "title": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "phone": {
                                                        "type": "string"
                                                    },
                                                    "mobile": {
                                                        "type": "string"
                                                    },
                                                    "user_type_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_type_name": {
                                                        "type": "string"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "custom_6": {
                                                        "type": "string"
                                                    },
                                                    "custom_7": {
                                                        "type": "string"
                                                    },
                                                    "custom_8": {
                                                        "type": "string"
                                                    },
                                                    "custom_9": {
                                                        "type": "string"
                                                    },
                                                    "custom_10": {
                                                        "type": "string"
                                                    },
                                                    "custom_11": {
                                                        "type": "string"
                                                    },
                                                    "custom_12": {
                                                        "type": "string"
                                                    },
                                                    "custom_13": {
                                                        "type": "string"
                                                    },
                                                    "custom_14": {
                                                        "type": "string"
                                                    },
                                                    "custom_15": {
                                                        "type": "string"
                                                    },
                                                    "custom_16": {
                                                        "type": "string"
                                                    },
                                                    "custom_17": {
                                                        "type": "string"
                                                    },
                                                    "custom_18": {
                                                        "type": "string"
                                                    },
                                                    "custom_19": {
                                                        "type": "string"
                                                    },
                                                    "custom_20": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string"
                                                    },
                                                    "url_self": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "tokenized",
                                        "context_id": "2",
                                        "event": "delete",
                                        "data": {
                                            "tokenized": {
                                                "tokenized_id": 2,
                                                "type": "",
                                                "name": "Tokenized ACH",
                                                "token": "asldiruesknjfis",
                                                "expdate": null,
                                                "type_hint": null,
                                                "paymethod_hint": null,
                                                "write_datetime": "2023-03-23 12:27:12",
                                                "mod_datetime": "2023-03-23 12:27:12",
                                                "customer_id": 307
                                            },
                                            "customer": {
                                                "superuser_id": 295,
                                                "external_key": null,
                                                "token": "d07dup6w8h61",
                                                "company": "Test Customer",
                                                "bill_addr1": null,
                                                "bill_addr2": null,
                                                "bill_addr3": null,
                                                "bill_city": null,
                                                "bill_state": null,
                                                "bill_postcode": null,
                                                "bill_country": "United States",
                                                "bill_notes": null,
                                                "ship_addr1": null,
                                                "ship_addr2": null,
                                                "ship_addr3": null,
                                                "ship_city": null,
                                                "ship_state": null,
                                                "ship_postcode": null,
                                                "ship_country": null,
                                                "ship_notes": null,
                                                "terms_id": 2,
                                                "class_id": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "custom_6": null,
                                                "custom_7": null,
                                                "custom_8": null,
                                                "custom_9": null,
                                                "custom_10": null,
                                                "custom_11": null,
                                                "custom_12": null,
                                                "custom_13": null,
                                                "custom_14": null,
                                                "custom_15": null,
                                                "custom_16": null,
                                                "custom_17": null,
                                                "custom_18": null,
                                                "custom_19": null,
                                                "custom_20": null,
                                                "admin_id": null,
                                                "campaign_id": null,
                                                "currency_id": 1,
                                                "language_id": 1,
                                                "brand_id": 1,
                                                "default_paymethod": null,
                                                "default_creditcard_id": null,
                                                "default_ach_id": null,
                                                "tax_ident": "",
                                                "no_taxes": false,
                                                "no_dunning": false,
                                                "no_latefees": false,
                                                "write_datetime": "2023-03-23 11:48:48",
                                                "write_ipaddr": "172.29.0.1",
                                                "mod_datetime": "2023-03-23 11:48:48",
                                                "mod_ipaddr": "172.29.0.1",
                                                "terms_name": "Net 30",
                                                "terms_days": 30,
                                                "class_name": "",
                                                "paid": 0,
                                                "total": 0,
                                                "balance": 0,
                                                "url_statementlink": "https:\/\/dev1.chargeover.test\/r\/statement\/view\/d07dup6w8h61",
                                                "url_paymethodlink": "https:\/\/dev1.chargeover.test\/r\/paymethod\/i\/d07dup6w8h61",
                                                "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/customer\/view\/307",
                                                "admin_name": "",
                                                "admin_email": "",
                                                "currency_symbol": "$",
                                                "currency_iso4217": "USD",
                                                "display_as": "Test Customer",
                                                "ship_block": "",
                                                "bill_block": "United States",
                                                "superuser_name": "Test Customer",
                                                "superuser_first_name": "Test",
                                                "superuser_last_name": "Customer",
                                                "superuser_phone": null,
                                                "superuser_email": null,
                                                "superuser_token": "x0ka5029tise",
                                                "customer_id": 307,
                                                "parent_customer_id": null,
                                                "invoice_delivery": "email",
                                                "dunning_delivery": "email",
                                                "customer_status_id": 1,
                                                "mrr": 0,
                                                "arr": 0,
                                                "customer_status_name": "Current",
                                                "customer_status_str": "active-current",
                                                "customer_status_state": "a",
                                                "superuser_username": "G2BXWw6NOChK"
                                            },
                                            "user": {
                                                "user_id": 295,
                                                "external_key": null,
                                                "first_name": "Test",
                                                "middle_name_glob": null,
                                                "last_name": "Customer",
                                                "name_suffix": null,
                                                "title": null,
                                                "email": null,
                                                "token": "x0ka5029tise",
                                                "phone": null,
                                                "mobile": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "user_type_id": 1,
                                                "write_datetime": "2023-03-23 11:48:49",
                                                "mod_datetime": "2023-03-23 11:48:49",
                                                "name": "Test Customer",
                                                "display_as": "Test Customer",
                                                "url_self": "https:\/\/dev1.chargeover.test\/admin\/r\/contact\/view\/295",
                                                "user_type_name": "Billing",
                                                "username": "G2BXWw6NOChK",
                                                "password": null,
                                                "customer_id": 307
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "admin-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when a new admin is created.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = admin<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>admin_id<\/code> of the new user)<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n",
                "summary": "An admin is created",
                "operationId": "admin-insert",
                "tags": [
                    "admins"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "admin": {
                                                "type": "object",
                                                "properties": {
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "timezone": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "initials": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "twitter": {
                                                        "type": "string"
                                                    },
                                                    "facebook": {
                                                        "type": "string"
                                                    },
                                                    "linkedin": {
                                                        "type": "string"
                                                    },
                                                    "login_count": {
                                                        "type": "string"
                                                    },
                                                    "login_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "admin",
                                        "context_id": 5,
                                        "event": "insert",
                                        "data": {
                                            "admin": {
                                                "admin_id": 5,
                                                "external_key": null,
                                                "timezone": null,
                                                "first_name": "Test",
                                                "last_name": "Admin",
                                                "initials": null,
                                                "nickname": "TestAdmin",
                                                "email": "test@email.com",
                                                "twitter": null,
                                                "facebook": null,
                                                "linkedin": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "login_count": "0",
                                                "login_datetime": null,
                                                "write_datetime": "2023-03-23 12:54:45",
                                                "mod_datetime": "2023-03-23 12:54:45",
                                                "name": "Test Admin",
                                                "username": "test@email.com"
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "admin-update": {
            "post": {
                "description": "<p>\n\tThis event occurs when a new admin is updated.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = admin<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>admin_id<\/code> of the new user)<\/li>\n\t<li><code>event = update<\/code><\/li>\n<\/ul>\n",
                "summary": "An admin is edited",
                "operationId": "admin-update",
                "tags": [
                    "admins"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "admin": {
                                                "type": "object",
                                                "properties": {
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "timezone": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "initials": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "twitter": {
                                                        "type": "string"
                                                    },
                                                    "facebook": {
                                                        "type": "string"
                                                    },
                                                    "linkedin": {
                                                        "type": "string"
                                                    },
                                                    "login_count": {
                                                        "type": "string"
                                                    },
                                                    "login_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "admin",
                                        "context_id": 5,
                                        "event": "update",
                                        "data": {
                                            "admin": {
                                                "admin_id": 5,
                                                "external_key": null,
                                                "timezone": "",
                                                "first_name": "Test",
                                                "last_name": "Admin Edit",
                                                "initials": null,
                                                "nickname": "TestAdmin",
                                                "email": "test@email.com",
                                                "twitter": null,
                                                "facebook": null,
                                                "linkedin": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "login_count": "0",
                                                "login_datetime": null,
                                                "write_datetime": "2023-03-23 12:54:45",
                                                "mod_datetime": "2023-03-23 13:01:32",
                                                "name": "Test Admin Edit",
                                                "username": "test@email.com"
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "admin-delete": {
            "post": {
                "description": "<p>\n\tThis event occurs when an admin is deleted.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = admin<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>admin_id<\/code> of the new user)<\/li>\n\t<li><code>event = delete<\/code><\/li>\n<\/ul>\n",
                "summary": "An admin is deleted",
                "operationId": "admin-delete",
                "tags": [
                    "admins"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "admin": {
                                                "type": "object",
                                                "properties": {
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "timezone": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "initials": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "twitter": {
                                                        "type": "string"
                                                    },
                                                    "facebook": {
                                                        "type": "string"
                                                    },
                                                    "linkedin": {
                                                        "type": "string"
                                                    },
                                                    "login_count": {
                                                        "type": "string"
                                                    },
                                                    "login_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "admin",
                                        "context_id": 5,
                                        "event": "delete",
                                        "data": {
                                            "admin": {
                                                "admin_id": 5,
                                                "external_key": null,
                                                "timezone": "",
                                                "first_name": "Test",
                                                "last_name": "Admin Edit",
                                                "initials": null,
                                                "nickname": "TestAdmin",
                                                "email": "test@email.com-1679594810.402",
                                                "twitter": null,
                                                "facebook": null,
                                                "linkedin": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "login_count": "0",
                                                "login_datetime": null,
                                                "write_datetime": "2023-03-23 12:54:45",
                                                "mod_datetime": "2023-03-23 13:01:32",
                                                "name": "Test Admin Edit",
                                                "username": "test@email.com-1679594810.402"
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "admin-login": {
            "post": {
                "description": "<p>\n\tThis event occurs when an admin logs into ChargeOver.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = admin<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>admin_id<\/code> of the new user)<\/li>\n\t<li><code>event = login<\/code><\/li>\n<\/ul>\n",
                "summary": "An admin logged into ChargeOver",
                "operationId": "admin-login",
                "tags": [
                    "admins"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "admin": {
                                                "type": "object",
                                                "properties": {
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "username": {
                                                        "type": "string"
                                                    },
                                                    "external_key": {
                                                        "type": "string"
                                                    },
                                                    "timezone": {
                                                        "type": "string"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "initials": {
                                                        "type": "string"
                                                    },
                                                    "nickname": {
                                                        "type": "string"
                                                    },
                                                    "email": {
                                                        "type": "string"
                                                    },
                                                    "twitter": {
                                                        "type": "string"
                                                    },
                                                    "facebook": {
                                                        "type": "string"
                                                    },
                                                    "linkedin": {
                                                        "type": "string"
                                                    },
                                                    "login_count": {
                                                        "type": "string"
                                                    },
                                                    "login_datetime": {
                                                        "type": "string"
                                                    },
                                                    "custom_1": {
                                                        "type": "string"
                                                    },
                                                    "custom_2": {
                                                        "type": "string"
                                                    },
                                                    "custom_3": {
                                                        "type": "string"
                                                    },
                                                    "custom_4": {
                                                        "type": "string"
                                                    },
                                                    "custom_5": {
                                                        "type": "string"
                                                    },
                                                    "write_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    },
                                                    "mod_datetime": {
                                                        "type": "string",
                                                        "format": "date"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "admin",
                                        "context_id": 1,
                                        "event": "login",
                                        "data": {
                                            "admin": {
                                                "admin_id": 1,
                                                "external_key": null,
                                                "timezone": null,
                                                "first_name": "Test",
                                                "last_name": "Admin",
                                                "initials": null,
                                                "nickname": null,
                                                "email": "test@email.com",
                                                "twitter": null,
                                                "facebook": null,
                                                "linkedin": null,
                                                "custom_1": null,
                                                "custom_2": null,
                                                "custom_3": null,
                                                "custom_4": null,
                                                "custom_5": null,
                                                "login_count": "149",
                                                "login_datetime": "2023-03-23 12:45:45",
                                                "write_datetime": "2022-08-17 09:22:21",
                                                "mod_datetime": "2023-02-27 15:47:07",
                                                "name": "Test Admin",
                                                "username": "test@email.com"
                                            }
                                        },
                                        "security_token": "a8T3OnpczQwvqgfZumVbrsYhBt0DEeS1"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        },
        "note-insert": {
            "post": {
                "description": "<p>\n\tThis event occurs when a new note is created.\n<\/p>\n<p>\n\tNote these fields:\n<\/p>\n<ul>\n\t<li><code>context_str = note<\/code><\/li>\n\t<li><code>context_id = ...<\/code> (this will be the <code>note_id<\/code> of the new note)<\/li>\n\t<li><code>event = insert<\/code><\/li>\n<\/ul>\n",
                "summary": "A note created",
                "operationId": "note-insert",
                "tags": [
                    "notes"
                ],
                "requestBody": {
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "context_str": {
                                        "type": "string"
                                    },
                                    "context_id": {
                                        "type": "integer"
                                    },
                                    "event": {
                                        "type": "string"
                                    },
                                    "data": {
                                        "type": "object",
                                        "properties": {
                                            "note": {
                                                "type": "object",
                                                "properties": {
                                                    "note_id": {
                                                        "type": "integer"
                                                    },
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "admin_id": {
                                                        "type": "integer"
                                                    },
                                                    "note": {
                                                        "type": "string"
                                                    },
                                                    "note_is_pinned": {
                                                        "type": "boolean"
                                                    },
                                                    "context_str": {
                                                        "type": "string"
                                                    },
                                                    "context_id": {
                                                        "type": "string"
                                                    },
                                                    "note_datetime": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    "security_token": {
                                        "type": "string"
                                    }
                                }
                            },
                            "examples": {
                                "Example 1": {
                                    "value": {
                                        "context_str": "note",
                                        "context_id": 9,
                                        "event": "insert",
                                        "data": {
                                            "note": {
                                                "note_id": 9,
                                                "user_id": null,
                                                "admin_id": 1,
                                                "note_is_pinned": false,
                                                "note_datetime": "2024-02-16 08:16:34",
                                                "note": "Customer requested upgrade to PRO plan via email",
                                                "context_str": "customer",
                                                "context_id": 265
                                            }
                                        },
                                        "security_token": "abcd1234"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Return a 200 status to indicate that the data was received successfully"
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "basic": {
                "type": "http",
                "scheme": "basic"
            }
        }
    },
    "tags": [
        {
            "name": "customers",
            "description": "The primary key field for customers is <code>customer_id<\/code>.",
            "x-displayName": "Customers"
        },
        {
            "name": "users",
            "description": "The primary key field for a user is <code>user_id<\/code>.",
            "x-displayName": "Users \/ Contacts"
        },
        {
            "name": "invoices",
            "description": "The primary key field for an invoice is <code>invoice_id<\/code>.",
            "x-displayName": "Invoices"
        },
        {
            "name": "transactions",
            "description": "",
            "x-displayName": "Transactions (Payments, Refunds, Credits)"
        },
        {
            "name": "quotes",
            "description": "The primary key field for a quote is <code>quote_id<\/code>.",
            "x-displayName": "Quotes"
        },
        {
            "name": "subscriptions",
            "description": "",
            "x-displayName": "Subscriptions (Packages)"
        },
        {
            "name": "items",
            "description": "",
            "x-displayName": "Items (Products, Discounts)"
        },
        {
            "name": "creditcards",
            "description": "",
            "x-displayName": "Credit Cards"
        },
        {
            "name": "ach",
            "description": "",
            "x-displayName": "ACH\/eCheck Accounts"
        },
        {
            "name": "tokenized",
            "description": "The tokenized card APIs are used for storing\/retrieving credit cards that have already been tokenized by another service (e.g. customer or card tokens from other payment gateways such as Stripe or Braintree).<br\/><br\/>This is useful if you're migrating from Stripe or Braintree but want to still be able to use the credit cards you have stored there during migration.",
            "x-displayName": "Tokenized Pay Methods"
        },
        {
            "name": "brands",
            "description": "",
            "x-displayName": "Brands"
        },
        {
            "name": "usage",
            "description": "",
            "x-displayName": "Usage \/ Metered"
        },
        {
            "name": "categories",
            "description": "Available query parameter values for filtering:<br\/><ul><li>item_category_id<\/li><li>external_key<\/li><li>name<\/li><li>children_of_item_category_id (i.e. get the child categories of this category)<\/li><li>parent_of_item_category_id (i.e. get the parent category of this category)<\/li><\/ul>",
            "x-displayName": "Categories"
        },
        {
            "name": "campaigns",
            "description": "",
            "x-displayName": "Campaigns"
        },
        {
            "name": "classes",
            "description": "",
            "x-displayName": "Classes"
        },
        {
            "name": "countries",
            "description": "",
            "x-displayName": "Countries"
        },
        {
            "name": "coupons",
            "description": "",
            "x-displayName": "Coupons"
        },
        {
            "name": "currencies",
            "description": "",
            "x-displayName": "Currencies"
        },
        {
            "name": "languages",
            "description": "",
            "x-displayName": "Languages"
        },
        {
            "name": "terms",
            "description": "Sales terms specify the number of days an invoice is expected to be paid after the goods are dispatched or service is completed. e.g. NET 30, NET 60, etc.",
            "x-displayName": "Terms"
        },
        {
            "name": "notes",
            "description": "",
            "x-displayName": "Notes"
        },
        {
            "name": "admins",
            "description": "Admin workers are administrative users of the ChargeOver backend (e.g. your employees or workers).<br\/><br\/>The primary key field for admins is <code>admin_id<\/code>.",
            "x-displayName": "Admin Workers"
        },
        {
            "name": "customfields",
            "description": "Use these endpoints to get information about custom fields that are defined within ChargeOver.",
            "x-displayName": "Custom Fields"
        },
        {
            "name": "resthooks",
            "description": "REST Hooks are a collection of patterns that treat webhooks like subscriptions.<br\/>Your app can subscribe to an event (example: \"A customer is created\") via the ChargeOver REST API, and instantaneously receive notifications (JSON payloads) via HTTP POST requests whenever that event occurs within ChargeOver.",
            "x-displayName": "REST Hooks"
        },
        {
            "name": "integrations",
            "description": "Use these endpoints to push and pull data relating ChargeOver records to integrated application records.",
            "x-displayName": "Integrations"
        },
        {
            "name": "systemlog",
            "description": "The ChargeOver system log contains warnings and other notifications about notable events happening within ChargeOver. This may include notifictaions about webhook URLs failing, usage URLs failing, etc.",
            "x-displayName": "System Log"
        },
        {
            "name": "chargeoverjs",
            "description": "The ChargeOver.js REST API components allow you to take advantage of the store\/review\/commit mode that ChargeOver.js offers.<br\/><br\/>This provides the ability to hold ChargeOver.js requests in a \"pending\" state until reviewed further.<br\/><br\/>Incoming ChargeOver.js requests can be reviewed, and then either committed (saved to the database) or rejected (discarded).",
            "x-displayName": "ChargeOver.js"
        },
        {
            "name": "reporting",
            "description": "Reporting",
            "x-displayName": "Reporting"
        }
    ]
}