{"openapi": "3.1.0", "info": {"title": "Fox Pay API", "version": "1.0.0"}, "servers": [{"url": "https://foxpay.fyi"}], "paths": {"/api/v1/payment-intents/": {"post": {"summary": "Create a payment intent", "parameters": [{"name": "Idempotency-Key", "in": "header", "required": false}]}}, "/api/v1/payment-intents/{id}/": {"get": {"summary": "Retrieve a payment intent"}}, "/api/v1/payment-intents/{id}/refunds/": {"post": {"summary": "Create a refund", "parameters": [{"name": "Idempotency-Key", "in": "header", "required": false}]}}, "/api/v1/subscription-references/": {"post": {"summary": "Upsert a merchant-owned subscription display reference"}}, "/api/v1/webhooks/crypto/{provider}/": {"post": {"summary": "Receive normalized provider crypto webhook"}}, "/api/v1/webhooks/stripe/{provider}/": {"post": {"summary": "Receive Stripe Checkout webhook events"}}, "/api/v1/webhooks/nowpayments/{merchant_slug}/{provider}/": {"post": {"summary": "Receive signed NOWPayments IPN events"}}, "/api/v1/webhooks/square/{merchant_slug}/{provider}/": {"post": {"summary": "Record signed Square webhook events"}}, "/api/v1/webhooks/paypal/{merchant_slug}/{provider}/": {"post": {"summary": "Capture and settle signed PayPal Orders v2 events"}}}}