Skip to main content

Object Token Examples

You can reference objects within ChargeOver by their token value instead of the *_id value.

  • You can get objects from ChargeOver by token instead of using the customer_id, item_id, etc.

  • When adding or updating objects, you can reference other objects by *_token instead of their *_id values

API EXAMPLES
// Get a customer with token = 0q7fx5652k18
GET /api/v3/customer/token:0q7fx5652k18


// Add an invoice for the customer with token = 0q7fx5652k18
POST /api/v3/invoice

{
"customer_token": "0q7fx5652k18",
... other invoice data here ...
}