Retrieving Invoices By ID
import sys
import chargeover
import pprint
# For authentication, fill in these values from your ChargeOver
# server information under "Configuraion->API and Webhooks"
endpoint =
username =
password =
# Set this to True to use "COv1 Signature" authorization
key_auth = False
co = chargeover.ChargeOver(
endpoint,
username,
password,
key_auth = key_auth)
id = 24
# Find an invoice by id
invoice = co.find_by_id("invoice", id)
print "Invoice from specified id"
pprint.pprint(invoice)