{"openapi":"3.1.0","info":{"title":"StablePay","version":"1.0.0"},"paths":{"/signup":{"get":{"summary":"Signup Page","operationId":"signup_page_signup_get","parameters":[{"name":"err","in":"query","required":false,"schema":{"type":"string","default":"","title":"Err"}},{"name":"plan","in":"query","required":false,"schema":{"type":"string","default":"","title":"Plan"}}],"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":"Signup","operationId":"signup_signup_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signup_signup_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","parameters":[{"name":"err","in":"query","required":false,"schema":{"type":"string","default":"","title":"Err"}}],"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":"Login","operationId":"login_login_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login/2fa":{"get":{"summary":"Login 2Fa Page","operationId":"login_2fa_page_login_2fa_get","parameters":[{"name":"err","in":"query","required":false,"schema":{"type":"string","default":"","title":"Err"}}],"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":"Login 2Fa","operationId":"login_2fa_login_2fa_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_2fa_login_2fa_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"get":{"summary":"Logout","operationId":"logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/exit-support":{"get":{"summary":"Exit Support","description":"Leave an operator impersonation session: clear the merchant session + the\nsupport-view flag and return to the superadmin console.","operationId":"exit_support_dashboard_exit_support_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/verify":{"get":{"summary":"Verify","operationId":"verify_verify_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","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"}}}}}}},"/forgot":{"get":{"summary":"Forgot Page","operationId":"forgot_page_forgot_get","parameters":[{"name":"sent","in":"query","required":false,"schema":{"type":"string","default":"","title":"Sent"}}],"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":"Forgot","operationId":"forgot_forgot_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_forgot_forgot_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reset":{"get":{"summary":"Reset Page","operationId":"reset_page_reset_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}},{"name":"err","in":"query","required":false,"schema":{"type":"string","default":"","title":"Err"}}],"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":"Reset","operationId":"reset_reset_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reset_reset_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard":{"get":{"summary":"Dashboard","operationId":"dashboard_dashboard_get","parameters":[{"name":"err","in":"query","required":false,"schema":{"type":"string","default":"","title":"Err"}},{"name":"msg","in":"query","required":false,"schema":{"type":"string","default":"","title":"Msg"}},{"name":"new_payment","in":"query","required":false,"schema":{"type":"string","default":"","title":"New Payment"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/charge":{"post":{"summary":"Dash Charge","operationId":"dash_charge_dashboard_charge_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_charge_dashboard_charge_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/acceptance":{"post":{"summary":"Dash Acceptance","operationId":"dash_acceptance_dashboard_acceptance_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_acceptance_dashboard_acceptance_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/secret":{"get":{"summary":"Dash Secret","description":"Return the FULL api_key / webhook_secret for the logged-in merchant, on demand\n(reveal/copy). Keeps the plaintext secret out of the initial dashboard HTML.","operationId":"dash_secret_dashboard_secret_get","parameters":[{"name":"field","in":"query","required":false,"schema":{"type":"string","default":"","title":"Field"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/webhooks":{"post":{"summary":"Dash Webhooks","operationId":"dash_webhooks_dashboard_webhooks_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_webhooks_dashboard_webhooks_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/links/create":{"post":{"summary":"Dash Link Create","operationId":"dash_link_create_dashboard_links_create_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_link_create_dashboard_links_create_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/links/{link_id}/toggle":{"post":{"summary":"Dash Link Toggle","operationId":"dash_link_toggle_dashboard_links__link_id__toggle_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"}}}}}}},"/dashboard/links/{link_id}/delete":{"post":{"summary":"Dash Link Delete","operationId":"dash_link_delete_dashboard_links__link_id__delete_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"}}}}}}},"/dashboard/api/pk-cap":{"post":{"summary":"Dash Pk Cap","description":"Set/clear the safety cap on raw publishable-key checkout amounts. Blank = no cap.","operationId":"dash_pk_cap_dashboard_api_pk_cap_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_pk_cap_dashboard_api_pk_cap_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/settings/profile":{"post":{"summary":"Dash Profile","operationId":"dash_profile_dashboard_settings_profile_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_profile_dashboard_settings_profile_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/settings/password":{"post":{"summary":"Dash Password","operationId":"dash_password_dashboard_settings_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_password_dashboard_settings_password_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/payments.csv":{"get":{"summary":"Dash Payments Csv","operationId":"dash_payments_csv_dashboard_payments_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/payout":{"post":{"summary":"Dash Payout","operationId":"dash_payout_dashboard_payout_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_payout_dashboard_payout_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/billing/plan":{"post":{"summary":"Dash Billing Plan","operationId":"dash_billing_plan_dashboard_billing_plan_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_billing_plan_dashboard_billing_plan_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/billing/topup":{"post":{"summary":"Dash Billing Topup","operationId":"dash_billing_topup_dashboard_billing_topup_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_billing_topup_dashboard_billing_topup_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/api/regenerate":{"post":{"summary":"Dash Api Regenerate","operationId":"dash_api_regenerate_dashboard_api_regenerate_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/api/roll-secret":{"post":{"summary":"Dash Api Roll Secret","operationId":"dash_api_roll_secret_dashboard_api_roll_secret_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/api/test-webhook":{"post":{"summary":"Dash Api Test Webhook","operationId":"dash_api_test_webhook_dashboard_api_test_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/webhook/resend/{charge_id}":{"post":{"summary":"Dash Webhook Resend","description":"Re-fire the signed IPN webhook for one of this merchant's charges and log\nthe attempt. Session-auth + ownership-checked.","operationId":"dash_webhook_resend_dashboard_webhook_resend__charge_id__post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/signout-all":{"post":{"summary":"Dash Signout All","operationId":"dash_signout_all_dashboard_signout_all_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/close":{"post":{"summary":"Dash Close","operationId":"dash_close_dashboard_close_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/2fa/setup":{"post":{"summary":"Dash 2Fa Setup","operationId":"dash_2fa_setup_dashboard_2fa_setup_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/2fa/enable":{"post":{"summary":"Dash 2Fa Enable","operationId":"dash_2fa_enable_dashboard_2fa_enable_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_dash_2fa_enable_dashboard_2fa_enable_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/2fa/disable":{"post":{"summary":"Dash 2Fa Disable","operationId":"dash_2fa_disable_dashboard_2fa_disable_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/resend-verification":{"post":{"summary":"Dash Resend Verification","description":"Re-send the signup verification email to the logged-in merchant.","operationId":"dash_resend_verification_dashboard_resend_verification_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/superadmin/login":{"get":{"summary":"Login Page","operationId":"login_page_superadmin_login_get","parameters":[{"name":"err","in":"query","required":false,"schema":{"type":"string","default":"","title":"Err"}}],"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":"Login","operationId":"login_superadmin_login_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_superadmin_login_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/2fa/setup":{"post":{"summary":"Tfa Setup","operationId":"tfa_setup_superadmin_2fa_setup_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_tfa_setup_superadmin_2fa_setup_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/2fa/enable":{"post":{"summary":"Tfa Enable","operationId":"tfa_enable_superadmin_2fa_enable_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_tfa_enable_superadmin_2fa_enable_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/2fa/disable":{"post":{"summary":"Tfa Disable","operationId":"tfa_disable_superadmin_2fa_disable_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_tfa_disable_superadmin_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"}}}}}}},"/superadmin/admins/add":{"post":{"summary":"Admins Add","operationId":"admins_add_superadmin_admins_add_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admins_add_superadmin_admins_add_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/admins/{aid}/toggle":{"post":{"summary":"Admins Toggle","operationId":"admins_toggle_superadmin_admins__aid__toggle_post","parameters":[{"name":"aid","in":"path","required":true,"schema":{"type":"string","title":"Aid"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admins_toggle_superadmin_admins__aid__toggle_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/admins/{aid}/role":{"post":{"summary":"Admins Role","operationId":"admins_role_superadmin_admins__aid__role_post","parameters":[{"name":"aid","in":"path","required":true,"schema":{"type":"string","title":"Aid"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admins_role_superadmin_admins__aid__role_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/logout":{"get":{"summary":"Logout","operationId":"logout_superadmin_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/superadmin/alertcount":{"get":{"summary":"Alert Count","operationId":"alert_count_superadmin_alertcount_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/superadmin/search":{"get":{"summary":"Search","operationId":"search_superadmin_search_get","parameters":[{"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"}}}}}}},"/superadmin/export/payments.csv":{"get":{"summary":"Export Payments","operationId":"export_payments_superadmin_export_payments_csv_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Status"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/export/merchants.csv":{"get":{"summary":"Export Merchants","operationId":"export_merchants_superadmin_export_merchants_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/superadmin/export/invoices.csv":{"get":{"summary":"Export Invoices","operationId":"export_invoices_superadmin_export_invoices_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/superadmin/run/reconcile":{"post":{"summary":"Run Reconcile","operationId":"run_reconcile_superadmin_run_reconcile_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_run_reconcile_superadmin_run_reconcile_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/impersonate/{mid}":{"post":{"summary":"Impersonate","operationId":"impersonate_superadmin_impersonate__mid__post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_impersonate_superadmin_impersonate__mid__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/expire/{charge_id}":{"post":{"summary":"Expire Charge","operationId":"expire_charge_superadmin_expire__charge_id__post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_expire_charge_superadmin_expire__charge_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/webhook/{charge_id}/resend":{"post":{"summary":"Admin Resend Webhook","operationId":"admin_resend_webhook_superadmin_webhook__charge_id__resend_post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_admin_resend_webhook_superadmin_webhook__charge_id__resend_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/password":{"post":{"summary":"Change Password","operationId":"change_password_superadmin_password_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_change_password_superadmin_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"}}}}}}},"/superadmin/announcement":{"post":{"summary":"Set Announcement","operationId":"set_announcement_superadmin_announcement_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_set_announcement_superadmin_announcement_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/merchant/{mid}/sweep-now":{"post":{"summary":"Merchant Sweep Now","operationId":"merchant_sweep_now_superadmin_merchant__mid__sweep_now_post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_merchant_sweep_now_superadmin_merchant__mid__sweep_now_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/settle/{charge_id}":{"post":{"summary":"Settle","operationId":"settle_superadmin_settle__charge_id__post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_settle_superadmin_settle__charge_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/sweep/{charge_id}/retry":{"post":{"summary":"Sweep Retry","operationId":"sweep_retry_superadmin_sweep__charge_id__retry_post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_sweep_retry_superadmin_sweep__charge_id__retry_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/merchant/{mid}/credit":{"post":{"summary":"M Credit","operationId":"m_credit_superadmin_merchant__mid__credit_post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_m_credit_superadmin_merchant__mid__credit_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/merchant/{mid}/debit":{"post":{"summary":"M Debit","operationId":"m_debit_superadmin_merchant__mid__debit_post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_m_debit_superadmin_merchant__mid__debit_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/merchant/{mid}/plan":{"post":{"summary":"M Plan","operationId":"m_plan_superadmin_merchant__mid__plan_post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_m_plan_superadmin_merchant__mid__plan_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/merchant/{mid}/fee":{"post":{"summary":"M Fee","operationId":"m_fee_superadmin_merchant__mid__fee_post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_m_fee_superadmin_merchant__mid__fee_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/merchant/{mid}/toggle":{"post":{"summary":"M Toggle","operationId":"m_toggle_superadmin_merchant__mid__toggle_post","parameters":[{"name":"mid","in":"path","required":true,"schema":{"type":"string","title":"Mid"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_m_toggle_superadmin_merchant__mid__toggle_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/edge/{eid}/resolve":{"post":{"summary":"Edge Resolve","operationId":"edge_resolve_superadmin_edge__eid__resolve_post","parameters":[{"name":"eid","in":"path","required":true,"schema":{"type":"string","title":"Eid"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_edge_resolve_superadmin_edge__eid__resolve_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin/edge/{eid}/credit":{"post":{"summary":"Edge Credit","operationId":"edge_credit_superadmin_edge__eid__credit_post","parameters":[{"name":"eid","in":"path","required":true,"schema":{"type":"string","title":"Eid"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_edge_credit_superadmin_edge__eid__credit_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/superadmin":{"get":{"summary":"Dashboard","operationId":"dashboard_superadmin_get","parameters":[{"name":"tab","in":"query","required":false,"schema":{"type":"string","default":"overview","title":"Tab"}},{"name":"m","in":"query","required":false,"schema":{"type":"string","default":"","title":"M"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Status"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Period"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"ran","in":"query","required":false,"schema":{"type":"string","default":"","title":"Ran"}},{"name":"c","in":"query","required":false,"schema":{"type":"string","default":"","title":"C"}},{"name":"f","in":"query","required":false,"schema":{"type":"string","default":"","title":"F"}},{"name":"msg","in":"query","required":false,"schema":{"type":"string","default":"","title":"Msg"}},{"name":"wf","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Wf"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/swap/rate":{"get":{"summary":"Swap Rate","operationId":"swap_rate_v1_swap_rate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/swap/create":{"post":{"summary":"Swap Create","operationId":"swap_create_v1_swap_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/swap/status/{sid}":{"get":{"summary":"Swap Status","operationId":"swap_status_v1_swap_status__sid__get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/config":{"get":{"tags":["payouts-noncustodial"],"summary":"Payouts Config","description":"Per-chain config the frontend needs to drive the merchant's ONE-TIME\napproval (what token to approve, which Permit2, which Router, our relayer, the\nchain id + RPC hint) and to show payout readiness. No secrets.","operationId":"payouts_config_v1_payouts_config_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/grant-permit":{"post":{"tags":["payouts-noncustodial"],"summary":"Grant Permit","description":"Merchant signed an EIP-2612 permit in their wallet (GASLESS). Our relayer\nsubmits it on-chain to set a standing router allowance; later /execute pulls via\ndisperseDirect. Fail-closed until the chain's Router is deployed (env set).","operationId":"grant_permit_v1_payouts_grant_permit_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantPermitIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/link-wallet":{"post":{"tags":["payouts-noncustodial"],"summary":"Link Wallet","description":"Store the merchant's OWN wallet that payout funds are pulled FROM, per\nchain family. Format-validated only (never proof of control — the proof is the\non-chain allowance the merchant later signs from that wallet).","operationId":"link_wallet_v1_payouts_link_wallet_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkWalletIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/unlink-wallet":{"post":{"tags":["payouts-noncustodial"],"summary":"Unlink Wallet","description":"Disconnect — forget the merchant's linked source wallet for a chain family.\n(On-chain allowances the merchant signed are unaffected; they revoke those in\ntheir own wallet. This only clears the address we store for convenience.)","operationId":"unlink_wallet_v1_payouts_unlink_wallet_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnlinkWalletIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/allowance":{"get":{"tags":["payouts-noncustodial"],"summary":"Allowance","description":"Read the CURRENT standing allowance to our Router for (chain, asset). Reads\nthe ``wallet`` query param if given (so the dashboard can show the allowance for\nthe just-connected wallet BEFORE it is linked — which only happens once the\nmerchant signs an approve, proving control), else the merchant's linked src.","operationId":"allowance_v1_payouts_allowance_get","parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string","title":"Chain"}},{"name":"asset","in":"query","required":true,"schema":{"type":"string","title":"Asset"}},{"name":"wallet","in":"query","required":false,"schema":{"type":"string","default":"","title":"Wallet"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/execute":{"post":{"tags":["payouts-noncustodial"],"summary":"Execute","description":"Trigger a bulk NON-CUSTODIAL payout: our relayer builds + submits\nrouter.disperse, pulling `asset` from the merchant's linked wallet to every\nrecipient + our fee, in ONE on-chain tx. NO custodial balance is debited.\n\nReturns {tx_hash, status, count, fee, chain, asset}. Records one Payout row per\nrecipient (kind='noncustodial', batch_tx=<tx_hash>, status='sent').","operationId":"execute_v1_payouts_execute_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts":{"post":{"tags":["payouts"],"summary":"Create Payout Endpoint","operationId":"create_payout_endpoint_v1_payouts_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["payouts"],"summary":"List Payouts","operationId":"list_payouts_v1_payouts_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/deposit-address":{"get":{"tags":["payouts"],"summary":"Deposit Address","description":"Return a dedicated HD deposit address to FUND the payout balance. The\nwatcher credits the (chain, asset) balance after DEPOSIT_MIN_CONFIRMATIONS.\n``asset`` is accepted for symmetry/clarity but the address is per-chain (one\naddress receives any token on that chain).","operationId":"deposit_address_v1_payouts_deposit_address_get","parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string","title":"Chain"}},{"name":"asset","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/balances":{"get":{"tags":["payouts"],"summary":"Balances","operationId":"balances_v1_payouts_balances_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/payouts/{payout_id}":{"get":{"tags":["payouts"],"summary":"Get Payout","operationId":"get_payout_v1_payouts__payout_id__get","parameters":[{"name":"payout_id","in":"path","required":true,"schema":{"type":"string","title":"Payout Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/networks":{"get":{"summary":"Networks","operationId":"networks_v1_networks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/charges":{"post":{"summary":"Create","operationId":"create_v1_charges_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChargeIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChargeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/checkout":{"post":{"summary":"Checkout Create","description":"Create a charge from the BROWSER (CORS-open). Returns only the id + pay_url — the\npublishable key can create a charge but never read/settle/payout. Pass ``link`` for a\ntamper-proof fixed-price checkout, or ``key``+amount+chain+asset for a raw amount\n(subject to the merchant's pk cap; re-verify the webhook amount for fixed prices).","operationId":"checkout_create_v1_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/new":{"get":{"summary":"Pay New","description":"Hosted payment link via query params (publishable key OR a fixed-price link id),\nredirecting to the hosted checkout. Registered BEFORE /pay/{charge_id}.","operationId":"pay_new_pay_new_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"type":"string","default":"","title":"Key"}},{"name":"link","in":"query","required":false,"schema":{"type":"string","default":"","title":"Link"}},{"name":"amount","in":"query","required":false,"schema":{"type":"string","default":"","title":"Amount"}},{"name":"chain","in":"query","required":false,"schema":{"type":"string","default":"","title":"Chain"}},{"name":"asset","in":"query","required":false,"schema":{"type":"string","default":"","title":"Asset"}},{"name":"order_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Order Id"}},{"name":"success_url","in":"query","required":false,"schema":{"type":"string","default":"","title":"Success Url"}},{"name":"embed","in":"query","required":false,"schema":{"type":"string","default":"","title":"Embed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/l/{link_id}":{"get":{"summary":"Pay Link","description":"Clean shareable URL for a fixed-price Payment Link: /l/plink_… → hosted checkout.","operationId":"pay_link_l__link_id__get","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"embed","in":"query","required":false,"schema":{"type":"string","default":"","title":"Embed"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/charges/{charge_id}":{"get":{"summary":"Get Charge","operationId":"get_charge_v1_charges__charge_id__get","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChargeOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/merchants":{"post":{"summary":"Create Merchant","operationId":"create_merchant_admin_merchants_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"List Merchants","operationId":"list_merchants_admin_merchants_get","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/charges":{"get":{"summary":"List Charges","operationId":"list_charges_admin_charges_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/charges/{charge_id}/settle":{"post":{"summary":"Admin Settle","operationId":"admin_settle_admin_charges__charge_id__settle_post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}},{"name":"received","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Received"}},{"name":"x-admin-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/{charge_id}/status":{"get":{"summary":"Pay Status","operationId":"pay_status_pay__charge_id__status_get","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/{charge_id}/refund-request":{"post":{"summary":"Pay Refund Request","description":"Expired-window refund: the payer leaves a wallet address to be refunded to.\n\nStored on the charge (metadata) and pushed to the merchant webhook (best effort,\nevent ``charge.refund_requested``) so the merchant can action it manually.","operationId":"pay_refund_request_pay__charge_id__refund_request_post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/{charge_id}/switch":{"post":{"summary":"Pay Switch","description":"Let the payer change network/coin ON the hosted page (no merchant key needed).\n\nMints a sibling charge for the SAME merchant / order / amount on the chosen\nchain+asset and returns its id so the page can reload onto it.","operationId":"pay_switch_pay__charge_id__switch_post","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchReq"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/{charge_id}":{"get":{"summary":"Pay Page","operationId":"pay_page_pay__charge_id__get","parameters":[{"name":"charge_id","in":"path","required":true,"schema":{"type":"string","title":"Charge 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":{"Body_admin_resend_webhook_superadmin_webhook__charge_id__resend_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_admin_resend_webhook_superadmin_webhook__charge_id__resend_post"},"Body_admins_add_superadmin_admins_add_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"role":{"type":"string","title":"Role","default":"support"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["username","password"],"title":"Body_admins_add_superadmin_admins_add_post"},"Body_admins_role_superadmin_admins__aid__role_post":{"properties":{"role":{"type":"string","title":"Role"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["role"],"title":"Body_admins_role_superadmin_admins__aid__role_post"},"Body_admins_toggle_superadmin_admins__aid__toggle_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_admins_toggle_superadmin_admins__aid__toggle_post"},"Body_change_password_superadmin_password_post":{"properties":{"current":{"type":"string","title":"Current"},"new":{"type":"string","title":"New"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["current","new"],"title":"Body_change_password_superadmin_password_post"},"Body_dash_2fa_enable_dashboard_2fa_enable_post":{"properties":{"code":{"type":"string","title":"Code","default":""}},"type":"object","title":"Body_dash_2fa_enable_dashboard_2fa_enable_post"},"Body_dash_acceptance_dashboard_acceptance_post":{"properties":{"acceptance_mode":{"type":"string","title":"Acceptance Mode","default":"managed"},"own_tron":{"type":"string","title":"Own Tron","default":""},"own_evm":{"type":"string","title":"Own Evm","default":""},"own_solana":{"type":"string","title":"Own Solana","default":""},"sweep_schedule":{"type":"string","title":"Sweep Schedule","default":"instant"},"payout_tron":{"type":"string","title":"Payout Tron","default":""},"payout_evm":{"type":"string","title":"Payout Evm","default":""},"payout_solana":{"type":"string","title":"Payout Solana","default":""},"payout_btc":{"type":"string","title":"Payout Btc","default":""},"payout_ltc":{"type":"string","title":"Payout Ltc","default":""},"payout_doge":{"type":"string","title":"Payout Doge","default":""},"payout_bch":{"type":"string","title":"Payout Bch","default":""},"payout_xmr":{"type":"string","title":"Payout Xmr","default":""}},"type":"object","title":"Body_dash_acceptance_dashboard_acceptance_post"},"Body_dash_billing_plan_dashboard_billing_plan_post":{"properties":{"plan":{"type":"string","title":"Plan"}},"type":"object","required":["plan"],"title":"Body_dash_billing_plan_dashboard_billing_plan_post"},"Body_dash_billing_topup_dashboard_billing_topup_post":{"properties":{"usd":{"type":"string","title":"Usd","default":"50"},"net":{"type":"string","title":"Net"}},"type":"object","required":["net"],"title":"Body_dash_billing_topup_dashboard_billing_topup_post"},"Body_dash_charge_dashboard_charge_post":{"properties":{"amount":{"type":"string","title":"Amount"},"net":{"type":"string","title":"Net"},"order_id":{"type":"string","title":"Order Id","default":""}},"type":"object","required":["amount","net"],"title":"Body_dash_charge_dashboard_charge_post"},"Body_dash_link_create_dashboard_links_create_post":{"properties":{"name":{"type":"string","title":"Name","default":""},"amount":{"type":"string","title":"Amount"},"net":{"type":"string","title":"Net","default":""},"order_id":{"type":"string","title":"Order Id","default":""},"success_url":{"type":"string","title":"Success Url","default":""}},"type":"object","required":["amount"],"title":"Body_dash_link_create_dashboard_links_create_post"},"Body_dash_password_dashboard_settings_password_post":{"properties":{"current_password":{"type":"string","title":"Current Password","default":""},"new_password":{"type":"string","title":"New Password","default":""},"confirm_password":{"type":"string","title":"Confirm Password","default":""}},"type":"object","title":"Body_dash_password_dashboard_settings_password_post"},"Body_dash_payout_dashboard_payout_post":{"properties":{"destination":{"type":"string","title":"Destination","default":""},"chain":{"type":"string","title":"Chain","default":""},"asset":{"type":"string","title":"Asset","default":""},"amount":{"type":"string","title":"Amount","default":""}},"type":"object","title":"Body_dash_payout_dashboard_payout_post"},"Body_dash_pk_cap_dashboard_api_pk_cap_post":{"properties":{"pk_max":{"type":"string","title":"Pk Max","default":""}},"type":"object","title":"Body_dash_pk_cap_dashboard_api_pk_cap_post"},"Body_dash_profile_dashboard_settings_profile_post":{"properties":{"business_name":{"type":"string","title":"Business Name","default":""},"email":{"type":"string","title":"Email","default":""}},"type":"object","title":"Body_dash_profile_dashboard_settings_profile_post"},"Body_dash_webhooks_dashboard_webhooks_post":{"properties":{"webhook_url":{"type":"string","title":"Webhook Url","default":""}},"type":"object","title":"Body_dash_webhooks_dashboard_webhooks_post"},"Body_edge_credit_superadmin_edge__eid__credit_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_edge_credit_superadmin_edge__eid__credit_post"},"Body_edge_resolve_superadmin_edge__eid__resolve_post":{"properties":{"note":{"type":"string","title":"Note","default":""},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_edge_resolve_superadmin_edge__eid__resolve_post"},"Body_expire_charge_superadmin_expire__charge_id__post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_expire_charge_superadmin_expire__charge_id__post"},"Body_forgot_forgot_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_forgot_forgot_post"},"Body_impersonate_superadmin_impersonate__mid__post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_impersonate_superadmin_impersonate__mid__post"},"Body_login_2fa_login_2fa_post":{"properties":{"code":{"type":"string","title":"Code","default":""}},"type":"object","title":"Body_login_2fa_login_2fa_post"},"Body_login_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"turnstile":{"type":"string","title":"Turnstile","default":""}},"type":"object","required":["email","password"],"title":"Body_login_login_post"},"Body_login_superadmin_login_post":{"properties":{"password":{"type":"string","title":"Password"},"code":{"type":"string","title":"Code","default":""},"username":{"type":"string","title":"Username","default":""}},"type":"object","required":["password"],"title":"Body_login_superadmin_login_post"},"Body_m_credit_superadmin_merchant__mid__credit_post":{"properties":{"amount":{"type":"string","title":"Amount"},"note":{"type":"string","title":"Note"},"code":{"type":"string","title":"Code","default":""},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["amount","note"],"title":"Body_m_credit_superadmin_merchant__mid__credit_post"},"Body_m_debit_superadmin_merchant__mid__debit_post":{"properties":{"amount":{"type":"string","title":"Amount"},"note":{"type":"string","title":"Note"},"code":{"type":"string","title":"Code","default":""},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["amount","note"],"title":"Body_m_debit_superadmin_merchant__mid__debit_post"},"Body_m_fee_superadmin_merchant__mid__fee_post":{"properties":{"fee_percent":{"type":"string","title":"Fee Percent"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["fee_percent"],"title":"Body_m_fee_superadmin_merchant__mid__fee_post"},"Body_m_plan_superadmin_merchant__mid__plan_post":{"properties":{"plan":{"type":"string","title":"Plan"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["plan"],"title":"Body_m_plan_superadmin_merchant__mid__plan_post"},"Body_m_toggle_superadmin_merchant__mid__toggle_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_m_toggle_superadmin_merchant__mid__toggle_post"},"Body_merchant_sweep_now_superadmin_merchant__mid__sweep_now_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_merchant_sweep_now_superadmin_merchant__mid__sweep_now_post"},"Body_reset_reset_post":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","title":"Password"}},"type":"object","required":["token","password"],"title":"Body_reset_reset_post"},"Body_run_reconcile_superadmin_run_reconcile_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_run_reconcile_superadmin_run_reconcile_post"},"Body_set_announcement_superadmin_announcement_post":{"properties":{"message":{"type":"string","title":"Message","default":""},"level":{"type":"string","title":"Level","default":"info"},"action":{"type":"string","title":"Action","default":"save"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_set_announcement_superadmin_announcement_post"},"Body_settle_superadmin_settle__charge_id__post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_settle_superadmin_settle__charge_id__post"},"Body_signup_signup_post":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"plan":{"type":"string","title":"Plan","default":""},"turnstile":{"type":"string","title":"Turnstile","default":""}},"type":"object","required":["name","email","password"],"title":"Body_signup_signup_post"},"Body_sweep_retry_superadmin_sweep__charge_id__retry_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_sweep_retry_superadmin_sweep__charge_id__retry_post"},"Body_tfa_disable_superadmin_2fa_disable_post":{"properties":{"code":{"type":"string","title":"Code"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["code"],"title":"Body_tfa_disable_superadmin_2fa_disable_post"},"Body_tfa_enable_superadmin_2fa_enable_post":{"properties":{"code":{"type":"string","title":"Code"},"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","required":["code"],"title":"Body_tfa_enable_superadmin_2fa_enable_post"},"Body_tfa_setup_superadmin_2fa_setup_post":{"properties":{"csrf_tok":{"type":"string","title":"Csrf Tok","default":""}},"type":"object","title":"Body_tfa_setup_superadmin_2fa_setup_post"},"ChargeIn":{"properties":{"amount_usd":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Amount Usd"},"chain":{"type":"string","title":"Chain"},"asset":{"type":"string","title":"Asset"},"order_id":{"anyOf":[{"type":"string","maxLength":191},{"type":"null"}],"title":"Order Id"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["amount_usd","chain","asset"],"title":"ChargeIn"},"ChargeOut":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"amount_usd":{"type":"string","title":"Amount Usd"},"expected_amount":{"type":"string","title":"Expected Amount"},"asset":{"type":"string","title":"Asset"},"chain":{"type":"string","title":"Chain"},"network":{"type":"string","title":"Network"},"address":{"type":"string","title":"Address"},"order_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Order Id"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"pay_url":{"type":"string","title":"Pay Url"},"expires_at":{"type":"string","title":"Expires At"},"qr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Qr"}},"type":"object","required":["id","status","amount_usd","expected_amount","asset","chain","network","address","order_id","tx_hash","pay_url","expires_at"],"title":"ChargeOut"},"CheckoutIn":{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"link":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Link"},"amount_usd":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"},{"type":"null"}],"title":"Amount Usd"},"chain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chain"},"asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset"},"order_id":{"anyOf":[{"type":"string","maxLength":191},{"type":"null"}],"title":"Order Id"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"success_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Success Url"}},"type":"object","title":"CheckoutIn"},"ExecuteIn":{"properties":{"chain":{"type":"string","maxLength":16,"minLength":2,"title":"Chain"},"asset":{"type":"string","maxLength":16,"minLength":2,"title":"Asset"},"recipients":{"items":{"$ref":"#/components/schemas/RecipientIn"},"type":"array","minItems":1,"title":"Recipients"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Idempotency Key"},"permit":{"anyOf":[{"$ref":"#/components/schemas/PermitIn"},{"type":"null"}]}},"type":"object","required":["chain","asset","recipients"],"title":"ExecuteIn"},"GrantPermitIn":{"properties":{"chain":{"type":"string","maxLength":16,"minLength":2,"title":"Chain"},"asset":{"type":"string","maxLength":16,"minLength":2,"title":"Asset"},"owner":{"type":"string","maxLength":80,"minLength":10,"title":"Owner"},"value":{"type":"integer","exclusiveMinimum":0.0,"title":"Value"},"deadline":{"type":"integer","exclusiveMinimum":0.0,"title":"Deadline"},"v":{"type":"integer","maximum":28.0,"minimum":0.0,"title":"V"},"r":{"type":"string","maxLength":66,"minLength":64,"title":"R"},"s":{"type":"string","maxLength":66,"minLength":64,"title":"S"}},"type":"object","required":["chain","asset","owner","value","deadline","v","r","s"],"title":"GrantPermitIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LinkWalletIn":{"properties":{"chain_family":{"type":"string","maxLength":8,"minLength":3,"title":"Chain Family"},"address":{"type":"string","maxLength":120,"minLength":6,"title":"Address"}},"type":"object","required":["chain_family","address"],"title":"LinkWalletIn"},"MerchantIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"}},"type":"object","required":["name"],"title":"MerchantIn"},"PayoutIn":{"properties":{"chain":{"type":"string","maxLength":16,"minLength":2,"title":"Chain"},"asset":{"type":"string","maxLength":16,"minLength":2,"title":"Asset"},"destination":{"type":"string","maxLength":120,"minLength":6,"title":"Destination"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Amount"},"idempotency_key":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["chain","asset","destination","amount"],"title":"PayoutIn"},"PayoutOut":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"chain":{"type":"string","title":"Chain"},"asset":{"type":"string","title":"Asset"},"destination":{"type":"string","title":"Destination"},"amount":{"type":"string","title":"Amount"},"fee":{"type":"string","title":"Fee"},"tx_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tx Hash"},"idempotency_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency Key"},"created_at":{"type":"string","title":"Created At"},"sent_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent At"}},"type":"object","required":["id","status","chain","asset","destination","amount","fee","tx_hash","idempotency_key","created_at","sent_at"],"title":"PayoutOut"},"PermitIn":{"properties":{"value":{"type":"integer","exclusiveMinimum":0.0,"title":"Value"},"deadline":{"type":"integer","exclusiveMinimum":0.0,"title":"Deadline"},"v":{"type":"integer","maximum":28.0,"minimum":0.0,"title":"V"},"r":{"type":"string","maxLength":66,"minLength":64,"title":"R"},"s":{"type":"string","maxLength":66,"minLength":64,"title":"S"}},"type":"object","required":["value","deadline","v","r","s"],"title":"PermitIn","description":"Optional EIP-2612 permit (EVM only). The merchant signs this in their wallet\n(GASLESS — no on-chain approve); our relayer submits it inside disperseWithPermit\nwhich sets the router allowance and disperses in one tx. `value` is the signed\nallowance in the token's SMALLEST units (must match the signature verbatim)."},"RecipientIn":{"properties":{"address":{"type":"string","maxLength":120,"minLength":6,"title":"Address"},"amount":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Amount"}},"type":"object","required":["address","amount"],"title":"RecipientIn"},"RefundReq":{"properties":{"address":{"type":"string","maxLength":400,"minLength":6,"title":"Address"}},"type":"object","required":["address"],"title":"RefundReq"},"SwapCreate":{"properties":{"from":{"type":"string","title":"From"},"to":{"type":"string","title":"To"},"amount":{"type":"string","title":"Amount"},"addressReceive":{"type":"string","title":"Addressreceive"},"quotaId":{"type":"string","title":"Quotaid"},"refundAddress":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refundaddress","default":""},"extraId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extraid","default":""}},"type":"object","required":["from","to","amount","addressReceive","quotaId"],"title":"SwapCreate"},"SwitchReq":{"properties":{"chain":{"type":"string","maxLength":16,"minLength":2,"title":"Chain"},"asset":{"type":"string","maxLength":16,"minLength":2,"title":"Asset"}},"type":"object","required":["chain","asset"],"title":"SwitchReq"},"UnlinkWalletIn":{"properties":{"chain_family":{"type":"string","maxLength":10,"minLength":2,"title":"Chain Family"}},"type":"object","required":["chain_family"],"title":"UnlinkWalletIn"},"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"}}}}