{"openapi":"3.1.0","info":{"title":"Hilt API","description":"Hilt Pay Workspace and Hilt Pay API routes for zero-custody Solana USDC checkout, receipts, memberships, entitlements, native subscriptions, webhooks, and support context.","version":"1.0.0"},"paths":{"/health":{"get":{"tags":["system"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/health":{"get":{"tags":["system"],"summary":"Health V1","operationId":"health_v1_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/register":{"post":{"tags":["auth"],"summary":"Register","description":"Creates a new Hilt merchant account on the free plan.","operationId":"register_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/login":{"post":{"tags":["auth"],"summary":"Login","description":"Password-based login. Returns JWT on success with full entitlement claims.","operationId":"login_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/wallet":{"post":{"tags":["auth"],"summary":"Wallet Auth","description":"Phantom wallet-based authentication.\nVerifies the signed nonce, creates or retrieves the user account.\nWallet-only accounts have no email so is_staff is always False.","operationId":"wallet_auth_v1_auth_wallet_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletAuthRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/oauth/providers":{"get":{"tags":["auth"],"summary":"Oauth Provider Status","operationId":"oauth_provider_status_v1_auth_oauth_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthProviderStatusResponse"}}}}}}},"/v1/auth/oauth/{provider}/start":{"get":{"tags":["auth"],"summary":"Oauth Start","operationId":"oauth_start_v1_auth_oauth__provider__start_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"login","title":"Mode"}},{"name":"next","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/oauth/{provider}/callback":{"get":{"tags":["auth"],"summary":"Oauth Callback","operationId":"oauth_callback_v1_auth_oauth__provider__callback_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","description":"Logs out the current session.\nFor stateless JWTs this is a no-op server-side.\nClients should discard the token locally.","operationId":"logout_v1_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Token","description":"Refreshes a JWT that is still valid.\nIssues a new token with a fresh TTL and re-derives entitlement claims\nfrom the database so subscription changes are reflected immediately.","operationId":"refresh_token_v1_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/me":{"get":{"tags":["account"],"summary":"Get Me","description":"Returns the authenticated user's full profile for dashboard bootstrap.\nThis is the primary endpoint for dashboard bootstrap.","operationId":"get_me_v1_account_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}}}},"patch":{"tags":["account"],"summary":"Update Me","description":"Updates mutable fields on the user profile.","operationId":"update_me_v1_account_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/summary":{"get":{"tags":["account"],"summary":"Get Account Summary","description":"Returns the merchant-facing dashboard summary used by the sidebar and overview.\nFigures are grouped by asset so we do not collapse USDC and SOL into one fake number.","operationId":"get_account_summary_v1_account_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSummaryResponse"}}}}}}},"/v1/account/analytics":{"get":{"tags":["account"],"summary":"Get Account Analytics","operationId":"get_account_analytics_v1_account_analytics_get","parameters":[{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":3,"default":30,"title":"Window Days"}},{"name":"daily_days","in":"query","required":false,"schema":{"type":"integer","maximum":30,"minimum":3,"default":14,"title":"Daily Days"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/me/security":{"patch":{"tags":["account"],"summary":"Update Account Security","description":"Updates merchant email and password details for hilt.so sign-in.","operationId":"update_account_security_v1_account_me_security_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountSecurityUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/delivery/readiness":{"get":{"tags":["account"],"summary":"Get Delivery Readiness","operationId":"get_delivery_readiness_v1_account_delivery_readiness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/account/delivery/test":{"post":{"tags":["account"],"summary":"Run Delivery Test","operationId":"run_delivery_test_v1_account_delivery_test_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryTestRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/account":{"delete":{"tags":["account"],"summary":"Delete Account","description":"Soft-deletes the account. Sets deleted_at timestamp and status = 'deleted'.\nGDPR-compliant: user data is pseudonymised, not hard-deleted.","operationId":"delete_account_v1_account_account_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/keys":{"get":{"tags":["api-keys"],"summary":"List Keys","description":"Lists all API keys for the authenticated user (excludes raw values).","operationId":"list_keys_v1_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/KeySummary"},"type":"array","title":"Response List Keys V1 Keys Get"}}}}}},"post":{"tags":["api-keys"],"summary":"Create Key","description":"Creates a new API key.\nThe raw key value is returned ONCE and cannot be retrieved again.\nStore it in a secrets manager immediately.","operationId":"create_key_v1_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys/{key_id}":{"delete":{"tags":["api-keys"],"summary":"Revoke Key","description":"Revokes an API key. Revocation is immediate and permanent.\nRequests using this key will receive HTTP 401 from the next request onwards.","operationId":"revoke_key_v1_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/summary":{"get":{"tags":["billing"],"summary":"Get Billing Summary","operationId":"get_billing_summary_v1_billing_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummaryResponse"}}}}}}},"/v1/billing/checkout/stripe":{"post":{"tags":["billing"],"summary":"Create Stripe Checkout","operationId":"create_stripe_checkout_v1_billing_checkout_stripe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/portal/stripe":{"post":{"tags":["billing"],"summary":"Create Stripe Portal","operationId":"create_stripe_portal_v1_billing_portal_stripe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripePortalRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripePortalResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/refresh/stripe":{"post":{"tags":["billing"],"summary":"Refresh Stripe Billing","operationId":"refresh_stripe_billing_v1_billing_refresh_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeRefreshResponse"}}}}}}},"/v1/billing/webhooks/stripe":{"post":{"tags":["billing"],"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_billing_webhooks_stripe_post","parameters":[{"name":"Stripe-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt":{"post":{"tags":["Receipt"],"summary":"Generate a signed Hilt receipt","description":"Generate a cryptographically signed Hilt receipt for a Solana transaction.\n\n**Idempotent:** The same `tx_sig` always returns the same receipt.\nStored immutably in Postgres + Cloudflare R2. Ed25519 signed by the Hilt server key.","operationId":"post_receipt_v1_receipt_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Post Receipt V1 Receipt Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}":{"get":{"tags":["Receipt"],"summary":"Retrieve a receipt by ID","description":"Retrieve the full signed receipt JSON. Auth required.","operationId":"get_receipt_v1_receipt__receipt_id__get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Receipt V1 Receipt  Receipt Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}/public":{"get":{"tags":["Receipt"],"summary":"Public receipt proof detail","operationId":"get_public_receipt_v1_receipt__receipt_id__public_get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Get Public Receipt V1 Receipt  Receipt Id  Public Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}/verify":{"get":{"tags":["Receipt"],"summary":"Publicly verify a receipt's cryptographic signature","description":"**Public endpoint — no authentication required.**\n\nRe-computes the SHA-256 hash of the receipt JSON and verifies the Ed25519 signature.\nReturns verification result usable by auditors and third parties.","operationId":"verify_receipt_v1_receipt__receipt_id__verify_get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Verify Receipt V1 Receipt  Receipt Id  Verify Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}/pdf":{"get":{"tags":["Receipt"],"summary":"Public PDF receipt proof","operationId":"get_receipt_pdf_v1_receipt__receipt_id__pdf_get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}/pdf/private":{"get":{"tags":["Receipt"],"summary":"Authenticated PDF receipt export","operationId":"get_authenticated_receipt_pdf_v1_receipt__receipt_id__pdf_private_get","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipts":{"get":{"tags":["Receipt"],"summary":"List receipts","description":"Paginated list of receipts for the authenticated user.","operationId":"list_receipts_v1_receipts_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Results per page","default":20,"title":"Per Page"},"description":"Results per page"},{"name":"wallet","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by wallet address","title":"Wallet"},"description":"Filter by wallet address"},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by tx, receipt id, product, or invoice metadata","title":"Q"},"description":"Search by tx, receipt id, product, or invoice metadata"},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by product","title":"Product Id"},"description":"Filter by product"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response List Receipts V1 Receipts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipts/export.csv":{"get":{"tags":["Receipt"],"summary":"Export authenticated receipt ledger CSV","description":"Authenticated CSV export for merchant-owned receipt and invoice records.","operationId":"export_receipts_csv_v1_receipts_export_csv_get","parameters":[{"name":"wallet","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by wallet address","title":"Wallet"},"description":"Filter by wallet address"},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search by tx, receipt id, product, or invoice metadata","title":"Q"},"description":"Search by tx, receipt id, product, or invoice metadata"},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by product","title":"Product Id"},"description":"Filter by product"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}/invoice-metadata":{"patch":{"tags":["Receipt"],"summary":"Save merchant invoice metadata for a receipt","operationId":"update_receipt_invoice_metadata_v1_receipt__receipt_id__invoice_metadata_patch","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptInvoiceMetadataRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Update Receipt Invoice Metadata V1 Receipt  Receipt Id  Invoice Metadata Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/receipt/{receipt_id}/send-proof":{"post":{"tags":["Receipt"],"summary":"Email the public proof link for a receipt","operationId":"send_receipt_proof_v1_receipt__receipt_id__send_proof_post","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptSendProofRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Send Receipt Proof V1 Receipt  Receipt Id  Send Proof Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/support/tickets":{"post":{"tags":["Support","Support"],"summary":"Create support ticket","operationId":"create_ticket_v1_support_tickets_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTicketRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Support","Support"],"summary":"List user's tickets","operationId":"list_tickets_v1_support_tickets_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Per Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/support/tickets/{ticket_id}":{"get":{"tags":["Support","Support"],"summary":"Ticket thread","operationId":"get_ticket_v1_support_tickets__ticket_id__get","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/support/tickets/{ticket_id}/message":{"post":{"tags":["Support","Support"],"summary":"Add message to ticket","operationId":"add_message_v1_support_tickets__ticket_id__message_post","parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/endpoints":{"get":{"tags":["webhooks"],"summary":"List webhook endpoints","operationId":"list_webhook_endpoints_v1_webhooks_endpoints_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["webhooks"],"summary":"Create webhook endpoint","operationId":"create_webhook_endpoint_v1_webhooks_endpoints_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/endpoints/{endpoint_id}":{"patch":{"tags":["webhooks"],"summary":"Update webhook endpoint","operationId":"update_webhook_endpoint_v1_webhooks_endpoints__endpoint_id__patch","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["webhooks"],"summary":"Disable webhook endpoint","operationId":"disable_webhook_endpoint_v1_webhooks_endpoints__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/endpoints/{endpoint_id}/test":{"post":{"tags":["webhooks"],"summary":"Send a signed test webhook event","operationId":"test_webhook_endpoint_v1_webhooks_endpoints__endpoint_id__test_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestEventRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/deliveries":{"get":{"tags":["webhooks"],"summary":"List webhook deliveries","operationId":"list_webhook_deliveries_v1_webhooks_deliveries_get","parameters":[{"name":"endpoint_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Endpoint Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Per Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/deliveries/{delivery_id}/replay":{"post":{"tags":["webhooks"],"summary":"Replay a webhook delivery","operationId":"replay_owned_webhook_delivery_v1_webhooks_deliveries__delivery_id__replay_post","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"integer","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/timeline":{"get":{"tags":["webhooks"],"summary":"View webhook event timeline for a payment or membership","operationId":"webhook_timeline_v1_webhooks_timeline_get","parameters":[{"name":"payment_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Id"}},{"name":"membership_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Membership Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":120,"minimum":1,"default":40,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/events":{"get":{"tags":["webhooks"],"summary":"List emitted webhook events","operationId":"list_webhook_events_v1_webhooks_events_get","parameters":[{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Per Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/health":{"get":{"tags":["integrations"],"summary":"Check integration connection health","operationId":"integration_health_v1_integrations_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/integrations/events":{"get":{"tags":["integrations"],"summary":"List emitted events for integrations","operationId":"list_integration_events_v1_integrations_events_get","parameters":[{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"per_page","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Per Page"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100,"minimum":1},{"type":"null"}],"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/zapier/hooks":{"post":{"tags":["integrations"],"summary":"Subscribe a Zapier REST Hook","operationId":"subscribe_zapier_hook_v1_integrations_zapier_hooks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZapierHookSubscribeRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/integrations/zapier/hooks/{endpoint_id}":{"delete":{"tags":["integrations"],"summary":"Unsubscribe a Zapier REST Hook","operationId":"unsubscribe_zapier_hook_v1_integrations_zapier_hooks__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testing/scenarios":{"get":{"tags":["testing"],"summary":"List supported sandbox scenarios","operationId":"sandbox_scenarios_v1_testing_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/testing/sessions":{"post":{"tags":["testing"],"summary":"Create a simulated Hilt sandbox session","operationId":"create_sandbox_session_v1_testing_sessions_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxSessionCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["testing"],"summary":"List recent simulated sandbox sessions","operationId":"list_sandbox_sessions_v1_testing_sessions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/testing/sessions/{session_id}":{"get":{"tags":["testing"],"summary":"Get a simulated sandbox session","operationId":"get_sandbox_session_v1_testing_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/agent-bootstrap":{"post":{"tags":["hilt-pay-api"],"summary":"Create a sandbox Hilt Pay API setup intent for an agent","operationId":"create_agent_bootstrap_v1_access_agent_bootstrap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessAgentBootstrapRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/agent-bootstrap/{setup_intent_id}/status":{"post":{"tags":["hilt-pay-api"],"summary":"Check a Hilt Pay API agent setup intent","operationId":"get_agent_bootstrap_status_v1_access_agent_bootstrap__setup_intent_id__status_post","parameters":[{"name":"setup_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Setup Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessAgentSetupStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/agent-bootstrap/{setup_intent_id}/manifest":{"post":{"tags":["hilt-pay-api"],"summary":"Attach and evaluate an agent setup manifest","operationId":"submit_agent_bootstrap_manifest_v1_access_agent_bootstrap__setup_intent_id__manifest_post","parameters":[{"name":"setup_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Setup Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessAgentSetupManifestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/agent-bootstrap/{setup_intent_id}/approve":{"post":{"tags":["hilt-pay-api"],"summary":"Approve an agent setup intent and optionally issue a live Hilt Pay API key","operationId":"approve_agent_bootstrap_v1_access_agent_bootstrap__setup_intent_id__approve_post","parameters":[{"name":"setup_intent_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Setup Intent Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessAgentSetupApproveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/rails":{"get":{"tags":["hilt-pay-api"],"summary":"List Hilt Pay API rails","operationId":"list_access_rails_v1_access_rails_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/access/rail-settings":{"get":{"tags":["hilt-pay-api"],"summary":"List merchant Hilt Pay API rail settings","operationId":"list_rail_settings_v1_access_rail_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/access/rail-settings/{rail_id}":{"put":{"tags":["hilt-pay-api"],"summary":"Configure a merchant Hilt Pay API rail","operationId":"update_rail_setting_v1_access_rail_settings__rail_id__put","parameters":[{"name":"rail_id","in":"path","required":true,"schema":{"type":"string","title":"Rail Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessRailSettingUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/native-subscriptions/{authorization_id}":{"get":{"tags":["hilt-pay-api"],"summary":"Read a Solana native subscription authorization","operationId":"read_native_subscription_v1_access_native_subscriptions__authorization_id__get","parameters":[{"name":"authorization_id","in":"path","required":true,"schema":{"type":"string","title":"Authorization Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/native-subscriptions/{authorization_id}/cancel-intent":{"post":{"tags":["hilt-pay-api"],"summary":"Create a buyer cancellation intent","operationId":"create_native_subscription_cancel_intent_v1_access_native_subscriptions__authorization_id__cancel_intent_post","parameters":[{"name":"authorization_id","in":"path","required":true,"schema":{"type":"string","title":"Authorization Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeSubscriptionCancelIntentRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/native-subscriptions/{authorization_id}/cancel-confirm":{"post":{"tags":["hilt-pay-api"],"summary":"Confirm native subscription cancellation proof","operationId":"confirm_native_subscription_cancel_v1_access_native_subscriptions__authorization_id__cancel_confirm_post","parameters":[{"name":"authorization_id","in":"path","required":true,"schema":{"type":"string","title":"Authorization Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeSubscriptionCancelConfirmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/apps":{"post":{"tags":["hilt-pay-api"],"summary":"Create a Hilt Pay API app","operationId":"create_app_v1_access_apps_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessAppCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/products":{"post":{"tags":["hilt-pay-api"],"summary":"Create a Hilt Pay API product","operationId":"create_product_v1_access_products_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessProductCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/setup/readiness":{"get":{"tags":["hilt-pay-api"],"summary":"Inspect agent setup readiness for Hilt Pay API","operationId":"setup_readiness_v1_access_setup_readiness_get","parameters":[{"name":"access_app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Access App Id"}},{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Id"}},{"name":"external_product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"live","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/products/available-rails":{"get":{"tags":["hilt-pay-api"],"summary":"List available rails for a Hilt Pay API product by lookup","operationId":"product_available_rails_by_lookup_v1_access_products_available_rails_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Id"}},{"name":"external_product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"live","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/products/{product_id}/available-rails":{"get":{"tags":["hilt-pay-api"],"summary":"List available rails for a Hilt Pay API product","operationId":"product_available_rails_v1_access_products__product_id__available_rails_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"live","title":"Mode"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/payment-sessions":{"post":{"tags":["hilt-pay-api"],"summary":"Create an access payment session","operationId":"create_payment_session_v1_access_payment_sessions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPaymentSessionCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/sandbox/payment-sessions":{"post":{"tags":["hilt-pay-api"],"summary":"Create a sandbox Hilt Pay API payment session","operationId":"create_sandbox_payment_session_v1_access_sandbox_payment_sessions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessSandboxPaymentSessionCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/sandbox/payment-sessions/{sandbox_session_id}/confirm":{"post":{"tags":["hilt-pay-api"],"summary":"Confirm a sandbox Hilt Pay API payment proof","operationId":"confirm_sandbox_payment_session_v1_access_sandbox_payment_sessions__sandbox_session_id__confirm_post","parameters":[{"name":"sandbox_session_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Sandbox Session Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessSandboxPaymentSessionConfirmRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/payment-proofs":{"post":{"tags":["hilt-pay-api"],"summary":"Submit a Hilt Pay API rail payment proof","operationId":"submit_payment_proof_v1_access_payment_proofs_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPaymentProofSubmitRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/provider-webhooks/alchemy/evm":{"post":{"tags":["hilt-pay-api"],"summary":"Receive Alchemy EVM webhook notifications","operationId":"receive_alchemy_evm_webhook_v1_access_provider_webhooks_alchemy_evm_post","parameters":[{"name":"X-Alchemy-Signature","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Alchemy-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/entitlements/check":{"post":{"tags":["hilt-pay-api"],"summary":"Check access entitlement","operationId":"check_entitlement_v1_access_entitlements_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessEntitlementCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/entitlements/{entitlement_id}":{"get":{"tags":["hilt-pay-api"],"summary":"Get an access entitlement","operationId":"get_entitlement_v1_access_entitlements__entitlement_id__get","parameters":[{"name":"entitlement_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Entitlement Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/billing/entitlement":{"get":{"tags":["hilt-pay-api"],"summary":"Get current Hilt Pay API billing entitlement","operationId":"get_billing_entitlement_v1_access_billing_entitlement_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/access/billing/checkout/stripe":{"post":{"tags":["hilt-pay-api"],"summary":"Create a Stripe Checkout session for Hilt Pay API billing","operationId":"create_hilt_pay_api_stripe_checkout_v1_access_billing_checkout_stripe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessBillingStripeCheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessBillingStripeCheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/access/webhooks":{"post":{"tags":["hilt-pay-api"],"summary":"Create a webhook endpoint for Hilt Pay API","operationId":"create_webhook_v1_access_webhooks_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessWebhookCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/broadcast":{"post":{"tags":["checkout"],"summary":"Record Payment Broadcast","operationId":"record_payment_broadcast_v1_pay_broadcast_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/automatic-renew/setup":{"post":{"tags":["checkout"],"summary":"Automatic Renew Setup","operationId":"automatic_renew_setup_v1_pay_automatic_renew_setup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomaticRenewSetupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomaticRenewSetupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/identity/start":{"post":{"tags":["checkout"],"summary":"Start Checkout Identity Handshake","operationId":"start_checkout_identity_handshake_v1_pay_identity_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityHandshakeStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityHandshakeStartResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/identity/complete":{"post":{"tags":["checkout"],"summary":"Complete Checkout Identity Handshake","operationId":"complete_checkout_identity_handshake_v1_pay_identity_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityHandshakeCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityHandshakeCompleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/connect/callback":{"post":{"tags":["checkout"],"summary":"Phantom Connect Callback","operationId":"phantom_connect_callback_v1_pay_phantom_connect_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomConnectCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomConnectCallbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/message-url":{"post":{"tags":["checkout"],"summary":"Phantom Message Url","operationId":"phantom_message_url_v1_pay_phantom_message_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomMessageUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomDeeplinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/renewal-message-url":{"post":{"tags":["checkout"],"summary":"Phantom Renewal Message Url","operationId":"phantom_renewal_message_url_v1_pay_phantom_renewal_message_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomRenewalMessageUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomDeeplinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/message/callback":{"post":{"tags":["checkout"],"summary":"Phantom Message Callback","operationId":"phantom_message_callback_v1_pay_phantom_message_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomMessageCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomMessageCallbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/renewal-message/callback":{"post":{"tags":["checkout"],"summary":"Phantom Renewal Message Callback","operationId":"phantom_renewal_message_callback_v1_pay_phantom_renewal_message_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomRenewalMessageCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomRenewalMessageCallbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/transaction-url":{"post":{"tags":["checkout"],"summary":"Phantom Transaction Url","operationId":"phantom_transaction_url_v1_pay_phantom_transaction_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomTransactionUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomDeeplinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/phantom/transaction/callback":{"post":{"tags":["checkout"],"summary":"Phantom Transaction Callback","operationId":"phantom_transaction_callback_v1_pay_phantom_transaction_callback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomTransactionCallbackRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhantomTransactionCallbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/pay/confirm":{"post":{"tags":["checkout"],"summary":"Confirm Payment","operationId":"confirm_payment_v1_pay_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products":{"post":{"tags":["products"],"summary":"Create a B2C payment product","operationId":"api_create_product_v1_products_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProductRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["products"],"summary":"List my products","operationId":"api_list_products_v1_products_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/p/{slug}":{"get":{"tags":["products"],"summary":"View product (public)","description":"Public product view — strips sensitive fields.","operationId":"api_view_product_public_v1_products_p__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/p/{slug}/connect":{"post":{"tags":["products"],"summary":"Initiate a checkout session (public)","description":"Canonical checkout session initializer.\n\nCreates one payment session / intent record and returns:\n  - payment_id  — the canonical ID used by both the browser signer path and\n                  the Phantom mobile path throughout the checkout flow\n  - phantom_mobile.connect_url  — Phantom Universal Link for mobile app-switch\n                                  signing (present only if the server has a\n                                  dapp key configured)\n\nBoth execution paths (browser Phantom and mobile Phantom) share the same\npayment_id and converge on the same backend confirmation + delivery pipeline.\n\nIdentity / customer reference fields are optional at session-creation time.\nThey must be provided by payment time (via the confirm or sign endpoints)\nfor products that enforce membership identity.\n\nNo API key required.","operationId":"api_connect_payment_v1_products_p__slug__connect_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/p/{slug}/resolve-handoff":{"post":{"tags":["products"],"summary":"Resolve a signed buyer handoff (public)","operationId":"api_resolve_checkout_handoff_v1_products_p__slug__resolve_handoff_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutHandoffResolveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/{product_id}/payments":{"get":{"tags":["products"],"summary":"List payments for a product","operationId":"api_list_payments_v1_products__product_id__payments_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/{product_id}/analytics":{"get":{"tags":["products"],"summary":"Payment analytics for a product","operationId":"api_product_analytics_v1_products__product_id__analytics_get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/{product_id}":{"get":{"tags":["products"],"summary":"Get product by ID","operationId":"api_get_product_v1_products__product_id__get","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["products"],"summary":"Update a product","operationId":"api_update_product_v1_products__product_id__patch","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProductRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["products"],"summary":"Archive a product","operationId":"api_archive_product_v1_products__product_id__delete","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/products/{product_id}/handoff-link":{"post":{"tags":["products"],"summary":"Create a signed buyer checkout link","operationId":"api_create_checkout_handoff_link_v1_products__product_id__handoff_link_post","parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Product Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutHandoffCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payments/{payment_id}":{"get":{"tags":["products"],"summary":"Poll payment status (public)","description":"Customer polls after signing in Phantom. Safe field subset returned.","operationId":"api_payment_status_v1_payments__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships":{"get":{"tags":["memberships"],"summary":"List memberships","operationId":"api_list_memberships_v1_memberships_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/lookup":{"get":{"tags":["memberships"],"summary":"Lookup memberships by wallet, identity, or transaction","operationId":"api_lookup_memberships_v1_memberships_lookup_get","parameters":[{"name":"product_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},{"name":"wallet","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet"}},{"name":"identity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity"}},{"name":"tx_signature","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/renewal-intelligence":{"get":{"tags":["memberships"],"summary":"Renewal cohorts, reminders, and reporting","operationId":"api_membership_renewal_intelligence_v1_memberships_renewal_intelligence_get","parameters":[{"name":"window_days","in":"query","required":false,"schema":{"type":"integer","maximum":60,"minimum":1,"default":7,"title":"Window Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":60,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}":{"get":{"tags":["memberships"],"summary":"Get membership by ID","operationId":"api_get_membership_v1_memberships__membership_id__get","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/notes":{"patch":{"tags":["memberships"],"summary":"Save merchant notes for a membership","operationId":"api_update_membership_notes_v1_memberships__membership_id__notes_patch","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipNotesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/profile":{"patch":{"tags":["memberships"],"summary":"Update member display details","operationId":"api_update_membership_profile_v1_memberships__membership_id__profile_patch","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/gift":{"post":{"tags":["memberships"],"summary":"Gift extra access time to a member","operationId":"api_gift_membership_extension_v1_memberships__membership_id__gift_post","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipGiftRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/retry-delivery":{"post":{"tags":["memberships"],"summary":"Retry membership access delivery","operationId":"api_retry_membership_delivery_v1_memberships__membership_id__retry_delivery_post","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/delivery-diagnostics":{"get":{"tags":["memberships"],"summary":"Inspect Telegram or Discord automation for a membership","operationId":"api_membership_delivery_diagnostics_v1_memberships__membership_id__delivery_diagnostics_get","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/delivery-support-ticket":{"post":{"tags":["memberships"],"summary":"Open or reuse a support ticket for a delivery issue","operationId":"api_membership_delivery_support_ticket_v1_memberships__membership_id__delivery_support_ticket_post","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/memberships/{membership_id}/reactivation":{"get":{"tags":["memberships"],"summary":"Get renewal and reactivation links for a membership","operationId":"api_membership_reactivation_detail_v1_memberships__membership_id__reactivation_get","parameters":[{"name":"membership_id","in":"path","required":true,"schema":{"type":"string","title":"Membership Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/checkout-domains":{"get":{"tags":["checkout-domains"],"summary":"List merchant checkout domain requests","operationId":"list_merchant_checkout_domains_v1_checkout_domains_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["checkout-domains"],"summary":"Request a merchant checkout domain","operationId":"request_merchant_checkout_domain_v1_checkout_domains_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutDomainRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AccessAgentBootstrapRequest":{"properties":{"agent_name":{"type":"string","maxLength":120,"minLength":2,"title":"Agent Name"},"agent_platform":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Agent Platform"},"requested_use_case":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Requested Use Case"},"contact_email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Contact Email"},"external_reference":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Reference"},"requested_permissions":{"items":{"type":"string"},"type":"array","title":"Requested Permissions"},"ttl_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Ttl Hours","default":24},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["agent_name"],"title":"AccessAgentBootstrapRequest"},"AccessAgentSetupApproveRequest":{"properties":{"setup_token":{"type":"string","maxLength":300,"minLength":20,"title":"Setup Token"},"approved_permissions":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Approved Permissions"},"issue_live_key":{"type":"boolean","title":"Issue Live Key","default":true},"live_key_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Live Key Name"},"confirm_owner_approval":{"type":"boolean","title":"Confirm Owner Approval","default":false}},"type":"object","required":["setup_token"],"title":"AccessAgentSetupApproveRequest"},"AccessAgentSetupManifestRequest":{"properties":{"setup_token":{"type":"string","maxLength":300,"minLength":20,"title":"Setup Token"},"manifest":{"type":"object","title":"Manifest"}},"type":"object","required":["setup_token","manifest"],"title":"AccessAgentSetupManifestRequest"},"AccessAgentSetupStatusRequest":{"properties":{"setup_token":{"type":"string","maxLength":300,"minLength":20,"title":"Setup Token"}},"type":"object","required":["setup_token"],"title":"AccessAgentSetupStatusRequest"},"AccessAppCreateRequest":{"properties":{"name":{"type":"string","maxLength":120,"minLength":2,"title":"Name"},"external_app_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External App Id"},"default_rail":{"type":"string","title":"Default Rail","default":"solana_usdc"},"rail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rail"},"live_mode":{"type":"boolean","title":"Live Mode","default":false},"confirm_live_mode":{"type":"boolean","title":"Confirm Live Mode","default":false},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["name"],"title":"AccessAppCreateRequest"},"AccessBillingStripeCheckoutRequest":{"properties":{"plan":{"type":"string","enum":["starter","growth","scale"],"title":"Plan"},"interval":{"type":"string","enum":["monthly","yearly"],"title":"Interval","default":"monthly"},"success_url":{"type":"string","maxLength":1000,"minLength":8,"title":"Success Url"},"cancel_url":{"type":"string","maxLength":1000,"minLength":8,"title":"Cancel Url"},"canary_discount_code":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Canary Discount Code"},"canary_target_minor_units":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":50.0},{"type":"null"}],"title":"Canary Target Minor Units"}},"type":"object","required":["plan","success_url","cancel_url"],"title":"AccessBillingStripeCheckoutRequest"},"AccessBillingStripeCheckoutResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"checkout_url":{"type":"string","title":"Checkout Url"},"plan":{"type":"string","title":"Plan"},"interval":{"type":"string","title":"Interval"},"discount":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Discount"}},"type":"object","required":["session_id","checkout_url","plan","interval"],"title":"AccessBillingStripeCheckoutResponse"},"AccessEntitlementCheckRequest":{"properties":{"product_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Id"},"external_product_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"},"rail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rail"},"external_customer_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Customer Id"},"wallet":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Wallet"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"customer_reference":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Customer Reference"}},"type":"object","title":"AccessEntitlementCheckRequest"},"AccessPaymentProofSubmitRequest":{"properties":{"product_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Id"},"external_product_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"},"payment_session_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Payment Session Id"},"rail":{"type":"string","title":"Rail","default":"solana_usdc"},"proof_type":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Proof Type"},"proof_payload":{"type":"object","title":"Proof Payload"},"external_customer_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Customer Id"},"wallet":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Wallet"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"amount_minor_units":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount Minor Units"},"livemode":{"type":"boolean","title":"Livemode","default":true},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["proof_payload"],"title":"AccessPaymentProofSubmitRequest"},"AccessPaymentSessionCreateRequest":{"properties":{"product_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Id"},"external_product_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"},"external_customer_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Customer Id"},"wallet":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Wallet"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"amount_minor_units":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount Minor Units"},"rail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rail"},"payment_protocol":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Payment Protocol"},"settlement_rail":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Settlement Rail"},"settlement_rail_id":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Settlement Rail Id"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","title":"AccessPaymentSessionCreateRequest"},"AccessProductCreateRequest":{"properties":{"access_app_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Access App Id"},"external_product_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"},"existing_product_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing Product Id"},"title":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Description"},"image_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Image Url"},"amount_minor_units":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount Minor Units"},"merchant_wallet":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Merchant Wallet"},"billing_model":{"type":"string","title":"Billing Model","default":"one_off"},"renewal_mode":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Renewal Mode"},"billing_interval_days":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Billing Interval Days"},"entitlement_duration_days":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Entitlement Duration Days","default":30},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":true},"grace_period_days":{"type":"integer","minimum":0.0,"title":"Grace Period Days","default":0},"default_rail":{"type":"string","title":"Default Rail","default":"solana_usdc"},"allowed_rails":{"items":{"type":"string"},"type":"array","title":"Allowed Rails"},"rail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rail"},"status":{"type":"string","title":"Status","default":"paused"},"live_mode_confirmed":{"type":"boolean","title":"Live Mode Confirmed","default":false},"metadata":{"type":"object","title":"Metadata"}},"type":"object","title":"AccessProductCreateRequest"},"AccessRailSettingUpdateRequest":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"payout_address":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Payout Address"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"},"mode":{"type":"string","title":"Mode","default":"live"},"fee_collection_mode":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Fee Collection Mode"},"fee_collection_status":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Fee Collection Status"},"fee_collector_address":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Fee Collector Address"},"fee_allowance_token_contract":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Fee Allowance Token Contract"},"fee_allowance_limit_minor_units":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Fee Allowance Limit Minor Units"},"fee_allowance_spent_minor_units":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Fee Allowance Spent Minor Units"},"fee_allowance_expires_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Fee Allowance Expires At"},"fee_allowance_tx_hash":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Fee Allowance Tx Hash"},"fee_collection_metadata":{"type":"object","title":"Fee Collection Metadata"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","title":"AccessRailSettingUpdateRequest"},"AccessSandboxPaymentSessionConfirmRequest":{"properties":{"proof":{"type":"string","maxLength":500,"minLength":12,"title":"Proof"}},"type":"object","required":["proof"],"title":"AccessSandboxPaymentSessionConfirmRequest"},"AccessSandboxPaymentSessionCreateRequest":{"properties":{"product_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Product Id"},"external_product_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Product Id"},"external_customer_id":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"External Customer Id"},"wallet":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Wallet"},"email":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}],"title":"Email"},"rail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rail"},"ttl_minutes":{"type":"integer","maximum":120.0,"minimum":5.0,"title":"Ttl Minutes","default":30},"confirm_sandbox_mode":{"type":"boolean","title":"Confirm Sandbox Mode","default":false},"metadata":{"type":"object","title":"Metadata"}},"type":"object","title":"AccessSandboxPaymentSessionCreateRequest"},"AccessWebhookCreateRequest":{"properties":{"label":{"type":"string","maxLength":120,"minLength":2,"title":"Label"},"url":{"type":"string","title":"Url"},"subscribed_events":{"items":{"type":"string"},"type":"array","title":"Subscribed Events"},"product_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Product Ids"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["label","url"],"title":"AccessWebhookCreateRequest"},"AccountAssetSummary":{"properties":{"token_mint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Mint"},"asset_symbol":{"type":"string","title":"Asset Symbol"},"asset_decimals":{"type":"integer","title":"Asset Decimals"},"confirmed_payments":{"type":"integer","title":"Confirmed Payments"},"gross_minor_units":{"type":"integer","title":"Gross Minor Units"},"net_minor_units":{"type":"integer","title":"Net Minor Units"},"fee_minor_units":{"type":"integer","title":"Fee Minor Units"}},"type":"object","required":["token_mint","asset_symbol","asset_decimals","confirmed_payments","gross_minor_units","net_minor_units","fee_minor_units"],"title":"AccountAssetSummary"},"AccountClaims":{"properties":{"hilt_score":{"type":"boolean","title":"Hilt Score"},"hilt_pay":{"type":"boolean","title":"Hilt Pay"},"hilt_ops":{"type":"boolean","title":"Hilt Ops"},"merchant_analytics":{"type":"boolean","title":"Merchant Analytics"},"buy_notifications":{"type":"boolean","title":"Buy Notifications"},"receipt_exports":{"type":"boolean","title":"Receipt Exports"},"tax_exports":{"type":"boolean","title":"Tax Exports"},"custom_checkout_domains":{"type":"boolean","title":"Custom Checkout Domains"},"is_staff":{"type":"boolean","title":"Is Staff"}},"type":"object","required":["hilt_score","hilt_pay","hilt_ops","merchant_analytics","buy_notifications","receipt_exports","tax_exports","custom_checkout_domains","is_staff"],"title":"AccountClaims"},"AccountResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"wallet_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Address"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"tier":{"type":"string","title":"Tier"},"status":{"type":"string","title":"Status"},"email_verified":{"type":"boolean","title":"Email Verified"},"timezone":{"type":"string","title":"Timezone"},"created_at":{"type":"string","title":"Created At"},"key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Id"},"sandbox":{"type":"boolean","title":"Sandbox"},"notification_prefs":{"type":"object","title":"Notification Prefs"},"merchant_settings":{"type":"object","title":"Merchant Settings"},"claims":{"$ref":"#/components/schemas/AccountClaims"},"has_password":{"type":"boolean","title":"Has Password","default":false},"auth_providers":{"items":{"type":"string"},"type":"array","title":"Auth Providers"}},"type":"object","required":["user_id","email","wallet_address","display_name","tier","status","email_verified","timezone","created_at","key_id","sandbox","notification_prefs","merchant_settings","claims"],"title":"AccountResponse"},"AccountSecurityUpdateRequest":{"properties":{"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email"},"current_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Password"},"new_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New Password"}},"type":"object","title":"AccountSecurityUpdateRequest"},"AccountSummaryResponse":{"properties":{"active_templates":{"type":"integer","title":"Active Templates"},"paying_members":{"type":"integer","title":"Paying Members"},"renewals_due":{"type":"integer","title":"Renewals Due"},"open_support_threads":{"type":"integer","title":"Open Support Threads"},"receipts_issued":{"type":"integer","title":"Receipts Issued"},"total_confirmed_payments":{"type":"integer","title":"Total Confirmed Payments"},"confirmed_payments_today":{"type":"integer","title":"Confirmed Payments Today"},"overall_assets":{"items":{"$ref":"#/components/schemas/AccountAssetSummary"},"type":"array","title":"Overall Assets"},"today_assets":{"items":{"$ref":"#/components/schemas/AccountAssetSummary"},"type":"array","title":"Today Assets"}},"type":"object","required":["active_templates","paying_members","renewals_due","open_support_threads","receipts_issued","total_confirmed_payments","confirmed_payments_today","overall_assets","today_assets"],"title":"AccountSummaryResponse"},"AccountUpdateRequest":{"properties":{"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"notification_prefs":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Notification Prefs"},"merchant_settings":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Merchant Settings"}},"type":"object","title":"AccountUpdateRequest"},"AddMessageRequest":{"properties":{"body":{"type":"string","title":"Body"}},"type":"object","required":["body"],"title":"AddMessageRequest"},"AuthResponse":{"properties":{"token":{"type":"string","title":"Token"},"user_id":{"type":"string","title":"User Id"},"tier":{"type":"string","title":"Tier"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"claims":{"$ref":"#/components/schemas/EntitlementClaims"}},"type":"object","required":["token","user_id","tier","email","claims"],"title":"AuthResponse"},"AutomaticRenewSetupRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"}},"type":"object","required":["payment_id"],"title":"AutomaticRenewSetupRequest"},"AutomaticRenewSetupResponse":{"properties":{"setup_key":{"type":"string","title":"Setup Key"},"instructions":{"items":{"type":"object"},"type":"array","title":"Instructions"},"mandate_message":{"type":"string","title":"Mandate Message"},"renewal_terms":{"type":"object","title":"Renewal Terms"},"native_subscription":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Native Subscription"}},"type":"object","required":["setup_key","instructions","mandate_message","renewal_terms"],"title":"AutomaticRenewSetupResponse"},"BillingAssetSummaryResponse":{"properties":{"token_mint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Mint"},"asset_symbol":{"type":"string","title":"Asset Symbol"},"asset_decimals":{"type":"integer","title":"Asset Decimals"},"confirmed_payments":{"type":"integer","title":"Confirmed Payments"},"gross_minor_units":{"type":"integer","title":"Gross Minor Units"},"net_minor_units":{"type":"integer","title":"Net Minor Units"},"fee_minor_units":{"type":"integer","title":"Fee Minor Units"}},"type":"object","required":["asset_symbol","asset_decimals","confirmed_payments","gross_minor_units","net_minor_units","fee_minor_units"],"title":"BillingAssetSummaryResponse"},"BillingPlanCardResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"label":{"type":"string","title":"Label"},"description":{"type":"string","title":"Description"},"monthly_price_usd":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Price Usd"},"yearly_price_usd":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Yearly Price Usd"},"annual_discount_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Annual Discount Pct"},"transaction_fee_pct":{"type":"number","title":"Transaction Fee Pct"},"transaction_fee_flat_usd_cents":{"type":"integer","title":"Transaction Fee Flat Usd Cents"},"live_link_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Live Link Limit"},"seats_included":{"type":"integer","title":"Seats Included"},"manual_renewals":{"type":"boolean","title":"Manual Renewals"},"automatic_renewals":{"type":"boolean","title":"Automatic Renewals"},"merchant_analytics":{"type":"boolean","title":"Merchant Analytics"},"buy_notifications":{"type":"boolean","title":"Buy Notifications"},"receipt_exports":{"type":"boolean","title":"Receipt Exports"},"tax_exports":{"type":"boolean","title":"Tax Exports"},"custom_checkout_domains":{"type":"boolean","title":"Custom Checkout Domains"}},"type":"object","required":["slug","label","description","monthly_price_usd","yearly_price_usd","annual_discount_pct","transaction_fee_pct","transaction_fee_flat_usd_cents","live_link_limit","seats_included","manual_renewals","automatic_renewals","merchant_analytics","buy_notifications","receipt_exports","tax_exports","custom_checkout_domains"],"title":"BillingPlanCardResponse"},"BillingSummaryResponse":{"properties":{"tier":{"type":"string","title":"Tier"},"billing_status":{"type":"string","title":"Billing Status"},"billing_interval":{"type":"string","title":"Billing Interval"},"stripe_customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Customer Id"},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"current_period_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period Start"},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"},"trial_ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trial Ends At"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End"},"active_live_links":{"type":"integer","title":"Active Live Links"},"total_templates":{"type":"integer","title":"Total Templates"},"live_link_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Live Link Limit"},"can_publish_live":{"type":"boolean","title":"Can Publish Live"},"transaction_fee_pct":{"type":"number","title":"Transaction Fee Pct"},"transaction_fee_flat_usd_cents":{"type":"integer","title":"Transaction Fee Flat Usd Cents"},"plan_monthly_price_usd":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Monthly Price Usd"},"plan_yearly_price_usd":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Yearly Price Usd"},"annual_discount_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Annual Discount Pct"},"stripe_publishable_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Publishable Key"},"portal_available":{"type":"boolean","title":"Portal Available"},"checkout_available":{"type":"boolean","title":"Checkout Available"},"available_plans":{"items":{"$ref":"#/components/schemas/BillingPlanCardResponse"},"type":"array","title":"Available Plans"},"merchant_total_confirmed_payments":{"type":"integer","title":"Merchant Total Confirmed Payments"},"merchant_assets":{"items":{"$ref":"#/components/schemas/BillingAssetSummaryResponse"},"type":"array","title":"Merchant Assets"},"gross_usdc_equivalent_minor_units":{"type":"integer","title":"Gross Usdc Equivalent Minor Units"},"net_usdc_equivalent_minor_units":{"type":"integer","title":"Net Usdc Equivalent Minor Units"},"fee_usdc_equivalent_minor_units":{"type":"integer","title":"Fee Usdc Equivalent Minor Units"},"gross_sol_equivalent":{"type":"number","title":"Gross Sol Equivalent"},"live_sol_price_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Live Sol Price Usd"},"stripe_history":{"items":{"$ref":"#/components/schemas/StripeInvoiceHistoryResponse"},"type":"array","title":"Stripe History"}},"type":"object","required":["tier","billing_status","billing_interval","cancel_at_period_end","active_live_links","total_templates","can_publish_live","transaction_fee_pct","transaction_fee_flat_usd_cents","portal_available","checkout_available","available_plans","merchant_total_confirmed_payments","merchant_assets","gross_usdc_equivalent_minor_units","net_usdc_equivalent_minor_units","fee_usdc_equivalent_minor_units","gross_sol_equivalent","stripe_history"],"title":"BillingSummaryResponse"},"BroadcastRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"tx_signature":{"type":"string","title":"Tx Signature"},"payer_wallet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer Wallet"},"wallet_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Source"}},"type":"object","required":["payment_id","tx_signature"],"title":"BroadcastRequest"},"BroadcastResponse":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"status":{"type":"string","title":"Status"},"tx_signature":{"type":"string","title":"Tx Signature"}},"type":"object","required":["payment_id","status","tx_signature"],"title":"BroadcastResponse"},"CheckoutDomainRequest":{"properties":{"domain":{"type":"string","maxLength":253,"minLength":3,"title":"Domain"}},"type":"object","required":["domain"],"title":"CheckoutDomainRequest"},"CheckoutHandoffCreateRequest":{"properties":{"identity_value":{"type":"string","maxLength":160,"minLength":1,"title":"Identity Value"},"identity_display":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Identity Display"},"identity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Type"},"return_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Return Url"},"expires_in_minutes":{"type":"integer","maximum":1440.0,"minimum":1.0,"title":"Expires In Minutes","default":30}},"type":"object","required":["identity_value"],"title":"CheckoutHandoffCreateRequest"},"CheckoutHandoffResolveRequest":{"properties":{"handoff_token":{"type":"string","minLength":1,"title":"Handoff Token"}},"type":"object","required":["handoff_token"],"title":"CheckoutHandoffResolveRequest"},"ConfirmRequest":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"tx_signature":{"type":"string","title":"Tx Signature"},"payer_wallet":{"type":"string","title":"Payer Wallet"},"wallet_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Source"},"identity_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Session Id"},"customer_reference_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference Type"},"customer_reference_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference Value"},"customer_reference_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference Display"},"payment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Id"},"automatic_renew_setup_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Setup Key"},"automatic_renew_message_signature_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Message Signature B64"},"automatic_renew_native_setup_signature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Native Setup Signature"},"automatic_renew_native_subscription_authority_pda":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Native Subscription Authority Pda"},"automatic_renew_native_subscription_pda":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Native Subscription Pda"},"automatic_renew_native_plan_pda":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Native Plan Pda"},"automatic_renew_native_payer_token_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Native Payer Token Account"}},"type":"object","required":["tx_signature","payer_wallet"],"title":"ConfirmRequest"},"ConfirmResponse":{"properties":{"status":{"type":"string","title":"Status"},"payment_id":{"type":"string","title":"Payment Id"},"delivery_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Type"},"delivery_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Value"},"amount_minor_units":{"type":"integer","title":"Amount Minor Units"},"delivery_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Status"},"membership_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Membership Id"},"membership_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Membership Status"},"membership_period_end_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Membership Period End At"},"automatic_renew_setup_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Setup Status"},"automatic_renew_setup_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Automatic Renew Setup Error"}},"type":"object","required":["status","payment_id","amount_minor_units"],"title":"ConfirmResponse"},"ConnectRequest":{"properties":{"payer_wallet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payer Wallet"},"amount_minor_units":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Minor Units"},"identity_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Session Id"},"customer_reference_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference Type"},"customer_reference_value":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Customer Reference Value"},"customer_reference_display":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Customer Reference Display"},"handoff_token":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Handoff Token"}},"type":"object","title":"ConnectRequest"},"CreateKeyRequest":{"properties":{"name":{"type":"string","title":"Name"},"sandbox_mode":{"type":"boolean","title":"Sandbox Mode","default":false},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions","default":["read","execute"]}},"type":"object","required":["name"],"title":"CreateKeyRequest"},"CreateKeyResponse":{"properties":{"key":{"$ref":"#/components/schemas/KeySummary"},"raw_key":{"type":"string","title":"Raw Key"}},"type":"object","required":["key","raw_key"],"title":"CreateKeyResponse"},"CreateProductRequest":{"properties":{"product_type":{"type":"string","title":"Product Type"},"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"amount_minor_units":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Minor Units"},"token_mint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Mint"},"merchant_wallet":{"type":"string","title":"Merchant Wallet"},"delivery_type":{"type":"string","title":"Delivery Type","default":"NONE"},"delivery_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Value"},"tip_presets_lamports":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Tip Presets Lamports"},"max_payments":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Max Payments"},"membership_config":{"anyOf":[{"$ref":"#/components/schemas/MembershipConfigRequest"},{"type":"null"}]}},"type":"object","required":["product_type","title","merchant_wallet"],"title":"CreateProductRequest"},"CreateTicketRequest":{"properties":{"subject":{"type":"string","title":"Subject"},"category":{"type":"string","title":"Category","default":"OTHER"},"body":{"type":"string","title":"Body"},"context":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Context"}},"type":"object","required":["subject","body"],"title":"CreateTicketRequest"},"DeliveryTestRequest":{"properties":{"provider":{"type":"string","title":"Provider"}},"type":"object","required":["provider"],"title":"DeliveryTestRequest"},"EntitlementClaims":{"properties":{"hilt_score":{"type":"boolean","title":"Hilt Score"},"hilt_pay":{"type":"boolean","title":"Hilt Pay"},"hilt_ops":{"type":"boolean","title":"Hilt Ops"},"merchant_analytics":{"type":"boolean","title":"Merchant Analytics"},"buy_notifications":{"type":"boolean","title":"Buy Notifications"},"receipt_exports":{"type":"boolean","title":"Receipt Exports"},"tax_exports":{"type":"boolean","title":"Tax Exports"},"custom_checkout_domains":{"type":"boolean","title":"Custom Checkout Domains"},"is_staff":{"type":"boolean","title":"Is Staff"}},"type":"object","required":["hilt_score","hilt_pay","hilt_ops","merchant_analytics","buy_notifications","receipt_exports","tax_exports","custom_checkout_domains","is_staff"],"title":"EntitlementClaims"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IdentityHandshakeCompleteRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"},"wallet_address":{"type":"string","title":"Wallet Address"},"signed_message_b64":{"type":"string","title":"Signed Message B64"}},"type":"object","required":["session_id","wallet_address","signed_message_b64"],"title":"IdentityHandshakeCompleteRequest"},"IdentityHandshakeCompleteResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"status":{"type":"string","title":"Status"},"wallet_address":{"type":"string","title":"Wallet Address"},"wallet_source":{"type":"string","title":"Wallet Source"},"identity_type":{"type":"string","title":"Identity Type"},"identity_value":{"type":"string","title":"Identity Value"},"identity_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Display"},"verified_at":{"type":"string","title":"Verified At"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["session_id","status","wallet_address","wallet_source","identity_type","identity_value","verified_at","expires_at"],"title":"IdentityHandshakeCompleteResponse"},"IdentityHandshakeStartRequest":{"properties":{"slug":{"type":"string","title":"Slug"},"wallet_address":{"type":"string","title":"Wallet Address"},"wallet_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet Source"},"customer_reference_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference Type"},"customer_reference_value":{"type":"string","title":"Customer Reference Value"},"customer_reference_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Reference Display"}},"type":"object","required":["slug","wallet_address","customer_reference_value"],"title":"IdentityHandshakeStartRequest"},"IdentityHandshakeStartResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"status":{"type":"string","title":"Status"},"wallet_address":{"type":"string","title":"Wallet Address"},"wallet_source":{"type":"string","title":"Wallet Source"},"identity_type":{"type":"string","title":"Identity Type"},"identity_value":{"type":"string","title":"Identity Value"},"identity_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Display"},"challenge_message":{"type":"string","title":"Challenge Message"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["session_id","status","wallet_address","wallet_source","identity_type","identity_value","challenge_message","expires_at"],"title":"IdentityHandshakeStartResponse"},"KeyActivityItem":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"http_method":{"type":"string","title":"Http Method"},"status_code":{"type":"integer","title":"Status Code"},"credits_burned":{"type":"integer","title":"Credits Burned"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["endpoint","http_method","status_code","credits_burned","duration_ms","error_message","created_at"],"title":"KeyActivityItem"},"KeySummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"permissions":{"items":{"type":"string"},"type":"array","title":"Permissions"},"sandbox_mode":{"type":"boolean","title":"Sandbox Mode"},"last_used_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Used At"},"created_at":{"type":"string","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoked At"},"usage_summary":{"$ref":"#/components/schemas/KeyUsageSummary","default":{"total_calls":0,"success_calls":0,"error_calls":0,"credits_burned":0}},"recent_activity":{"items":{"$ref":"#/components/schemas/KeyActivityItem"},"type":"array","title":"Recent Activity","default":[]}},"type":"object","required":["id","name","key_prefix","permissions","sandbox_mode","last_used_at","created_at","revoked_at"],"title":"KeySummary"},"KeyUsageSummary":{"properties":{"total_calls":{"type":"integer","title":"Total Calls","default":0},"success_calls":{"type":"integer","title":"Success Calls","default":0},"error_calls":{"type":"integer","title":"Error Calls","default":0},"credits_burned":{"type":"integer","title":"Credits Burned","default":0},"latest_activity_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Activity At"},"latest_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Latest Endpoint"}},"type":"object","title":"KeyUsageSummary"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MembershipConfigRequest":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":true},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"access_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Mode"},"identity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Type"},"identity_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identity Label"},"identity_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Identity Required"},"renewal_mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Renewal Mode"},"billing_interval_days":{"anyOf":[{"type":"integer","maximum":3660.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Billing Interval Days"},"grace_period_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":0.0},{"type":"null"}],"title":"Grace Period Days"},"renewal_reminder_offsets_days":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Renewal Reminder Offsets Days"},"platform_target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform Target Id"},"platform_target_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform Target Label"},"allow_multiple_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allow Multiple Active"},"settings_json":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Settings Json"}},"type":"object","title":"MembershipConfigRequest"},"MembershipGiftRequest":{"properties":{"days":{"type":"integer","title":"Days"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["days"],"title":"MembershipGiftRequest"},"MembershipNotesRequest":{"properties":{"notes":{"type":"string","title":"Notes","default":""}},"type":"object","title":"MembershipNotesRequest"},"MembershipProfileRequest":{"properties":{"platform_display":{"type":"string","title":"Platform Display","default":""}},"type":"object","title":"MembershipProfileRequest"},"NativeSubscriptionCancelConfirmRequest":{"properties":{"cancel_tx_signature":{"anyOf":[{"type":"string","maxLength":255,"minLength":16},{"type":"null"}],"title":"Cancel Tx Signature"},"revoke_tx_signature":{"anyOf":[{"type":"string","maxLength":255,"minLength":16},{"type":"null"}],"title":"Revoke Tx Signature"},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"immediate_revoke":{"type":"boolean","title":"Immediate Revoke","default":false},"verify_onchain":{"type":"boolean","title":"Verify Onchain","default":true}},"type":"object","title":"NativeSubscriptionCancelConfirmRequest"},"NativeSubscriptionCancelIntentRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Reason"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":true}},"type":"object","title":"NativeSubscriptionCancelIntentRequest"},"OAuthProviderInfo":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"callback_url":{"type":"string","title":"Callback Url"},"app_base_url":{"type":"string","title":"App Base Url"},"uses_app_secret_fallback":{"type":"boolean","title":"Uses App Secret Fallback","default":false},"missing":{"items":{"type":"string"},"type":"array","title":"Missing"}},"type":"object","required":["enabled","callback_url","app_base_url","missing"],"title":"OAuthProviderInfo"},"OAuthProviderStatusResponse":{"properties":{"google":{"$ref":"#/components/schemas/OAuthProviderInfo"},"github":{"$ref":"#/components/schemas/OAuthProviderInfo"}},"type":"object","required":["google","github"],"title":"OAuthProviderStatusResponse"},"OAuthStartResponse":{"properties":{"provider":{"type":"string","title":"Provider"},"callback_url":{"type":"string","title":"Callback Url"},"authorization_url":{"type":"string","title":"Authorization Url"}},"type":"object","required":["provider","callback_url","authorization_url"],"title":"OAuthStartResponse"},"PhantomConnectCallbackRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"phantom_encryption_public_key":{"type":"string","title":"Phantom Encryption Public Key"},"nonce":{"type":"string","title":"Nonce"},"data":{"type":"string","title":"Data"}},"type":"object","required":["payment_id","phantom_encryption_public_key","nonce","data"],"title":"PhantomConnectCallbackRequest"},"PhantomConnectCallbackResponse":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"wallet_address":{"type":"string","title":"Wallet Address"},"wallet_source":{"type":"string","title":"Wallet Source"},"session_stored":{"type":"boolean","title":"Session Stored"}},"type":"object","required":["payment_id","wallet_address","wallet_source","session_stored"],"title":"PhantomConnectCallbackResponse"},"PhantomDeeplinkResponse":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"deeplink_url":{"type":"string","title":"Deeplink Url"}},"type":"object","required":["payment_id","deeplink_url"],"title":"PhantomDeeplinkResponse"},"PhantomMessageCallbackRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"identity_session_id":{"type":"string","title":"Identity Session Id"},"nonce":{"type":"string","title":"Nonce"},"data":{"type":"string","title":"Data"}},"type":"object","required":["payment_id","identity_session_id","nonce","data"],"title":"PhantomMessageCallbackRequest"},"PhantomMessageCallbackResponse":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"identity_session_id":{"type":"string","title":"Identity Session Id"},"wallet_address":{"type":"string","title":"Wallet Address"},"verified_at":{"type":"string","title":"Verified At"}},"type":"object","required":["payment_id","identity_session_id","wallet_address","verified_at"],"title":"PhantomMessageCallbackResponse"},"PhantomMessageUrlRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"identity_session_id":{"type":"string","title":"Identity Session Id"},"handoff_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handoff Token"}},"type":"object","required":["payment_id","identity_session_id"],"title":"PhantomMessageUrlRequest"},"PhantomRenewalMessageCallbackRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"automatic_renew_setup_key":{"type":"string","title":"Automatic Renew Setup Key"},"nonce":{"type":"string","title":"Nonce"},"data":{"type":"string","title":"Data"}},"type":"object","required":["payment_id","automatic_renew_setup_key","nonce","data"],"title":"PhantomRenewalMessageCallbackRequest"},"PhantomRenewalMessageCallbackResponse":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"automatic_renew_setup_key":{"type":"string","title":"Automatic Renew Setup Key"},"wallet_address":{"type":"string","title":"Wallet Address"},"signed_message_b64":{"type":"string","title":"Signed Message B64"}},"type":"object","required":["payment_id","automatic_renew_setup_key","wallet_address","signed_message_b64"],"title":"PhantomRenewalMessageCallbackResponse"},"PhantomRenewalMessageUrlRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"automatic_renew_setup_key":{"type":"string","title":"Automatic Renew Setup Key"},"handoff_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handoff Token"}},"type":"object","required":["payment_id","automatic_renew_setup_key"],"title":"PhantomRenewalMessageUrlRequest"},"PhantomTransactionCallbackRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"nonce":{"type":"string","title":"Nonce"},"data":{"type":"string","title":"Data"}},"type":"object","required":["payment_id","nonce","data"],"title":"PhantomTransactionCallbackRequest"},"PhantomTransactionCallbackResponse":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"wallet_address":{"type":"string","title":"Wallet Address"},"serialized_transaction_b64":{"type":"string","title":"Serialized Transaction B64"}},"type":"object","required":["payment_id","wallet_address","serialized_transaction_b64"],"title":"PhantomTransactionCallbackResponse"},"PhantomTransactionUrlRequest":{"properties":{"payment_id":{"type":"string","title":"Payment Id"},"serialized_transaction_b58":{"type":"string","title":"Serialized Transaction B58"},"handoff_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handoff Token"}},"type":"object","required":["payment_id","serialized_transaction_b58"],"title":"PhantomTransactionUrlRequest"},"ReceiptInvoiceMetadataRequest":{"properties":{"invoice_number":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Invoice Number"},"customer_name":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Customer Name"},"customer_email":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Customer Email"},"billing_reference":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Billing Reference"},"notes":{"anyOf":[{"type":"string","maxLength":1200},{"type":"null"}],"title":"Notes"}},"type":"object","title":"ReceiptInvoiceMetadataRequest"},"ReceiptRequest":{"properties":{"tx_sig":{"type":"string","title":"Tx Sig","description":"Solana transaction signature"},"wallet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wallet","description":"Signer wallet address"},"counterparty_wallet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counterparty Wallet","description":"Counterparty wallet address"},"token_mint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Mint","description":"Token mint address"},"amount_raw":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Raw","description":"Raw token amount (lamports or base units)"},"memo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memo","description":"Human-readable memo"}},"type":"object","required":["tx_sig"],"title":"ReceiptRequest"},"ReceiptSendProofRequest":{"properties":{"email":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Email"},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note"}},"type":"object","title":"ReceiptSendProofRequest"},"RefreshRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"RefreshRequest"},"RegisterRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"},"referral_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referral Code"}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"SandboxSessionCreateRequest":{"properties":{"scenario":{"type":"string","maxLength":80,"minLength":2,"title":"Scenario"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"},"amount_minor_units":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Amount Minor Units"},"payer_wallet":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Payer Wallet"},"identity_display":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Identity Display"}},"type":"object","required":["scenario"],"title":"SandboxSessionCreateRequest"},"StripeCheckoutRequest":{"properties":{"plan":{"type":"string","enum":["starter","growth","scale"],"title":"Plan"},"interval":{"type":"string","enum":["monthly","yearly"],"title":"Interval","default":"monthly"},"success_url":{"type":"string","maxLength":2048,"minLength":8,"title":"Success Url"},"cancel_url":{"type":"string","maxLength":2048,"minLength":8,"title":"Cancel Url"}},"type":"object","required":["plan","success_url","cancel_url"],"title":"StripeCheckoutRequest"},"StripeCheckoutResponse":{"properties":{"session_id":{"type":"string","title":"Session Id"},"checkout_url":{"type":"string","title":"Checkout Url"}},"type":"object","required":["session_id","checkout_url"],"title":"StripeCheckoutResponse"},"StripeInvoiceHistoryResponse":{"properties":{"invoice_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Id"},"invoice_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Number"},"status":{"type":"string","title":"Status"},"billing_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Reason"},"currency":{"type":"string","title":"Currency"},"amount_due_minor_units":{"type":"integer","title":"Amount Due Minor Units"},"amount_paid_minor_units":{"type":"integer","title":"Amount Paid Minor Units"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"invoice_pdf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Pdf"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["status","currency","amount_due_minor_units","amount_paid_minor_units"],"title":"StripeInvoiceHistoryResponse"},"StripePortalRequest":{"properties":{"return_url":{"type":"string","maxLength":2048,"minLength":8,"title":"Return Url"}},"type":"object","required":["return_url"],"title":"StripePortalRequest"},"StripePortalResponse":{"properties":{"portal_url":{"type":"string","title":"Portal Url"}},"type":"object","required":["portal_url"],"title":"StripePortalResponse"},"StripeRefreshResponse":{"properties":{"refreshed":{"type":"boolean","title":"Refreshed"},"tier":{"type":"string","title":"Tier"},"billing_status":{"type":"string","title":"Billing Status"},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End"}},"type":"object","required":["refreshed","tier","billing_status"],"title":"StripeRefreshResponse"},"UpdateProductRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"amount_minor_units":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Minor Units"},"merchant_wallet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merchant Wallet"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"delivery_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Type"},"delivery_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Value"},"tip_presets_lamports":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Tip Presets Lamports"},"max_payments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Payments"},"membership_config":{"anyOf":[{"$ref":"#/components/schemas/MembershipConfigRequest"},{"type":"null"}]}},"type":"object","title":"UpdateProductRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WalletAuthRequest":{"properties":{"wallet_address":{"type":"string","title":"Wallet Address"},"signed_message":{"type":"string","title":"Signed Message"},"message_nonce":{"type":"string","title":"Message Nonce"}},"type":"object","required":["wallet_address","signed_message","message_nonce"],"title":"WalletAuthRequest"},"WebhookEndpointCreateRequest":{"properties":{"label":{"type":"string","maxLength":120,"minLength":2,"title":"Label"},"url":{"type":"string","title":"Url"},"subscribed_events":{"items":{"type":"string"},"type":"array","title":"Subscribed Events"},"product_ids":{"items":{"type":"string"},"type":"array","title":"Product Ids"}},"type":"object","required":["label","url"],"title":"WebhookEndpointCreateRequest"},"WebhookEndpointUpdateRequest":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":120,"minLength":2},{"type":"null"}],"title":"Label"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"subscribed_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Subscribed Events"},"product_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Product Ids"},"rotate_signing_secret":{"type":"boolean","title":"Rotate Signing Secret","default":false}},"type":"object","title":"WebhookEndpointUpdateRequest"},"WebhookTestEventRequest":{"properties":{"event_type":{"type":"string","title":"Event Type","default":"payment.confirmed"}},"type":"object","title":"WebhookTestEventRequest"},"ZapierHookSubscribeRequest":{"properties":{"target_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Url"},"targetUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Targeturl"},"event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"eventType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eventtype"},"subscribed_events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Subscribed Events"},"subscribedEvents":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Subscribedevents"},"product_ids":{"items":{"type":"string"},"type":"array","title":"Product Ids"},"productIds":{"items":{"type":"string"},"type":"array","title":"Productids"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"}},"type":"object","title":"ZapierHookSubscribeRequest"}}}}