Skip to main content
New to Corsair? See API access, authentication, and error handling.

Balance Lines

create

balanceLines.create Add a balance line, such as a one-off charge or credit in cents, to a customer’s next invoice Risk: destructive
Input Output

list

balanceLines.list List balance lines by customer, segment, feature or subscription, with their totals Risk: read
Input Output

Customers

anonymize

customers.anonymize Erase a customer’s personal data. This cannot be undone, and ProAbono keeps the billing record only as it must Risk: destructive · Irreversible
Input Output

create

customers.create Create a customer with your own reference, which subscriptions and usages then identify it by Risk: write
Input Output

get

customers.get Read one customer by your reference, with whether it is billable Risk: read
Input Output

invalidate

customers.invalidate Invalidate a customer: ProAbono replaces their reference so it can be reused and revokes their portal links. Subscriptions, invoices and payment methods stay Risk: destructive
Input Output

list

customers.list List the customers in a segment, one page at a time Risk: read
Input Output

suspend

customers.suspend Suspend a customer without deleting anything, so they can be reactivated Risk: write
Input Output

update

customers.update Change a customer’s name, email, language, affiliation or metadata. ProAbono creates and updates on the same route, so an unknown reference creates a customer Risk: write
Input Output

Features

get

features.get Read one feature by its reference Risk: read
Input Output

list

features.list List the features your offers carry Risk: read
Input Output

Invoices

get

invoices.get Read one invoice with its totals and links Risk: read
Input Output

list

invoices.list List invoices by customer or subscription, one page at a time Risk: read
Input Output

Offers

get

offers.get Read one offer by its reference Risk: read
Input Output

list

offers.list List the offers in a segment, optionally in a customer language and with their upgrade links Risk: read
Input Output

Subscriptions

create

subscriptions.create Subscribe a customer to an offer, which starts billing when the offer is paid and the customer is billable. TryStart: false creates it without starting so it can be customised first Risk: destructive
Input Output

get

subscriptions.get Read one subscription with its state, period, next billing date and features. The docs warn against using this to check whether a user is a subscriber Risk: read
Input Output

list

subscriptions.list List subscriptions filtered by customer, offer or segment, one page at a time Risk: read
Input Output

start

subscriptions.start Start a subscription that was created without starting, which begins billing Risk: destructive
Input Output

suspend

subscriptions.suspend Suspend a subscription without terminating it Risk: write
Input Output

terminate

subscriptions.terminate Terminate a subscription, ending it for good; by default at the end of the current period. A later start cannot revive it Risk: destructive
Input Output

updateTerm

subscriptions.updateTerm Change a subscription’s end date Risk: write
Input Output

upgrade

subscriptions.upgrade Move a subscription to another offer, which changes what it bills from the next period Risk: destructive
Input Output

Usages

get

usages.get Read one customer’s usage of one feature: on/off, or the included and current quantities Risk: read
Input Output

increment

usages.increment Add to a feature’s usage for a customer, which ProAbono bills when it exceeds the included quantity. A negative increment subtracts, which is how a reversed action is recorded Risk: destructive
Input Output

list

usages.list List feature usages by customer, feature or subscription, one page at a time Risk: read
Input Output

update

usages.update Update up to 50 usages in one call, each by increment, current quantity or on/off Risk: destructive
Input
Output