billing-integration
Credyt Integrate
Prefer the official SDKs (
@credyt/api-clientfor TypeScript,credyt-apifor Python) over hand-rolling HTTP calls — they handle auth, retries, and field mapping for you. If neither SDK suits your stack (e.g. a language other than TypeScript or Python), HTTP direct calls are also covered below. If you arrived here without runningbilling-setupfirst, stop and ask the user to run that skill before proceeding.
Help the user wire Credyt into their application code. This skill works with the user's actual codebase — reading their existing code and adding Credyt integration in the right places.
The full integration guide is at docs.credyt.ai/ai-integration.md. Each section below links to its dedicated docs page, which includes HTTP, TypeScript, and Python examples — consult these if you need more detail on any integration area.
Field naming: The Credyt API uses
snake_casefor all fields. The TypeScript SDK maps these tocamelCaseautomatically. The Python SDK keepssnake_case. Code samples in the linked docs show all three.
Understand the codebase first
Before writing any code, understand what the user has:
"Let me look at your project to understand your stack and where billing should plug in."