providerEndpoint and mount per mode. Bind the origin https://SITE.chargebee.com and seal the Base64 value of the read-only API key followed by a colon as Authorization header auth with prefix Basic . Pass the same protected label to the receiver binder and as the app’s data.
Initialize with
{ profile: { mode: "provider", provider, limit: 20 } }. Each source unwraps the named entity, keys its JSON by ID, and retains next_offset for the next page. An absent offset ends the live sweep. The next sweep restarts from the first page. Missing records remain landed. Each response supports up to 100 records and 36 KiB and requires the bundled parser artifact.
Write subscriptions
UseproviderWriter with chargebee.subscriptions.create-update in receivers.writers[mode]. Use a write-scoped Basic credential, the same protected label, and scope: ["CUSTOMER_ID"] for the Product Catalog 2.0 create route /api/v2/customers/CUSTOMER_ID/subscription_for_items. Updates target the command’s exact subscription ID at /api/v2/subscriptions/ID/update_for_items. The customer scope applies to creation.
Supply scalar fields with Chargebee’s bracket notation, such as "subscription_items[item_price_id][0]", and use an existing payment source. The request and encoded form each allow up to 24 KiB. HTTP 200 must return a subscription ID, and updates require the returned ID to match the target. The unkeyed contract uses the exact caller command key and preserves unknown outcomes. Commands perform no deletes and carry no read cursor.
Chargebee list operations · Create a subscription