{"openapi":"3.1.0","info":{"title":"BitPayPal","description":"Non-custodial multi-provider crypto payment processor","version":"2.1.0"},"paths":{"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap","operationId":"sitemap_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/docs":{"get":{"summary":"Public Docs","operationId":"public_docs_docs_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/integrations":{"get":{"summary":"Integrations","operationId":"integrations_integrations_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/integrations/{slug}":{"get":{"summary":"Integration Detail","operationId":"integration_detail_integrations__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pricing":{"get":{"summary":"Pricing Page","operationId":"pricing_page_pricing_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/security":{"get":{"summary":"Security Page","operationId":"security_page_security_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/faq":{"get":{"summary":"Faq Page","operationId":"faq_page_faq_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/privacy":{"get":{"summary":"Privacy Page","operationId":"privacy_page_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms Page","operationId":"terms_page_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/favicon.ico":{"get":{"summary":"Favicon","operationId":"favicon_favicon_ico_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"summary":"Llms","operationId":"llms_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/assets":{"get":{"summary":"Supported Assets","operationId":"supported_assets_api_v1_assets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready":{"get":{"summary":"Ready","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/auth/register":{"post":{"summary":"Register","operationId":"register_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/login":{"post":{"summary":"Login","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys":{"get":{"summary":"List Api Keys","operationId":"list_api_keys_api_v1_api_keys_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Create Api Key","operationId":"create_api_key_api_v1_api_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys/{key_id}":{"delete":{"summary":"Revoke Api Key","operationId":"revoke_api_key_api_v1_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me":{"get":{"summary":"Me","operationId":"me_api_v1_me_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallets":{"post":{"summary":"Add Wallet","operationId":"add_wallet_api_v1_wallets_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Wallets","operationId":"wallets_api_v1_wallets_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invoices":{"post":{"summary":"Create Invoice","operationId":"create_invoice_api_v1_invoices_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Invoices","operationId":"invoices_api_v1_invoices_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invoices/{invoice_id}":{"get":{"summary":"Invoice","operationId":"invoice_api_v1_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invoices/{invoice_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_api_v1_invoices__invoice_id__cancel_post","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/invoices/{invoice_id}/status":{"get":{"summary":"Public Status","operationId":"public_status_api_v1_invoices__invoice_id__status_get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/transactions":{"get":{"summary":"Transactions","operationId":"transactions_api_v1_transactions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/fee-ledger":{"get":{"summary":"Fee Ledger","operationId":"fee_ledger_api_v1_fee_ledger_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/settings":{"patch":{"summary":"Settings Update","operationId":"settings_update_api_v1_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantSettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/wallets/{wallet_id}":{"delete":{"summary":"Delete Wallet","operationId":"delete_wallet_api_v1_wallets__wallet_id__delete","parameters":[{"name":"wallet_id","in":"path","required":true,"schema":{"type":"string","title":"Wallet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Change Wallet","operationId":"change_wallet_api_v1_wallets__wallet_id__patch","parameters":[{"name":"wallet_id","in":"path","required":true,"schema":{"type":"string","title":"Wallet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referral-payout-wallets":{"get":{"summary":"Payout Wallets","operationId":"payout_wallets_api_v1_referral_payout_wallets_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Add Payout Wallet","operationId":"add_payout_wallet_api_v1_referral_payout_wallets_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralPayoutWalletIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referral-payout-wallets/{wallet_id}":{"delete":{"summary":"Delete Payout Wallet","operationId":"delete_payout_wallet_api_v1_referral_payout_wallets__wallet_id__delete","parameters":[{"name":"wallet_id","in":"path","required":true,"schema":{"type":"string","title":"Wallet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referrals":{"get":{"summary":"Referrals","operationId":"referrals_api_v1_referrals_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Add Referral","operationId":"add_referral_api_v1_referrals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referrals/{referral_id}/ledger":{"get":{"summary":"Referral Ledger","operationId":"referral_ledger_api_v1_referrals__referral_id__ledger_get","parameters":[{"name":"referral_id","in":"path","required":true,"schema":{"type":"string","title":"Referral Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referral-balances":{"get":{"summary":"Referral Balances","operationId":"referral_balances_api_v1_referral_balances_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referral-payouts":{"get":{"summary":"Referral Payouts","operationId":"referral_payouts_api_v1_referral_payouts_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Request Referral Payout","operationId":"request_referral_payout_api_v1_referral_payouts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralPayoutIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referrals/{referral_id}":{"patch":{"summary":"Update Referral","operationId":"update_referral_api_v1_referrals__referral_id__patch","parameters":[{"name":"referral_id","in":"path","required":true,"schema":{"type":"string","title":"Referral Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Referral","operationId":"delete_referral_api_v1_referrals__referral_id__delete","parameters":[{"name":"referral_id","in":"path","required":true,"schema":{"type":"string","title":"Referral Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{code}":{"get":{"summary":"Referral Redirect","operationId":"referral_redirect_r__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/login":{"get":{"summary":"Admin Login Page","operationId":"admin_login_page_admin_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Admin Login","operationId":"admin_login_admin_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_login_admin_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/platform-balances":{"get":{"summary":"Admin Platform Balances","operationId":"admin_platform_balances_admin_platform_balances_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin":{"get":{"summary":"Admin Page","operationId":"admin_page_admin_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/admin/settings":{"post":{"summary":"Admin Settings","operationId":"admin_settings_admin_settings_post","parameters":[{"name":"payout_address","in":"query","required":false,"schema":{"type":"string","default":"","title":"Payout Address"}},{"name":"platform_fee_bps","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Platform Fee Bps"}},{"name":"referral_default_bps","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Referral Default Bps"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/merchant/{merchant_id}/commission":{"post":{"summary":"Admin Commission","operationId":"admin_commission_admin_merchant__merchant_id__commission_post","parameters":[{"name":"merchant_id","in":"path","required":true,"schema":{"type":"string","title":"Merchant Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_commission_admin_merchant__merchant_id__commission_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/referral-payout/{payout_id}/paid":{"post":{"summary":"Admin Mark Referral Paid","operationId":"admin_mark_referral_paid_admin_referral_payout__payout_id__paid_post","parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_mark_referral_paid_admin_referral_payout__payout_id__paid_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/referral-payout/{payout_id}/reject":{"post":{"summary":"Admin Reject Referral Payout","operationId":"admin_reject_referral_payout_admin_referral_payout__payout_id__reject_post","parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics":{"get":{"summary":"Api Analytics","operationId":"api_analytics_api_v1_analytics_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/refunds":{"post":{"summary":"Api Refund","operationId":"api_refund_api_v1_refunds_post","parameters":[{"name":"invoice_id","in":"query","required":true,"schema":{"type":"string","title":"Invoice Id"}},{"name":"amount_units","in":"query","required":true,"schema":{"type":"integer","title":"Amount Units"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string","default":"","title":"Reason"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhook-endpoints":{"get":{"summary":"Api Webhook Endpoints","operationId":"api_webhook_endpoints_api_v1_webhook_endpoints_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Api Webhook Endpoint","operationId":"api_webhook_endpoint_api_v1_webhook_endpoints_post","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}},{"name":"url","in":"query","required":true,"schema":{"type":"string","title":"Url"}},{"name":"events","in":"query","required":false,"schema":{"type":"string","default":"*","title":"Events"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/analytics/export.csv":{"get":{"summary":"Api Analytics Export","operationId":"api_analytics_export_api_v1_analytics_export_csv_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/register":{"get":{"summary":"Register Page","operationId":"register_page_register_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Register Form","operationId":"register_form_register_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_register_form_register_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Login Form","operationId":"login_form_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_form_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/team":{"get":{"summary":"Dashboard Team","operationId":"dashboard_team_dashboard_team_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Team Add","operationId":"dashboard_team_add_dashboard_team_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_team_add_dashboard_team_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/team/{member_id}/deactivate":{"post":{"summary":"Dashboard Team Deactivate","operationId":"dashboard_team_deactivate_dashboard_team__member_id__deactivate_post","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","title":"Member Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/analytics":{"get":{"summary":"Dashboard Analytics","operationId":"dashboard_analytics_dashboard_analytics_get","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_analytics_dashboard_analytics_get"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/refunds":{"get":{"summary":"Dashboard Refunds","operationId":"dashboard_refunds_dashboard_refunds_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/invoices/{invoice_id}/refund":{"post":{"summary":"Create Refund","operationId":"create_refund_dashboard_invoices__invoice_id__refund_post","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_refund_dashboard_invoices__invoice_id__refund_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/refund/{token}":{"get":{"summary":"Refund Claim Page","operationId":"refund_claim_page_refund__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Refund Claim","operationId":"refund_claim_refund__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_refund_claim_refund__token__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/refund/{refund_id}/mark-paid":{"post":{"summary":"Refund Mark Paid","operationId":"refund_mark_paid_dashboard_refund__refund_id__mark_paid_post","parameters":[{"name":"refund_id","in":"path","required":true,"schema":{"type":"string","title":"Refund Id"}},{"name":"txid","in":"query","required":false,"schema":{"type":"string","default":"","title":"Txid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/webhooks/manage":{"get":{"summary":"Dashboard Webhook Manage","operationId":"dashboard_webhook_manage_dashboard_webhooks_manage_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Webhook Add","operationId":"dashboard_webhook_add_dashboard_webhooks_manage_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_webhook_add_dashboard_webhooks_manage_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/webhooks/manage/{endpoint_id}/deactivate":{"post":{"summary":"Dashboard Webhook Deactivate","operationId":"dashboard_webhook_deactivate_dashboard_webhooks_manage__endpoint_id__deactivate_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/wallet-portfolio":{"get":{"summary":"Dashboard Portfolio","operationId":"dashboard_portfolio_dashboard_wallet_portfolio_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/logout":{"post":{"summary":"Logout","operationId":"logout_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/integrations":{"get":{"summary":"Dashboard Integrations","operationId":"dashboard_integrations_dashboard_integrations_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/integrations/{platform}/test":{"post":{"summary":"Dashboard Integration Test","operationId":"dashboard_integration_test_dashboard_integrations__platform__test_post","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_integration_test_dashboard_integrations__platform__test_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/payment-links":{"get":{"summary":"Dashboard Payment Links","operationId":"dashboard_payment_links_dashboard_payment_links_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Payment Link Add","operationId":"dashboard_payment_link_add_dashboard_payment_links_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_payment_link_add_dashboard_payment_links_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/payment-links/{link_id}/deactivate":{"post":{"summary":"Dashboard Payment Link Deactivate","operationId":"dashboard_payment_link_deactivate_dashboard_payment_links__link_id__deactivate_post","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/request/{slug}":{"get":{"summary":"Payment Request Page","operationId":"payment_request_page_request__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/request/{slug}/pay":{"post":{"summary":"Payment Request Pay","operationId":"payment_request_pay_request__slug__pay_post","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"}}}}}}},"/dashboard/payments":{"get":{"summary":"Dashboard Payments","operationId":"dashboard_payments_dashboard_payments_get","parameters":[{"name":"asset","in":"query","required":false,"schema":{"type":"string","default":"","title":"Asset"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/api-keys":{"get":{"summary":"Dashboard Api Keys","operationId":"dashboard_api_keys_dashboard_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Api Key Add","operationId":"dashboard_api_key_add_dashboard_api_keys_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_api_key_add_dashboard_api_keys_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/api-keys/{key_id}/revoke":{"post":{"summary":"Dashboard Api Key Revoke","operationId":"dashboard_api_key_revoke_dashboard_api_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/webhooks":{"get":{"summary":"Dashboard Webhooks","operationId":"dashboard_webhooks_dashboard_webhooks_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/invoices/new":{"get":{"summary":"Dashboard Invoice New","operationId":"dashboard_invoice_new_dashboard_invoices_new_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Invoice New Post","operationId":"dashboard_invoice_new_post_dashboard_invoices_new_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_invoice_new_post_dashboard_invoices_new_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/invoices/export.csv":{"get":{"summary":"Dashboard Invoice Export","operationId":"dashboard_invoice_export_dashboard_invoices_export_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/invoices/{invoice_id}":{"get":{"summary":"Dashboard Invoice Detail","operationId":"dashboard_invoice_detail_dashboard_invoices__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard":{"get":{"summary":"Dashboard","operationId":"dashboard_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/invoices":{"get":{"summary":"Dashboard Invoices","operationId":"dashboard_invoices_dashboard_invoices_get","parameters":[{"name":"asset","in":"query","required":false,"schema":{"type":"string","default":"","title":"Asset"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/wallets":{"get":{"summary":"Dashboard Wallets","operationId":"dashboard_wallets_dashboard_wallets_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Wallet Add","operationId":"dashboard_wallet_add_dashboard_wallets_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_wallet_add_dashboard_wallets_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/referrals":{"get":{"summary":"Dashboard Referrals","operationId":"dashboard_referrals_dashboard_referrals_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Referral Add","operationId":"dashboard_referral_add_dashboard_referrals_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_referral_add_dashboard_referrals_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/referral-wallet":{"post":{"summary":"Dashboard Referral Wallet","operationId":"dashboard_referral_wallet_dashboard_referral_wallet_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_referral_wallet_dashboard_referral_wallet_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/wallets/{wallet_id}/deactivate":{"post":{"summary":"Dashboard Wallet Deactivate","operationId":"dashboard_wallet_deactivate_dashboard_wallets__wallet_id__deactivate_post","parameters":[{"name":"wallet_id","in":"path","required":true,"schema":{"type":"string","title":"Wallet Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/account/passkey/options":{"post":{"summary":"Passkey Options","operationId":"passkey_options_dashboard_account_passkey_options_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/passkey/register":{"post":{"summary":"Passkey Register","operationId":"passkey_register_dashboard_account_passkey_register_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/passkey/options":{"post":{"summary":"Passkey Login Options","operationId":"passkey_login_options_api_v1_auth_passkey_options_post","parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string","title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/passkey/login":{"post":{"summary":"Passkey Login","operationId":"passkey_login_api_v1_auth_passkey_login_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/account/2fa/enable":{"post":{"summary":"Enable 2Fa","operationId":"enable_2fa_dashboard_account_2fa_enable_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/account/2fa/confirm":{"post":{"summary":"Confirm 2Fa","operationId":"confirm_2fa_dashboard_account_2fa_confirm_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_confirm_2fa_dashboard_account_2fa_confirm_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/account/2fa/disable":{"post":{"summary":"Disable 2Fa","operationId":"disable_2fa_dashboard_account_2fa_disable_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_disable_2fa_dashboard_account_2fa_disable_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/account":{"get":{"summary":"Dashboard Account","operationId":"dashboard_account_dashboard_account_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/account/password":{"post":{"summary":"Dashboard Account Password","operationId":"dashboard_account_password_dashboard_account_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dashboard_account_password_dashboard_account_password_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/settings":{"get":{"summary":"Dashboard Settings","operationId":"dashboard_settings_dashboard_settings_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Dashboard Settings Post","operationId":"dashboard_settings_post_dashboard_settings_post","parameters":[{"name":"webhook_url","in":"query","required":false,"schema":{"type":"string","default":"","title":"Webhook Url"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/settings/webhook-test":{"post":{"summary":"Dashboard Webhook Test","operationId":"dashboard_webhook_test_dashboard_settings_webhook_test_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/settings/rotate-secret":{"post":{"summary":"Dashboard Rotate Webhook Secret","operationId":"dashboard_rotate_webhook_secret_dashboard_settings_rotate_secret_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/pay/{invoice_id}":{"get":{"summary":"Checkout","operationId":"checkout_pay__invoice_id__get","parameters":[{"name":"invoice_id","in":"path","required":true,"schema":{"type":"string","title":"Invoice Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ApiKeyCreateIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name","default":"API key"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"type":"object","title":"ApiKeyCreateIn"},"Body_admin_commission_admin_merchant__merchant_id__commission_post":{"properties":{"fee_rate_bps":{"type":"integer","title":"Fee Rate Bps"}},"type":"object","required":["fee_rate_bps"],"title":"Body_admin_commission_admin_merchant__merchant_id__commission_post"},"Body_admin_login_admin_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Body_admin_login_admin_login_post"},"Body_admin_mark_referral_paid_admin_referral_payout__payout_id__paid_post":{"properties":{"txid":{"type":"string","title":"Txid"}},"type":"object","required":["txid"],"title":"Body_admin_mark_referral_paid_admin_referral_payout__payout_id__paid_post"},"Body_confirm_2fa_dashboard_account_2fa_confirm_post":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"Body_confirm_2fa_dashboard_account_2fa_confirm_post"},"Body_create_refund_dashboard_invoices__invoice_id__refund_post":{"properties":{"amount":{"type":"string","title":"Amount"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["amount"],"title":"Body_create_refund_dashboard_invoices__invoice_id__refund_post"},"Body_dashboard_account_password_dashboard_account_password_post":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"Body_dashboard_account_password_dashboard_account_password_post"},"Body_dashboard_analytics_dashboard_analytics_get":{"properties":{"days":{"type":"integer","title":"Days","default":30}},"type":"object","title":"Body_dashboard_analytics_dashboard_analytics_get"},"Body_dashboard_api_key_add_dashboard_api_keys_post":{"properties":{"name":{"type":"string","title":"Name","default":"API key"}},"type":"object","title":"Body_dashboard_api_key_add_dashboard_api_keys_post"},"Body_dashboard_integration_test_dashboard_integrations__platform__test_post":{"properties":{"endpoint_url":{"type":"string","title":"Endpoint Url"}},"type":"object","required":["endpoint_url"],"title":"Body_dashboard_integration_test_dashboard_integrations__platform__test_post"},"Body_dashboard_invoice_new_post_dashboard_invoices_new_post":{"properties":{"wallet_id":{"type":"string","title":"Wallet Id"},"amount":{"type":"string","title":"Amount","default":""},"fiat_currency":{"type":"string","title":"Fiat Currency","default":""},"fiat_amount":{"type":"string","title":"Fiat Amount","default":""},"order_id":{"type":"string","title":"Order Id","default":""},"description":{"type":"string","title":"Description","default":""},"confirmations_required":{"type":"integer","title":"Confirmations Required","default":2},"expires_minutes":{"type":"integer","title":"Expires Minutes","default":60}},"type":"object","required":["wallet_id"],"title":"Body_dashboard_invoice_new_post_dashboard_invoices_new_post"},"Body_dashboard_payment_link_add_dashboard_payment_links_post":{"properties":{"wallet_id":{"type":"string","title":"Wallet Id"},"title":{"type":"string","title":"Title"},"amount":{"type":"string","title":"Amount"},"description":{"type":"string","title":"Description","default":""}},"type":"object","required":["wallet_id","title","amount"],"title":"Body_dashboard_payment_link_add_dashboard_payment_links_post"},"Body_dashboard_referral_add_dashboard_referrals_post":{"properties":{"name":{"type":"string","title":"Name"},"commission_bps":{"type":"integer","title":"Commission Bps","default":25}},"type":"object","required":["name"],"title":"Body_dashboard_referral_add_dashboard_referrals_post"},"Body_dashboard_referral_wallet_dashboard_referral_wallet_post":{"properties":{"address":{"type":"string","title":"Address"},"asset":{"type":"string","title":"Asset","default":"BTC"},"label":{"type":"string","title":"Label","default":"Referral payout"}},"type":"object","required":["address"],"title":"Body_dashboard_referral_wallet_dashboard_referral_wallet_post"},"Body_dashboard_team_add_dashboard_team_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"role":{"type":"string","title":"Role","default":"support"},"permissions":{"type":"string","title":"Permissions","default":""}},"type":"object","required":["email","password"],"title":"Body_dashboard_team_add_dashboard_team_post"},"Body_dashboard_wallet_add_dashboard_wallets_post":{"properties":{"name":{"type":"string","title":"Name"},"asset":{"type":"string","title":"Asset","default":"BTC"},"wallet_type":{"type":"string","title":"Wallet Type","default":"bip84"},"key_material":{"type":"string","title":"Key Material","default":""},"descriptor":{"type":"string","title":"Descriptor","default":""}},"type":"object","required":["name"],"title":"Body_dashboard_wallet_add_dashboard_wallets_post"},"Body_dashboard_webhook_add_dashboard_webhooks_manage_post":{"properties":{"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"events":{"type":"string","title":"Events","default":"*"}},"type":"object","required":["name","url"],"title":"Body_dashboard_webhook_add_dashboard_webhooks_manage_post"},"Body_disable_2fa_dashboard_account_2fa_disable_post":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"Body_disable_2fa_dashboard_account_2fa_disable_post"},"Body_login_form_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"totp_code":{"type":"string","title":"Totp Code","default":""}},"type":"object","required":["email","password"],"title":"Body_login_form_login_post"},"Body_refund_claim_refund__token__post":{"properties":{"destination":{"type":"string","title":"Destination"}},"type":"object","required":["destination"],"title":"Body_refund_claim_refund__token__post"},"Body_register_form_register_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Body_register_form_register_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InvoiceIn":{"properties":{"wallet_id":{"type":"string","title":"Wallet Id"},"amount_sats":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Sats"},"amount_units":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Units"},"asset":{"type":"string","title":"Asset","default":"BTC"},"order_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Order Id"},"description":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Description"},"fiat_currency":{"anyOf":[{"type":"string","maxLength":8,"minLength":3},{"type":"null"}],"title":"Fiat Currency"},"fiat_amount":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Fiat Amount"},"confirmations_required":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":0.0},{"type":"null"}],"title":"Confirmations Required"},"expires_minutes":{"anyOf":[{"type":"integer","maximum":1440.0,"minimum":5.0},{"type":"null"}],"title":"Expires Minutes"}},"type":"object","required":["wallet_id"],"title":"InvoiceIn"},"LoginIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"},"totp_code":{"anyOf":[{"type":"string","maxLength":12,"minLength":6},{"type":"null"}],"title":"Totp Code"}},"type":"object","required":["email","password"],"title":"LoginIn"},"MerchantSettingsIn":{"properties":{"webhook_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Webhook Url"}},"type":"object","title":"MerchantSettingsIn"},"ReferralIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"commission_bps":{"anyOf":[{"type":"integer","maximum":5000.0,"minimum":0.0},{"type":"null"}],"title":"Commission Bps"}},"type":"object","required":["name"],"title":"ReferralIn"},"ReferralPayoutIn":{"properties":{"referral_id":{"type":"string","title":"Referral Id"},"wallet_id":{"type":"string","title":"Wallet Id"},"asset":{"type":"string","title":"Asset"},"amount_units":{"type":"integer","exclusiveMinimum":0.0,"title":"Amount Units"}},"type":"object","required":["referral_id","wallet_id","asset","amount_units"],"title":"ReferralPayoutIn"},"ReferralPayoutWalletIn":{"properties":{"address":{"type":"string","maxLength":120,"minLength":20,"title":"Address"},"asset":{"type":"string","title":"Asset","default":"BTC"},"label":{"type":"string","maxLength":120,"title":"Label","default":"Referral payout"}},"type":"object","required":["address"],"title":"ReferralPayoutWalletIn"},"ReferralUpdateIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"commission_bps":{"anyOf":[{"type":"integer","maximum":5000.0,"minimum":0.0},{"type":"null"}],"title":"Commission Bps"},"active":{"type":"boolean","title":"Active","default":true}},"type":"object","required":["name"],"title":"ReferralUpdateIn"},"RegisterIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":12,"title":"Password"},"referral_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referral Code"}},"type":"object","required":["email","password"],"title":"RegisterIn"},"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"},"WalletIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"wallet_type":{"type":"string","enum":["bip44","bip49","bip84","descriptor","evm","ton"],"title":"Wallet Type","default":"bip84"},"asset":{"type":"string","title":"Asset","default":"BTC"},"key_material":{"anyOf":[{"type":"string","minLength":20},{"type":"null"}],"title":"Key Material"},"descriptor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Descriptor"}},"type":"object","required":["name"],"title":"WalletIn"}}}}