Provider IntegrationsBilling Integration Guide
Conformance testing
Run the dependency-free Provider Billing conformance runner against your sandbox.
Download the black-box conformance runner and point it at your sandbox:
- Runner: conformance.mjs
- Profile: profile.md
- OpenAPI: openapi.yaml
node conformance.mjs \
--base-url http://localhost:8787 \
--token test-billing-token \
--start 2026-07-01T00:00:00Z \
--end 2026-07-02T00:00:00ZThe runner behaves like a billing client. It validates authentication and record semantics, and forces a page size of one to exercise cursor pagination.
Sandbox checklist
Before sharing access with SuperPenguin:
- Capabilities describe actual grains, retention, dimensions, and auth methods.
- Missing credentials return
401; missing scopes return403. - Half-open UTC filters work.
- Usage returns one meter per record with stable IDs.
- Groups are complete and cursor pagination terminates with
next_cursor: null. BilledCostis provider-reported when costs are advertised.- At least two usage records and two cost records exist in the selected window so pagination is tested.
- OAuth (if offered) completes with PKCE and refresh.
Then share a sandbox base URL and credential (scoped token or OAuth client details) with SuperPenguin for joint validation.