Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spacemedia.uk/llms.txt

Use this file to discover all available pages before exploring further.

Payments

Payment settings control which checkout flows are available to the organization. The dashboard stores secrets server-side and returns masked secret values in settings payloads.

Gateway fields

GatewayPublic behavior
StripeSubscription and pay-per-release checkout routes require active Stripe settings and valid public/secret keys. Secret keys are returned as <MASKED> in settings payloads.
PayPalSubscription and Pay-Per-Release checkout routes require PayPal client ID and secret. Secret values are masked after save.
AirwallexSubscription, Pay-Per-Release, credits, add-on, and copyright top-up checkouts depend on Airwallex availability for the organization. API key and webhook secret are masked.

Public payment endpoints

The public API exposes checkout creation and verification endpoints for subscriptions, pay-per-release orders, credit orders, add-on purchases, and copyright wallet top-ups. Request bodies must include cancel_url and success_url where the controller checks for both values.

Safe examples

Use fake checkout URLs and deterministic payment intent UUIDs in examples. Do not paste live Stripe session IDs, PayPal order IDs, Airwallex intent IDs, webhook secrets, or API keys into the playground.