Documentation menu

TransactKit-Prov1.0.0

TransactKit-Pro API reference

Reference the shipped TransactKit-Pro configuration, Customer, payment, refund, catalogue, subscription, Portal, invoice, Entitlement, usage, and webhook endpoints.

Updated

API conventions

TransactKit-Pro does not add authentication or authorization. Protect every application operation in the integrating host and bind Stripe and local identifiers to the authenticated account or tenant.

  • Errors use RFC 9457 ProblemDetail.
  • Validation failures return 400; missing resources 404; lifecycle or ownership conflicts 409.
  • Stripe rate limiting maps to 429; missing configuration and upstream failures map to controlled 502 or 503 responses.
  • List responses contain items, hasMore, and nextCursor; limits default to 20 and allow 1-100.

Operations and Customers

Operations and Customer endpoints
MethodPathPurpose
GET/api/configurationReturn safe Stripe API and webhook configuration booleans
GET/actuator/healthRead health and liveness/readiness state
GET/actuator/infoRead application information
POST/api/customersCreate a Stripe Customer; no local Customer row
GET/api/customers/{id}Retrieve an authoritative Stripe Customer

Payments, refunds, and catalogue

One-time payment and catalogue endpoints
MethodPathPurpose
POST/api/checkout/sessionsCreate or reuse hosted one-time Checkout
GET/api/payments/{id}Read the local Payment projection
POST/api/payments/{id}/refundCreate a full or partial Stripe Refund
GET/api/refunds/{id}Retrieve an authoritative Stripe Refund
GET/api/catalog/productsList Stripe Products with cursor pagination
GET/api/catalog/products/{id}Retrieve a Stripe Product
GET/api/catalog/pricesList Stripe Prices with optional Product and active filters
GET/api/catalog/prices/{id}Retrieve a Stripe Price

Subscriptions

Managed subscription endpoints
MethodPathPurpose
POST/api/subscriptions/checkout-sessionsCreate or reuse hosted subscription Checkout
GET/api/subscriptions/{id}Refresh and return one managed subscription
GET/api/customers/{customerId}/subscriptionsPage locally managed subscriptions for one Customer
POST/api/subscriptions/{id}/changeChange the managed Price, quantity, or both
POST/api/subscriptions/{id}/cancelCancel immediately or at period end
POST/api/subscriptions/{id}/reactivateReverse a scheduled cancellation

Portal, invoices, Entitlements, and usage

Hosted billing and SaaS feature endpoints
MethodPathPurpose
POST/api/billing/portal/sessionsCreate a Customer Portal Session
GET/api/invoices/{id}Retrieve an authoritative Stripe Invoice
GET/api/customers/{customerId}/invoicesList Customer invoices, optionally by subscription
GET/api/customers/{customerId}/entitlementsRebuild and return active Entitlements
POST/api/billing/usageCreate a stable Stripe Billing Meter Event
POST/api/stripe/webhookVerify and process a Stripe event