ChargeOver
App · 25 actions
Manage ChargeOver customers, invoices, payments and subscriptions, and start workflows when they change.
Actions
| Action | What it does |
|---|---|
| Cancel subscription | Cancel a subscription now, or on a day you choose. |
| Create contact | Add a contact to a customer. |
| Create customer | Add a customer. |
| Create invoice | Make an invoice for a customer. |
| Create note | Add a note to a customer, subscription, invoice, contact, quote or item. |
| Create subscription | Start a subscription for a customer. |
| Delete contact | Delete a contact. |
| Delete note | Delete a note. |
| Email invoice | Email an invoice to the customer, or to the address you give. |
| Get customer | Get one customer's details and balance. |
| Get invoice | Get one invoice with its lines. |
| Get item | Get one product, service or discount. |
| Get subscription | Get one subscription with its lines. |
| Get transaction | Get one payment, refund or credit, with the invoices it was applied to. |
| List contacts | List contacts, filtered and sorted as you choose. |
| List customers | List customers, filtered and sorted as you choose. |
| List invoices | List invoices, filtered and sorted as you choose. |
| List items | List products, services and discounts, filtered and sorted as you choose. |
| List notes | List notes, such as every note on one customer. |
| List subscriptions | List subscriptions, filtered and sorted as you choose. |
| List transactions | List payments, refunds and credits, filtered and sorted as you choose. |
| Record payment | Record a payment a customer made outside ChargeOver, such as a check. |
| Update contact | Change a contact's details. |
| Update customer | Change a customer's details. |
| Void invoice | Void an invoice so nothing is due and no more payments are tried. |
Cancel subscription
Cancel a subscription now, or on a day you choose.
Inputs
- Subscription
package_idnumberRequired - The ID of the subscription to cancel.
- Cancel on
cancel_datedate - A future day to cancel on. Leave empty to cancel now.
- Cancel reason
cancel_reason_idnumber - The ID of one of your account's cancellation reasons.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": true,
"status": "OK"
}
}Create contact
Add a contact to a customer.
Inputs
- Customer
customer_idnumberRequired - The customer the contact belongs to.
- Username
usernametextRequired - A unique username for their customer portal sign-in.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Email
emailtext - Their email address.
- Phone
phonetext - Their phone number.
- Job title
titletext - Their job title.
- External key
external_keytext - Your own ID for this contact, if you keep one.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Create customer
Add a customer.
Inputs
- Company
companytextRequired - The customer's company or name.
- Contact first name
superuser_first_nametext - The main contact's first name.
- Contact last name
superuser_last_nametext - The main contact's last name.
- Contact email
superuser_emailtext - The main contact's email address.
- Contact phone
superuser_phonetext - The main contact's phone number.
- Billing address line 1
bill_addr1text - First line of the billing address.
- Billing address line 2
bill_addr2text - Second line of the billing address.
- Billing city
bill_citytext - Billing city.
- Billing state
bill_statetext - Billing state or province.
- Billing postal code
bill_postcodetext - Billing postal code.
- Billing country
bill_countrytext - Billing country.
- External key
external_keytext - Your own ID for this customer, if you keep one.
- Parent customer
parent_customer_idnumber - The customer this one belongs to, if any.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Create invoice
Make an invoice for a customer.
Inputs
- Customer
customer_idnumberRequired - The customer to invoice.
- Lines
line_itemslistRequired - The invoice's lines. Each needs an item ID from List items; the description, rate and quantity are optional.
- Invoice date
datedate - The invoice date. Leave empty for today.
- Invoice number
refnumbertext - An invoice number of your own. Leave empty to have ChargeOver number it.
- Memo
memotext - A note to the customer shown on the invoice.
- External key
external_keytext - Your own ID for this invoice, if you keep one.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Create note
Add a note to a customer, subscription, invoice, contact, quote or item.
Inputs
- Note
notetextRequired - The note's text.
- Attach to
context_strtextRequired - What kind of record the note is for.One of:
customer,billing_package(Subscription),invoice,user(Contact),quote,item. - Record ID
context_idtextRequired - The ID of that record, such as a customer ID.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Create subscription
Start a subscription for a customer.
Inputs
- Customer
customer_idnumberRequired - The customer to subscribe.
- Lines
line_itemslistRequired - The subscription's lines. Each needs an item ID from List items; the description and quantity are optional.
- Nickname
nicknametext - A name for the subscription.
- Billing cycle
paycycletext - How often to bill. Leave empty for your account's default.One of:
dly(Daily),1wk(Every week),2wk(Every other week),116(1st and 16th),4wk(Every four weeks),8wk(Every eight weeks),30d(Every 30 days),mon(Monthly),2mn(Every other month),12w(Every twelve weeks), and 8 more. - Payment method
paymethodtext - How it is paid. Leave empty to send invoices.One of:
crd(Card on file),ach(Bank account on file),inv(Send invoices),tok(Saved payment token). - First invoice date
holduntil_datetimedate - Hold invoicing until this day.
- External key
external_keytext - Your own ID for this subscription, if you keep one.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Delete contact
Delete a contact.
Inputs
- Contact
usernumberRequired - The ID of the contact to delete.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": true,
"status": "OK"
}
}Delete note
Delete a note.
Inputs
- Note
note_idnumberRequired - The ID of the note to delete.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": true,
"status": "OK"
}
}Email invoice
Email an invoice to the customer, or to the address you give.
Inputs
- Invoice
invoice_idnumberRequired - The ID of the invoice to send.
- To
emailtext - Send it here instead of to the customer's contacts.
- Cc
cctext - Copy it to this address.
- Bcc
bcctext - Blind copy it to this address.
- Subject
subjecttext - A subject to use instead of the template's.
- Message
body_texttext - A plain-text message to use instead of the template's.
- Email template
message_idnumber - The ID of an email template to use instead of the default, as shown in the template's address in ChargeOver.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": true,
"status": "OK"
}
}Get customer
Get one customer's details and balance.
Inputs
- Customer
customer_idnumberRequired - The customer to get.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": {
"balance": 1510.65,
"bill_addr1": "56 Wintergreen Street",
"bill_city": "Hamden",
"bill_country": "United States",
"bill_postcode": "06517",
"bill_state": "CT",
"company": "Karli Marie",
"currency_iso4217": "USD",
"customer_id": 16,
"customer_status_name": "Over Due",
"customer_status_str": "active-overdue",
"display_as": "Karli Marie",
"mod_datetime": "2017-12-01 21:37:50",
"paid": 1145.46,
"superuser_email": "karli@chargeover.com",
"superuser_id": 364,
"superuser_name": "Karli Marie",
"superuser_phone": "860-249-1317",
"tags": [
"tag1",
"tag2"
],
"terms_name": "Due on Receipt",
"token": "fozdqj169569",
"total": 2656.11,
"url_self": "https://dev.chargeover.com/admin/r/customer/view/16",
"write_datetime": "2017-05-18 09:36:19"
},
"status": "OK"
}
}Get invoice
Get one invoice with its lines.
Inputs
- Invoice
invoice_idnumberRequired - The ID of the invoice to get.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": {
"balance": 65,
"credits": 0,
"currency_iso4217": "USD",
"customer_id": 3488,
"date": "2019-09-26",
"days_overdue": 0,
"due_date": "2019-12-20",
"invoice_id": 98165,
"invoice_status_name": "Unpaid",
"invoice_status_str": "open-unpaid",
"is_overdue": false,
"is_paid": false,
"is_void": false,
"line_items": [
{
"descrip": "1-month subscription to gold plan.",
"item_id": 29,
"item_name": "Gold Plan",
"line_quantity": 1,
"line_rate": 100
}
],
"payments": 35,
"refnumber": "98165",
"subtotal": 100,
"taxes": 0,
"terms_name": "Net 30",
"total": 100,
"url_paylink": "http://dev1.chargeover.test/r/trans/pay/1tslo5m9h51b",
"url_pdflink": "http://dev1.chargeover.test/r/invoice/pdf/1tslo5m9h51b",
"url_permalink": "http://dev1.chargeover.test/r/invoice/view/1tslo5m9h51b",
"url_self": "http://dev1.chargeover.test/admin/r/invoice/view/98165",
"write_datetime": "2019-09-26 10:16:43"
},
"status": "OK"
}
}Get item
Get one product, service or discount.
Inputs
- Item
item_idnumberRequired - The item to get.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": {
"description": "",
"enabled": true,
"item_id": 665,
"item_type": "bundle",
"mod_datetime": "2024-05-06 15:06:02",
"name": "My Bundle Example",
"token": "1jr4crjxtgnt",
"write_datetime": "2024-05-06 15:06:02"
},
"status": "OK"
}
}Get subscription
Get one subscription with its lines.
Inputs
- Subscription
package_idnumberRequired - The ID of the subscription to get.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": {
"amount_collected": 0,
"amount_due": 250,
"amount_invoiced": 250,
"currency_iso4217": "USD",
"customer_id": 22,
"days_overdue": 0,
"is_overdue": false,
"line_items": [
{
"item_id": 254,
"item_name": "Premium Silver",
"line_item_id": 23,
"line_quantity": 1,
"subscribe_datetime": "2017-09-20 12:33:44",
"tierset": {
"base": 250,
"paycycle": "evy",
"pricemodel": "fla"
}
}
],
"mod_datetime": "2017-09-20 12:33:44",
"next_invoice_datetime": "2017-10-20 00:00:01",
"package_id": 21,
"package_status_name": "Current",
"package_status_state": "a",
"package_status_str": "active-current",
"paycycle": "mon",
"paymethod": "inv",
"start_datetime": "2017-09-20 12:33:44",
"terms_name": "Net 30",
"token": "1tk5j5u2efhi",
"url_self": "http://dev.chargeover.com/admin/r/package/view/21",
"write_datetime": "2017-09-20 12:33:44"
},
"status": "OK"
}
}Get transaction
Get one payment, refund or credit, with the invoices it was applied to.
Inputs
- Transaction
transaction_idnumberRequired - The ID of the transaction to get.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": {
"amount": 75,
"applied": 75,
"applied_to": [
{
"applied": 75,
"invoice_id": 1027
}
],
"currency_iso4217": "USD",
"customer_id": 48,
"fee": 0,
"gateway_status": 1,
"gateway_transid": "1563978556",
"transaction_date": "2019-07-24",
"transaction_datetime": "2019-07-24 09:29:16",
"transaction_detail": "x1111",
"transaction_id": 43,
"transaction_method": "Visa",
"transaction_status_name": "Success",
"transaction_status_str": "ok-successful",
"transaction_type": "pay",
"transaction_type_name": "Payment",
"unapplied": 0,
"url_self": "https://dev1.chargeover.com/admin/r/transaction/view/43"
},
"status": "OK"
}
}List contacts
List contacts, filtered and sorted as you choose.
Inputs
- Filters
wherelist - Only contacts matching all of these conditions, each written as field:OPERATOR:value, such as customers.customer_id:EQUALS:16. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as user_id:DESC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"display_as": "Keith Palmer",
"email": "keith@chargeover.com",
"first_name": "Keith",
"last_name": "Palmer",
"mod_datetime": "2014-07-08 14:26:01",
"name": "Keith Palmer",
"phone": "860-634-1602",
"title": "",
"user_id": 362,
"username": "7yanhoctj6qs",
"write_datetime": "2014-07-02 09:58:37"
}
],
"status": "OK"
}
}List customers
List customers, filtered and sorted as you choose.
Inputs
- Filters
wherelist - Only customers matching all of these conditions, each written as field:OPERATOR:value, such as company:CONTAINS:Acme. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as customer_id:DESC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"bill_block": "Canada",
"bill_country": "Canada",
"company": "CA Test Customer 1",
"customer_id": 7,
"display_as": "CA Test Customer 1",
"email": "asgdadg@asdgaggd.com",
"mod_datetime": "2013-08-22 08:57:09",
"phone": "",
"superuser_id": 357,
"write_datetime": "2013-08-22 08:57:09"
}
],
"status": "OK"
}
}List invoices
List invoices, filtered and sorted as you choose.
Inputs
- Filters
wherelist - Only invoices matching all of these conditions, each written as field:OPERATOR:value, such as invoice_status_str:EQUALS:open-overdue. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as invoice_id:DESC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"balance": 150,
"credits": 0,
"customer_id": "1",
"invoice_id": "2688",
"invoice_status_name": "Unpaid",
"invoice_status_state": "o",
"invoice_status_str": "open-unpaid",
"is_paid": false,
"is_void": false,
"payments": 0,
"total": 150,
"url_pdflink": "https://dev.chargeover.com/r/invoice/pdf/i17fq4huy2ar",
"url_permalink": "https://dev.chargeover.com/r/invoice/view/i17fq4huy2ar",
"write_datetime": "2012-11-09 18:10:03"
}
],
"status": "OK"
}
}List items
List products, services and discounts, filtered and sorted as you choose.
Inputs
- Filters
wherelist - Only items matching all of these conditions, each written as field:OPERATOR:value, such as item_type:EQUALS:service. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as item_id:ASC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"description": "This is a ChargeOver test item.",
"item_id": 1,
"item_type": "service",
"mod_datetime": "2014-12-02 18:46:48",
"name": "My Test Service Plan",
"tiersets": [
{
"base": 10.95,
"base_formatted": "$ 10.95",
"paycycle": "mon",
"pricemodel": "fla",
"pricemodel_desc": "Flat Pricing (e.g. $X dollars per month)",
"setup": 0,
"tierset_id": 1
}
],
"token": "d56c047651ec",
"write_datetime": "2014-12-02 18:46:48"
}
],
"status": "OK"
}
}List notes
List notes, such as every note on one customer.
Inputs
- Filters
wherelist - Only notes matching all of these conditions, each written as field:OPERATOR:value, such as context_str:EQUALS:customer. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as note_id:DESC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"admin_id": 1,
"context_id": 265,
"context_str": "customer",
"note": "Customer agreed to upgrade to PRO plan.",
"note_datetime": "2024-02-16 07:46:58",
"note_id": 3,
"note_is_pinned": false
},
{
"admin_id": 1,
"context_id": 265,
"context_str": "customer",
"note": "Customer requested billing date be changed from 14th of the month to 12th of the month; credit issues.",
"note_datetime": "2024-02-16 07:47:14",
"note_id": 4,
"note_is_pinned": false
}
],
"status": "OK"
}
}List subscriptions
List subscriptions, filtered and sorted as you choose.
Inputs
- Filters
wherelist - Only subscriptions matching all of these conditions, each written as field:OPERATOR:value, such as package_status_state:EQUALS:a. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as package_id:DESC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"amount_collected": 0,
"amount_due": 0,
"amount_invoiced": 0,
"currency_iso4217": "USD",
"customer_id": 16,
"external_key": "adlink_5901",
"mod_datetime": "2014-06-20 15:52:57",
"next_invoice_datetime": "2014-09-01 00:00:01",
"package_id": 16,
"package_status_name": "Current",
"package_status_state": "a",
"package_status_str": "active-current",
"paycycle": "mon",
"paymethod": "crd",
"write_datetime": "2014-06-20 15:52:47"
}
],
"status": "OK"
}
}List transactions
List payments, refunds and credits, filtered and sorted as you choose.
Inputs
- Filters
wherelist - Only transactions matching all of these conditions, each written as field:OPERATOR:value, such as transaction_type:EQUALS:pay. Operators are EQUALS, NOTEQUALS, GT, LT, GTE, LTE, CONTAINS, IS:NULL and ISNOT:NULL.
- Sort
ordertext - A field and direction to sort by, such as transaction_id:DESC.
- Limit
limitnumber - How many to return, up to 500. ChargeOver returns 10 if you leave it empty.From 1 to 500.
- Skip
offsetnumber - How many to skip before the first one returned, for reading later pages.At least 0.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": [
{
"amount": 10.95,
"currency_iso4217": "USD",
"customer_id": 1,
"fee": -0.33,
"gateway_status": 1,
"gateway_transid": "*TEST CC* Mon, 16 Feb 2015 16:29:13 -0500",
"token": "6by30nr7dxlh",
"transaction_date": "2015-02-16",
"transaction_datetime": "2015-02-16 20:29:13",
"transaction_detail": "x1111",
"transaction_id": 65,
"transaction_method": "Visa",
"transaction_type": "pay",
"transaction_type_name": "Payment"
},
{
"amount": 25.95,
"currency_iso4217": "USD",
"customer_id": 1,
"fee": 0,
"gateway_status": 0,
"gateway_transid": "example",
"token": "flsxubzeao0t",
"transaction_date": "2015-02-20",
"transaction_datetime": "2015-02-20 20:20:34",
"transaction_detail": "x1111",
"transaction_id": 66,
"transaction_method": "Visa",
"transaction_type": "pay",
"transaction_type_name": "Payment"
}
],
"status": "OK"
}
}Record payment
Record a payment a customer made outside ChargeOver, such as a check. Nothing is charged.
Inputs
- Customer
customer_idnumberRequired - The customer who paid.
- Amount
amountnumberRequired - How much they paid.At least 0.
- Payment method
gateway_methodtext - How they paid.One of:
visa,mastercard,american-express(American Express),discover,check,paypal,credit,ach. - Payment date
transaction_datedate - The day they paid. Leave empty for today.
- Reference
gateway_transidtext - A reference for the payment, such as a check number.
- Details
transaction_detailtext - Any details to keep with the payment.
- External key
external_keytext - Your own ID for this payment, if you keep one.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Update contact
Change a contact's details. Fields you leave empty stay as they are.
Inputs
- Contact
usernumberRequired - The ID of the contact to change.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Email
emailtext - Their email address.
- Phone
phonetext - Their phone number.
- Job title
titletext - Their job title.
- External key
external_keytext - Your own ID for this contact, if you keep one.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Update customer
Change a customer's details. Fields you leave empty stay as they are.
Inputs
- Customer
customer_idnumberRequired - The customer to change.
- Company
companytext - The customer's company or name.
- Contact first name
superuser_first_nametext - The main contact's first name.
- Contact last name
superuser_last_nametext - The main contact's last name.
- Contact email
superuser_emailtext - The main contact's email address.
- Contact phone
superuser_phonetext - The main contact's phone number.
- Billing address line 1
bill_addr1text - First line of the billing address.
- Billing address line 2
bill_addr2text - Second line of the billing address.
- Billing city
bill_citytext - Billing city.
- Billing state
bill_statetext - Billing state or province.
- Billing postal code
bill_postcodetext - Billing postal code.
- Billing country
bill_countrytext - Billing country.
- External key
external_keytext - Your own ID for this customer, if you keep one.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 201,
"message": "",
"response": {
"id": 1234
},
"status": "OK"
}
}Void invoice
Void an invoice so nothing is due and no more payments are tried.
Inputs
- Invoice
invoice_idnumberRequired - The ID of the invoice to void.
Outputs
dataobject- The response from ChargeOver.
Example output
{
"data": {
"code": 200,
"message": "",
"response": true,
"status": "OK"
}
}