Skip to content

Connect Stripe to your ontology

Bijection1 min read

Billing data is business data. A new example program shows how to connect Stripe to Bijection so customers, subscriptions and invoices sit in the same model as the rest of your operations.

What the example covers

The example defines Stripe objects in the ontology, keeps them in sync with your Stripe account, and adds operations that write back, such as issuing a credit or pausing a subscription.

Writes go through operations

Every change to Stripe goes through a declared operation with its own permissions. The call to Stripe is durable: it is recorded before it is sent and reconciled afterwards, so a retry never charges a customer twice.

Start from the example

The program directory for the example is in the documentation. Copy it into your project and connect your own Stripe test account to try it.