@amos.com/node 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/index.d.mts +33 -136
- package/dist/index.d.ts +33 -136
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +32 -135
- package/package.json +4 -4
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../openapi/schema.ts"],"sourcesContent":["import createClient, {\n type ClientOptions,\n type Middleware,\n} from \"openapi-fetch\";\nimport type { paths } from \"../openapi/schema\";\n\nexport * from \"../openapi/schema\";\n\nexport const PAY_API_BASE_URL_PRODUCTION = \"https://pay.amos.com\";\nexport const PAY_API_BASE_URL_SANDBOX = \"https://pay-sandbox.amos.com\";\nexport const PAY_API_VERSION = \"1\";\n\n/**\n * Create a typed `openapi-fetch` client for the Amos Pay API.\n *\n * The returned client exposes `GET`, `POST`, `PUT`, `DELETE`, etc., each\n * fully typed against the OpenAPI spec — paths, path/query/header params,\n * request bodies, and response bodies are all checked at compile time.\n *\n * Provide credentials and the required `X-Api-Version` header either as\n * default `headers` here or via `params.header` on each call. Use\n * `client.use(middleware)` to add per-request behavior such as fresh\n * idempotency keys.\n *\n * @example\n * ```ts\n * import {\n * createPayApiClient,\n * PAY_API_BASE_URL_SANDBOX,\n * PAY_API_VERSION,\n * } from \"@amos.com/node\";\n *\n * const pay = createPayApiClient({\n * baseUrl: PAY_API_BASE_URL_SANDBOX,\n * headers: {\n * \"X-Api-Key\": process.env.AMOS_API_KEY!,\n * \"X-Api-Version\": PAY_API_VERSION,\n * },\n * });\n *\n * const { data, error } = await pay.POST(\"/customers\", {\n * params: { header: { \"X-Api-Version\": PAY_API_VERSION } },\n * body: { customer: { email: \"alex@example.com\" } },\n * });\n * ```\n */\nexport function createPayApiClient(options: ClientOptions) {\n return createClient<paths>(options);\n}\n\n/** A configured Amos Pay API client returned by {@link createPayApiClient}. */\nexport type PayApiClient = ReturnType<typeof createPayApiClient>;\n\nexport type { ClientOptions, Middleware };\n","/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n \"/accounts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all accounts */\n get: operations[\"ListAccounts\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/accounts/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve an account by ID */\n get: operations[\"GetAccount\"];\n /** Update an account by ID */\n put: operations[\"UpdateAccount\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/charges\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all charges */\n get: operations[\"ListCharges\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/charges/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a charge */\n get: operations[\"GetCharge\"];\n /** Update a charge */\n put: operations[\"UpdateCharge\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/customers\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all customers */\n get: operations[\"ListCustomers\"];\n put?: never;\n /** Create a new customer */\n post: operations[\"CreateCustomer\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/customers/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a customer by ID */\n get: operations[\"GetCustomer\"];\n /** Update a customer by ID */\n put: operations[\"UpdateCustomer\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/external_accounts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all external accounts */\n get: operations[\"ListExternalAccounts\"];\n put?: never;\n /** Create an external account */\n post: operations[\"CreateExternalAccount\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/external_accounts/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve an external account by ID */\n get: operations[\"GetExternalAccount\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/file_uploads\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a file upload */\n post: operations[\"CreateFileUpload\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/file_uploads/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a file upload by ID */\n get: operations[\"GetFileUpload\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/file_uploads/{id}/complete\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Complete a file upload */\n post: operations[\"CompleteFileUpload\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_application_documents\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all legal entity application documents */\n get: operations[\"ListLegalEntityApplicationDocuments\"];\n put?: never;\n /** Create a legal entity application document */\n post: operations[\"CreateLegalEntityApplicationDocument\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entities\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all legal entities */\n get: operations[\"ListLegalEntities\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entities/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity by ID */\n get: operations[\"GetLegalEntity\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a legal entity application */\n post: operations[\"CreateLegalEntityApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity application by ID */\n get: operations[\"GetLegalEntityApplication\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications/{id}/submit\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Submit a legal entity application */\n post: operations[\"SubmitLegalEntityApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications/{id}/approve\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Approve a legal entity application */\n post: operations[\"ApproveLegalEntityApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_application_principals\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a legal entity application principal */\n post: operations[\"CreateLegalEntityApplicationPrincipal\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_application_principals/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity application principal by ID */\n get: operations[\"GetLegalEntityApplicationPrincipal\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_principals\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all legal entity principals */\n get: operations[\"ListLegalEntityPrincipals\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_principals/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity principal by ID */\n get: operations[\"GetLegalEntityPrincipal\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchant_applications\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a merchant application */\n post: operations[\"CreateMerchantApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchant_applications/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a merchant application by ID */\n get: operations[\"GetMerchantApplication\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchants\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all merchants */\n get: operations[\"ListMerchants\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchants/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a merchant by ID */\n get: operations[\"GetMerchant\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/origins\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all origins */\n get: operations[\"ListOrigins\"];\n put?: never;\n /** Create a new origin */\n post: operations[\"CreateOrigin\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/payment_intents/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payment intent by ID */\n get: operations[\"GetEmbedPaymentIntent\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/payment_intents/{id}/confirm\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Confirm a payment intent */\n post: operations[\"ConfirmEmbedPaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/payment_intents/{id}/confirm_with_payment_method\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Confirm a payment intent with a new payment method */\n post: operations[\"ConfirmEmbedPaymentIntentWithPaymentMethod\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List payment intents */\n get: operations[\"ListPaymentIntents\"];\n put?: never;\n /** Create a new payment intent */\n post: operations[\"CreatePaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_links\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List payment links */\n get: operations[\"ListPaymentLinks\"];\n put?: never;\n /** Create a new payment link */\n post: operations[\"CreatePaymentLink\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payment intent by ID */\n get: operations[\"GetPaymentIntent\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents/{id}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Cancel a payment intent */\n post: operations[\"CancelPaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents/{id}/capture\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Capture a payment intent */\n post: operations[\"CapturePaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_methods\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all payment methods */\n get: operations[\"ListPaymentMethods\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_methods/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payment method */\n get: operations[\"GetPaymentMethod\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payouts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all payouts */\n get: operations[\"ListPayouts\"];\n put?: never;\n /** Create a payout */\n post: operations[\"CreatePayout\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payouts/bulk_create\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Bulk create payouts */\n post: operations[\"BulkCreatePayouts\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payouts/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payout by ID */\n get: operations[\"GetPayout\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/processor_transactions\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all processor transactions */\n get: operations[\"ListProcessorTransactions\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/products\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all products */\n get: operations[\"ListProducts\"];\n put?: never;\n /** Create a new product */\n post: operations[\"CreateProduct\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/products/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Update a product by ID */\n put: operations[\"UpdateProduct\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/refunds\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all refunds */\n get: operations[\"ListRefunds\"];\n put?: never;\n /** Create a refund */\n post: operations[\"CreateRefund\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/refunds/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a refund by ID */\n get: operations[\"GetRefund\"];\n /** Update a refund */\n put: operations[\"UpdateRefund\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/refunds/{id}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Cancel a refund */\n put: operations[\"CancelRefund\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/render_templates\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all render templates */\n get: operations[\"ListRenderTemplates\"];\n put?: never;\n /** Create a new render template */\n post: operations[\"CreateRenderTemplate\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/render_templates/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a render template by ID */\n get: operations[\"GetRenderTemplate\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/render_templates/{id}/token\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a render token for render template */\n post: operations[\"CreateRenderToken\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/setup_intents/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a setup intent by ID */\n get: operations[\"GetSetupIntent\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/setup_intents/{id}/confirm\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Confirm a setup intent */\n post: operations[\"ConfirmSetupIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/setup_intents/{id}/confirm_with_payment_method\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Confirm a setup intent with a new payment method */\n post: operations[\"ConfirmSetupIntentWithPaymentMethod\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/setup_intents\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a new setup intent */\n post: operations[\"CreateSetupIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscription_plans\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all subscription plans */\n get: operations[\"ListSubscriptionPlans\"];\n put?: never;\n /** Create a new subscription plan */\n post: operations[\"CreateSubscriptionPlan\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscription_plans/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a subscription plan by ID */\n get: operations[\"GetSubscriptionPlan\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all subscriptions */\n get: operations[\"ListSubscriptions\"];\n put?: never;\n /** Create a new subscription */\n post: operations[\"CreateSubscription\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a subscription by ID */\n get: operations[\"GetSubscription\"];\n /** Update a subscription by ID */\n put: operations[\"UpdateSubscription\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions/{id}/skip\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Skip subscription billing periods by ID */\n put: operations[\"SkipSubscription\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions/{id}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Cancel a subscription by ID */\n put: operations[\"CancelSubscription\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/voids\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all voids */\n get: operations[\"ListVoids\"];\n put?: never;\n /** Create a void */\n post: operations[\"CreateVoid\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/voids/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a void by ID */\n get: operations[\"GetVoid\"];\n /** Update a void */\n put: operations[\"UpdateVoid\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_attempts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all webhook attempts */\n get: operations[\"ListWebhookAttempts\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_endpoints\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all webhook endpoints */\n get: operations[\"ListWebhookEndpoints\"];\n put?: never;\n /** Create a webhook endpoint */\n post: operations[\"CreateWebhookEndpoint\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_endpoints/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a webhook endpoint by ID */\n get: operations[\"GetWebhookEndpoint\"];\n /** Update a webhook endpoint by ID */\n put: operations[\"UpdateWebhookEndpoint\"];\n post?: never;\n /** Delete a webhook endpoint by ID */\n delete: operations[\"DeleteWebhookEndpoint\"];\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_requests\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all webhook requests */\n get: operations[\"ListWebhookRequests\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_requests/{id}/resend\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Resend webhook request by ID */\n post: operations[\"ResendWebhookRequest\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_requests/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Get webhook request by ID */\n get: operations[\"RetrieveWebhookRequest\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n}\nexport type webhooks = Record<string, never>;\nexport interface components {\n schemas: {\n Meta: {\n current_page?: number;\n prev_page?: number | null;\n next_page?: number | null;\n first_page?: boolean;\n };\n /**\n * Metadata\n * @description Additional metadata key-value pairs\n */\n Metadata: {\n [key: string]: string | null;\n };\n Error: {\n errors: {\n [key: string]: string[];\n };\n };\n /** @description Decoded JWT payload for embed token responses. */\n EmbedTokenJwt: {\n /** Format: uuid */\n account_id?: string;\n /** Format: uuid */\n payment_intent_id?: string | null;\n /** Format: uuid */\n setup_intent_id?: string | null;\n };\n /** @description Decoded JWT payload for render token responses. */\n RenderTokenJwt: {\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n env?: string;\n origins?: string[];\n /** Format: uuid */\n render_template_id?: string;\n };\n EmbedToken: {\n /** @description JWT string used for embedded payment and setup intent flows. When decoded, the JWT payload matches the EmbedTokenJwt schema. */\n token?: string;\n ttl?: number;\n };\n RenderToken: {\n /** @description JWT string used for render template initialization. When decoded, the JWT payload matches the RenderTokenJwt schema. */\n token?: string;\n ttl?: number;\n };\n BankAccountProfileInput: {\n account_holder_name?: string;\n account_holder_type?: string;\n account_type?: string;\n bank_name?: string;\n currency?: string;\n encrypted_account_number?: string;\n routing_number?: string;\n };\n BankAccountProfile: {\n account_holder_name?: string;\n account_holder_type?: string;\n account_type?: string;\n bank_name?: string;\n fingerprint?: string | null;\n last4?: string;\n routing_number?: string;\n state?: string;\n token?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n BillingAddressInput: {\n address_line1?: string;\n address_line2?: string | null;\n city?: string;\n country?: string;\n email?: string;\n name?: string;\n phone?: string;\n postal_code?: string;\n state?: string;\n };\n BillingAddress: {\n address_line1?: string;\n address_line2?: string | null;\n city?: string;\n country?: string;\n email?: string;\n name?: string;\n phone?: string;\n postal_code?: string;\n state?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CardProfileInput: {\n card_holder_name?: string;\n cvc?: string;\n encrypted_card_number?: string;\n exp_month?: number;\n exp_year?: number;\n moto?: boolean;\n };\n GooglePayCardProfileInput: {\n wallet_brand?: string;\n wallet_last4?: string;\n wallet_payload?: string;\n wallet_provider?: components[\"schemas\"][\"WalletProviderType\"];\n };\n CardProfile: {\n avs_check?: string;\n avs_check_message?: string | null;\n brand?: string;\n card_holder_name?: string;\n cvc_check?: string;\n cvc_check_message?: string | null;\n exp_month?: number;\n exp_year?: number;\n first6?: string;\n funding?: string | null;\n fingerprint?: string | null;\n last4?: string;\n state?: string;\n three_d_secure_supported?: boolean | null;\n token?: string;\n wallet_provider?: components[\"schemas\"][\"WalletProviderType\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n UpdateAccountInput: {\n mcc?: string;\n };\n UpdateAccountRequest: {\n account: components[\"schemas\"][\"UpdateAccountInput\"];\n };\n Account: {\n /** Format: uuid */\n id?: string;\n name?: string;\n active?: boolean;\n /** Format: uuid */\n merchant_id?: string;\n /** Format: uuid */\n processor_id?: string;\n worldpay_mid?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n Charge: {\n id?: string;\n /** Format: uuid */\n account_id?: string;\n adjustment_reason?: string;\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n failure_code?: string | null;\n failure_reason?: string | null;\n /** @enum {string|null} */\n allowed_reverse_action?: \"void\" | \"refund\" | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n original_transaction_id?: string;\n /** Format: uuid */\n parent_transaction_id?: string;\n /** Format: uuid */\n payment_intent_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n platform_fee?: number;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n /** @enum {string} */\n state?: \"cancelled\" | \"errored\" | \"failed\" | \"processing\" | \"requires_capture\" | \"requires_confirmation\" | \"requires_review\" | \"settlement_failed\" | \"succeeded\";\n statement_descriptor?: string;\n /** Format: date-time */\n succeeded_at?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateCustomerInput: {\n /** Format: uuid */\n account_id?: string;\n name?: string;\n email?: string;\n phone?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateCustomerRequest: {\n customer: components[\"schemas\"][\"CreateCustomerInput\"];\n };\n UpdateCustomerInput: {\n email?: string;\n name?: string;\n /** Format: uuid */\n payment_method_id?: string;\n phone?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateCustomerRequest: {\n customer: components[\"schemas\"][\"UpdateCustomerInput\"];\n };\n Customer: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n email?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n name?: string;\n /** Format: uuid */\n payment_method_id?: string;\n phone?: string;\n type?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateExternalAccountInput: {\n metadata?: components[\"schemas\"][\"Metadata\"];\n external_billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n external_bank_account_profile_attributes?: components[\"schemas\"][\"BankAccountProfileInput\"];\n external_card_profile_attributes?: components[\"schemas\"][\"CardProfileInput\"];\n };\n CreateExternalAccountRequest: {\n external_account: components[\"schemas\"][\"CreateExternalAccountInput\"];\n };\n ExternalAccount: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** @enum {string} */\n type?: \"external_card\" | \"external_bank_account\";\n external_bank_account_profile?: components[\"schemas\"][\"BankAccountProfile\"];\n external_card_profile?: components[\"schemas\"][\"CardProfile\"];\n external_billing_address?: components[\"schemas\"][\"BillingAddress\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateFileUploadInput: {\n content_type: string;\n file_name: string;\n purpose: string;\n };\n CreateFileUploadRequest: {\n file: components[\"schemas\"][\"CreateFileUploadInput\"];\n };\n FileDownload: {\n /** Format: uuid */\n id: string;\n content_type: string;\n file_name: string;\n purpose: string;\n state: string;\n download: components[\"schemas\"][\"FileDownloadConfiguration\"];\n };\n FileDownloadConfiguration: {\n /** Format: uri */\n url: string;\n method: string;\n /** Format: date-time */\n expires_at: string;\n };\n FileUpload: {\n /** Format: uuid */\n id: string;\n content_type: string;\n file_name: string;\n purpose: string;\n state: string;\n upload: components[\"schemas\"][\"FileUploadConfiguration\"];\n };\n FileUploadConfiguration: {\n /** Format: uri */\n url: string;\n method: string;\n headers: {\n [key: string]: string;\n };\n /** Format: date-time */\n expires_at: string;\n };\n CreateLegalEntityApplicationDocumentInput: {\n /** Format: uuid */\n legal_entity_application_id?: string;\n document_type?: components[\"schemas\"][\"LegalEntityDocumentType\"];\n /** Format: uuid */\n file_upload_id?: string;\n };\n CreateLegalEntityApplicationDocumentRequest: {\n legal_entity_application_document: components[\"schemas\"][\"CreateLegalEntityApplicationDocumentInput\"];\n };\n LegalEntityApplicationDocument: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n legal_entity_application_id?: string;\n document_type?: components[\"schemas\"][\"LegalEntityDocumentType\"];\n /** Format: uuid */\n file_upload_id?: string;\n file_name?: string;\n byte_size?: number;\n /** Format: date-time */\n created_at?: string;\n };\n CreateLegalEntityApplicationPrincipalInput: {\n /** Format: uuid */\n legal_entity_application_id?: string;\n title?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n tax_id?: string;\n date_of_birth?: string;\n address_line1?: string;\n address_line2?: string;\n city?: string;\n state?: string;\n country?: string;\n postal_code?: string;\n stake_percent?: number;\n contact_phone?: string;\n };\n CreateLegalEntityApplicationPrincipalRequest: {\n legal_entity_application_principal: components[\"schemas\"][\"CreateLegalEntityApplicationPrincipalInput\"];\n };\n LegalEntityApplicationPrincipal: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n legal_entity_application_id?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n date_of_birth?: string;\n address_line1?: string;\n address_line2?: string;\n city?: string;\n state?: string;\n country?: string;\n postal_code?: string;\n stake_percent?: number;\n contact_phone?: string;\n tax_id_last4?: string;\n title?: string;\n };\n LegalEntityPrincipal: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n title?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n date_of_birth?: string;\n address_line1?: string;\n address_line2?: string;\n city?: string;\n state?: string;\n country?: string;\n postal_code?: string;\n contact_phone?: string;\n tax_id_last4?: string;\n };\n /** @enum {string} */\n LegalEntityEntityType: \"individual_sole_proprietorship\" | \"corporation\" | \"limited_liability_company\" | \"partnership\" | \"limited_partnership\" | \"general_partnership\" | \"tax_exempt_organization\" | \"government_agency\";\n /** @enum {string} */\n LegalEntityOwnershipType: \"public\" | \"private\";\n /** @enum {string} */\n LegalEntityDocumentType: \"irs_cp_575\";\n /** @enum {string} */\n MerchantBusinessCategoryType: \"business_association\" | \"charity\" | \"church\" | \"county\" | \"federal\" | \"fraternal_org\" | \"government\" | \"higher_education\" | \"k12\" | \"labor_union\" | \"local\" | \"ministry\" | \"pac\" | \"parachurch\" | \"party\" | \"preschool\" | \"social_club\" | \"social_welfare\" | \"state\" | \"tribal\" | \"vendor\" | \"veterans_org\";\n /** @enum {string} */\n PaymentLinkAmountType: \"fixed\" | \"open\";\n /** @enum {string} */\n PaymentMethodType: \"card\" | \"bank_account\" | \"googlepay\" | \"applepay\";\n /** @description Payment method details used when confirming an embedded intent with a new payment method. */\n EmbedConfirmPaymentMethodInput: components[\"schemas\"][\"EmbedConfirmCardPaymentMethodInput\"] | components[\"schemas\"][\"EmbedConfirmBankAccountPaymentMethodInput\"] | components[\"schemas\"][\"EmbedConfirmGooglePayPaymentMethodInput\"] | components[\"schemas\"][\"EmbedConfirmApplePayPaymentMethodInput\"];\n EmbedConfirmCardPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"card\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes: components[\"schemas\"][\"CardProfileInput\"];\n };\n EmbedConfirmBankAccountPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"bank_account\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n bank_account_profile_attributes: components[\"schemas\"][\"BankAccountProfileInput\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n };\n EmbedConfirmGooglePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"googlepay\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes: components[\"schemas\"][\"GooglePayCardProfileInput\"];\n };\n EmbedConfirmApplePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"applepay\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes: components[\"schemas\"][\"CardProfileInput\"];\n };\n AllowedCardPaymentMethodOptions: {\n moto?: boolean;\n };\n /** @description No configurable options for bank account payment methods. */\n AllowedBankAccountPaymentMethodOptions: Record<string, never>;\n /** @description No configurable options for Google Pay payment methods. */\n AllowedGooglePayPaymentMethodOptions: Record<string, never>;\n /** @description No configurable options for Apple Pay payment methods. */\n AllowedApplePayPaymentMethodOptions: Record<string, never>;\n AllowedCardPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"card\";\n options?: components[\"schemas\"][\"AllowedCardPaymentMethodOptions\"];\n };\n AllowedBankAccountPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"bank_account\";\n options?: components[\"schemas\"][\"AllowedBankAccountPaymentMethodOptions\"];\n };\n AllowedGooglePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"googlepay\";\n options?: components[\"schemas\"][\"AllowedGooglePayPaymentMethodOptions\"];\n };\n AllowedApplePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"applepay\";\n options?: components[\"schemas\"][\"AllowedApplePayPaymentMethodOptions\"];\n };\n /** @description Payment method allowed on a render template, payment link, or merchant application. */\n AllowedPaymentMethodInput: components[\"schemas\"][\"AllowedCardPaymentMethodInput\"] | components[\"schemas\"][\"AllowedBankAccountPaymentMethodInput\"] | components[\"schemas\"][\"AllowedGooglePayPaymentMethodInput\"] | components[\"schemas\"][\"AllowedApplePayPaymentMethodInput\"];\n AllowedCardPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"card\";\n options: components[\"schemas\"][\"AllowedCardPaymentMethodOptions\"];\n };\n AllowedBankAccountPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"bank_account\";\n options: components[\"schemas\"][\"AllowedBankAccountPaymentMethodOptions\"];\n };\n AllowedGooglePayPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"googlepay\";\n options: components[\"schemas\"][\"AllowedGooglePayPaymentMethodOptions\"];\n };\n AllowedApplePayPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"applepay\";\n options: components[\"schemas\"][\"AllowedApplePayPaymentMethodOptions\"];\n };\n /** @description Allowed payment method returned in API responses and render token JWT payloads. */\n AllowedPaymentMethod: components[\"schemas\"][\"AllowedCardPaymentMethod\"] | components[\"schemas\"][\"AllowedBankAccountPaymentMethod\"] | components[\"schemas\"][\"AllowedGooglePayPaymentMethod\"] | components[\"schemas\"][\"AllowedApplePayPaymentMethod\"];\n /** @enum {string} */\n PayoutDirectionType: \"credit\" | \"debit\";\n /** @enum {string} */\n PayoutStateType: \"pending\" | \"processing\" | \"succeeded\" | \"failed\" | \"errored\" | \"accepted\" | \"rejected\";\n /** @enum {string} */\n RefundStateType: \"pending\" | \"processing\" | \"requires_review\" | \"succeeded\" | \"cancelled\" | \"failed\";\n /** @enum {string} */\n SubscriptionIntervalType: \"day\" | \"week\" | \"month\" | \"year\";\n /** @enum {string} */\n SubscriptionPlanType: \"fixed\" | \"variable\";\n /** @enum {string} */\n TransactionSourceType: \"api\" | \"dashboard\" | \"iframe\" | \"system\" | \"subscription\";\n /** @enum {string} */\n WalletProviderType: \"googlepay\" | \"applepay\";\n /** @enum {string} */\n WebhookEventType: \"charge.cancelled\" | \"charge.created\" | \"charge.errored\" | \"charge.failed\" | \"charge.processing\" | \"charge.requires_capture\" | \"charge.requires_confirmation\" | \"charge.requires_review\" | \"charge.settlement_failed\" | \"charge.succeeded\" | \"customer.created\" | \"customer.updated\" | \"legal_entity.created\" | \"legal_entity.updated\" | \"legal_entity_principal.created\" | \"legal_entity_principal.updated\" | \"legal_entity_application.approved\" | \"legal_entity_application.denied\" | \"legal_entity_application.needs_information\" | \"legal_entity_application.pending\" | \"legal_entity_application.submitted\" | \"merchant.created\" | \"merchant.updated\" | \"payment_intent.cancelled\" | \"payment_intent.created\" | \"payment_intent.errored_authorization\" | \"payment_intent.errored_capture\" | \"payment_intent.errored_sale\" | \"payment_intent.processing_authorization\" | \"payment_intent.processing_capture\" | \"payment_intent.processing_sale\" | \"payment_intent.requires_capture\" | \"payment_intent.requires_confirmation\" | \"payment_intent.requires_payment_method\" | \"payment_intent.requires_review\" | \"payment_intent.succeeded\" | \"processor_transaction.completed\" | \"reconciliation.created\" | \"refund.cancelled\" | \"refund.created\" | \"refund.failed\" | \"refund.pending\" | \"refund.processing\" | \"refund.requires_review\" | \"refund.succeeded\" | \"void.created\" | \"void.failed\" | \"void.pending\" | \"void.processing\" | \"void.requires_review\" | \"void.succeeded\";\n CreateLegalEntityApplicationInput: {\n legal_name?: string;\n entity_type?: components[\"schemas\"][\"LegalEntityEntityType\"];\n ownership_type?: components[\"schemas\"][\"LegalEntityOwnershipType\"];\n tax_id?: string;\n contact_email?: string;\n contact_phone?: string;\n business_address_line1?: string;\n business_address_line2?: string;\n business_city?: string;\n business_state?: string;\n business_postal_code?: string;\n business_country?: string;\n };\n CreateLegalEntityApplicationRequest: {\n legal_entity_application: components[\"schemas\"][\"CreateLegalEntityApplicationInput\"];\n };\n LegalEntityApplicationRequirement: {\n /** Format: uuid */\n id?: string;\n requirement_type?: string;\n state?: string;\n message?: string;\n reason_code?: string | null;\n /** Format: date-time */\n satisfied_at?: string | null;\n /** Format: date-time */\n waived_at?: string | null;\n };\n LegalEntity: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n organization_id?: string;\n legal_name?: string;\n /** Format: uuid */\n parent_legal_entity_id?: string | null;\n entity_type?: components[\"schemas\"][\"LegalEntityEntityType\"];\n ownership_type?: components[\"schemas\"][\"LegalEntityOwnershipType\"];\n contact_email?: string;\n contact_phone?: string;\n business_address_line1?: string;\n business_address_line2?: string | null;\n business_city?: string;\n business_state?: string;\n business_postal_code?: string;\n business_country?: string;\n tax_id_last4?: string;\n /** Format: date-time */\n created_at?: string;\n };\n LegalEntityApplication: {\n /** Format: uuid */\n id?: string;\n legal_name?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n entity_type?: components[\"schemas\"][\"LegalEntityEntityType\"];\n ownership_type?: components[\"schemas\"][\"LegalEntityOwnershipType\"];\n contact_email?: string;\n contact_phone?: string;\n business_address_line1?: string;\n business_address_line2?: string | null;\n business_city?: string;\n business_state?: string;\n business_postal_code?: string;\n business_country?: string;\n state?: string;\n tax_id_last4?: string;\n /** Format: date-time */\n approved_at?: string | null;\n /** Format: date-time */\n denied_at?: string | null;\n /** Format: date-time */\n needs_information_at?: string | null;\n decision_reason?: string | null;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n requirements?: components[\"schemas\"][\"LegalEntityApplicationRequirement\"][];\n };\n CreateMerchantApplicationInput: {\n annual_credit_card_sales_volume?: number;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethodInput\"][];\n bank_account_number?: string;\n bank_routing_number?: string;\n business_category?: components[\"schemas\"][\"MerchantBusinessCategoryType\"];\n business_description?: string;\n city?: string;\n country_code?: string;\n customer_service_number?: string;\n dba_name?: string;\n /** Format: uuid */\n legal_entity_application_id?: string;\n max_transaction_amount?: number;\n postal_code?: string;\n primary_contact_email_address?: string;\n primary_contact_first_name?: string;\n primary_contact_last_name?: string;\n primary_contact_phone?: string;\n state_province?: string;\n street_address1?: string;\n street_address2?: string;\n website_url?: string;\n };\n CreateMerchantApplicationRequest: {\n merchant_application: components[\"schemas\"][\"CreateMerchantApplicationInput\"];\n };\n MerchantApplication: {\n /** Format: uuid */\n id?: string;\n annual_credit_card_sales_volume?: number;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n business_category?: components[\"schemas\"][\"MerchantBusinessCategoryType\"];\n business_description?: string;\n city?: string;\n country_code?: string;\n customer_service_number?: string;\n dba_name?: string;\n echeck_billing_descriptor?: string;\n echeck_company_name?: string;\n echeck_enabled?: string;\n hard_coded_billing_descriptor?: string;\n has_accepted_credit_cards?: boolean;\n /** Format: uuid */\n legal_entity_application_id?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n max_transaction_amount?: string;\n mcc?: string;\n postal_code?: string;\n primary_contact_email_address?: string;\n primary_contact_first_name?: string;\n primary_contact_last_name?: string;\n primary_contact_phone?: string;\n purchase_currency?: string;\n settlement_currency?: string;\n state_province?: string;\n street_address1?: string;\n street_address2?: string;\n website_url?: string;\n };\n Merchant: {\n /** Format: uuid */\n id?: string;\n active?: boolean;\n /** Format: uuid */\n organization_id?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n annual_credit_card_sales_volume?: number;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n business_category?: components[\"schemas\"][\"MerchantBusinessCategoryType\"];\n business_description?: string;\n city?: string;\n country_code?: string;\n customer_service_number?: string;\n has_accepted_credit_cards?: boolean;\n dba_name?: string;\n echeck_billing_descriptor?: string;\n echeck_company_name?: string;\n echeck_enabled?: boolean;\n hard_coded_billing_descriptor?: string;\n max_transaction_amount?: number;\n /** Format: uuid */\n merchant_application_id?: string;\n mcc?: string;\n naics_code?: string;\n postal_code?: string;\n primary_contact_email_address?: string;\n primary_contact_first_name?: string;\n primary_contact_last_name?: string;\n primary_contact_phone?: string;\n purchase_currency?: string;\n settlement_currency?: string;\n street_address1?: string;\n street_address2?: string;\n sub_merchant_id?: string;\n website_url?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateOriginInput: {\n value?: string;\n };\n CreateOriginRequest: {\n origin: components[\"schemas\"][\"CreateOriginInput\"];\n };\n Origin: {\n /** Format: uuid */\n id?: string;\n value?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreatePaymentIntentInput: {\n amount: number;\n capture_method?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n statement_descriptor?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n recurring_payment?: components[\"schemas\"][\"RecurringPayment\"];\n };\n CreatePaymentIntentRequest: {\n payment_intent: components[\"schemas\"][\"CreatePaymentIntentInput\"];\n };\n ConfirmPaymentIntentInput: {\n moto?: boolean;\n /** Format: uuid */\n payment_method_id?: string;\n payment_method?: {\n metadata?: components[\"schemas\"][\"Metadata\"];\n bank_account_profile_attributes?: components[\"schemas\"][\"BankAccountProfileInput\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes?: components[\"schemas\"][\"CardProfileInput\"];\n };\n };\n ConfirmPaymentIntentRequest: {\n payment_intent: components[\"schemas\"][\"ConfirmPaymentIntentInput\"];\n };\n ConfirmPaymentIntentWithPaymentMethodInput: {\n payment_method: components[\"schemas\"][\"EmbedConfirmPaymentMethodInput\"];\n };\n ConfirmPaymentIntentWithPaymentMethodRequest: {\n payment_intent: components[\"schemas\"][\"ConfirmPaymentIntentWithPaymentMethodInput\"];\n };\n UpdatePaymentIntentInput: {\n /** Format: uuid */\n payment_method_id?: string;\n amount?: number;\n metadata?: components[\"schemas\"][\"Metadata\"];\n recurring_payment?: components[\"schemas\"][\"RecurringPayment\"];\n };\n UpdatePaymentIntentRequest: {\n payment_intent: components[\"schemas\"][\"UpdatePaymentIntentInput\"];\n };\n PaymentIntent: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n amount?: number;\n capture_method?: string;\n /** Format: uuid */\n charge_id?: string;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n recurring_payment?: components[\"schemas\"][\"RecurringPayment\"];\n /** Format: uuid */\n payment_method_id?: string;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n /** @enum {string} */\n state?: \"requires_payment_method\" | \"requires_confirmation\" | \"requires_capture\" | \"processing_authorization\" | \"processing_capture\" | \"processing_sale\" | \"requires_review\" | \"succeeded\" | \"cancelled\" | \"errored_authorization\" | \"errored_capture\" | \"errored_sale\";\n statement_descriptor?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n RecurringPayment: {\n network_transaction_id?: string;\n };\n CreatePaymentLinkInput: {\n slug?: string;\n active?: boolean;\n amount_type?: components[\"schemas\"][\"PaymentLinkAmountType\"];\n amount?: number;\n /** Format: uri */\n image_url?: string;\n minimum_amount?: number;\n maximum_amount?: number;\n suggested_amounts?: number[];\n currency?: string;\n description?: string | null;\n statement_descriptor?: string;\n /** Format: uri */\n success_url?: string;\n title?: string;\n /** Format: uri */\n cancel_url?: string;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethodInput\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreatePaymentLinkRequest: {\n payment_link: components[\"schemas\"][\"CreatePaymentLinkInput\"];\n };\n PaymentLink: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n organization_id?: string;\n /** Format: uuid */\n account_id?: string;\n slug?: string;\n active?: boolean;\n amount_type?: components[\"schemas\"][\"PaymentLinkAmountType\"];\n amount?: number;\n /** Format: uri */\n image_url?: string;\n minimum_amount?: number;\n maximum_amount?: number;\n suggested_amounts?: number[];\n currency?: string;\n description?: string | null;\n statement_descriptor?: string;\n /** Format: uri */\n success_url?: string;\n title?: string;\n /** Format: uri */\n cancel_url?: string;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n PaymentMethod: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n customer_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n type?: components[\"schemas\"][\"PaymentMethodType\"];\n bank_account_profile?: components[\"schemas\"][\"BankAccountProfile\"];\n billing_address?: components[\"schemas\"][\"BillingAddress\"];\n card_profile?: components[\"schemas\"][\"CardProfile\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreatePayoutInput: {\n /** Format: uuid */\n external_account_id: string;\n amount: number;\n currency?: string;\n direction: components[\"schemas\"][\"PayoutDirectionType\"];\n prefix?: string;\n addenda?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreatePayoutRequest: {\n payout: components[\"schemas\"][\"CreatePayoutInput\"];\n };\n CreateBulkPayoutInput: {\n /** Format: uuid */\n account_id: string;\n /** Format: uuid */\n external_account_id: string;\n amount: number;\n currency?: string;\n direction: components[\"schemas\"][\"PayoutDirectionType\"];\n prefix?: string;\n addenda?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateBulkPayoutsRequest: {\n payouts: components[\"schemas\"][\"CreateBulkPayoutInput\"][];\n };\n Payout: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n addenda?: string | null;\n /** Format: uuid */\n external_account_id?: string;\n amount?: number;\n currency?: string;\n direction?: components[\"schemas\"][\"PayoutDirectionType\"];\n metadata?: components[\"schemas\"][\"Metadata\"];\n prefix?: string;\n public_id?: string;\n state?: components[\"schemas\"][\"PayoutStateType\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n ProcessorTransaction: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n approved?: boolean;\n avs_check?: string;\n avs_check_message?: string;\n cvc_check?: string;\n cvc_check_message?: string;\n external_reference?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n payment_method_id?: string;\n /** Format: uuid */\n payment_transaction_id?: string;\n /** @enum {string} */\n payment_transaction_type?: \"charge\" | \"refund\" | \"void\";\n /** Format: uuid */\n processor_transaction_id?: string;\n processor_reference?: string;\n network_transaction_id?: string;\n /** @enum {string} */\n transaction_type?: \"authorization\" | \"authorization_reversal\" | \"capture\" | \"credit\" | \"echeck_credit\" | \"echeck_sale\" | \"echeck_void\" | \"sale\" | \"void\";\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateProductInput: {\n name: string;\n description: string;\n active?: boolean;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateProductRequest: {\n product: components[\"schemas\"][\"CreateProductInput\"];\n };\n UpdateProductInput: {\n name?: string;\n description?: string;\n active?: boolean;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateProductRequest: {\n product: components[\"schemas\"][\"UpdateProductInput\"];\n };\n Product: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n name?: string;\n description?: string;\n active?: boolean;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateRefundInput: {\n amount?: number;\n adjustment_reason?: string;\n /** Format: uuid */\n parent_transaction_id: string;\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateRefundRequest: {\n refund: components[\"schemas\"][\"CreateRefundInput\"];\n };\n UpdateRefundInput: {\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateRefundRequest: {\n refund: components[\"schemas\"][\"UpdateRefundInput\"];\n };\n Refund: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n adjustment_reason?: string;\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n failure_code?: string | null;\n failure_reason?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n original_transaction_id?: string;\n /** Format: uuid */\n parent_transaction_id?: string;\n /** Format: uuid */\n payment_intent_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n platform_fee?: number;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n state?: components[\"schemas\"][\"RefundStateType\"];\n statement_descriptor?: string;\n /** Format: date-time */\n succeeded_at?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n /** @enum {string|null} */\n allowed_reverse_action?: \"void\" | null;\n };\n CreateRenderTemplateInput: {\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethodInput\"][];\n currency?: string;\n origin_ids?: string[];\n };\n CreateRenderTemplateRequest: {\n render_template: components[\"schemas\"][\"CreateRenderTemplateInput\"];\n };\n RenderTemplate: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n organization_id?: string;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n currency?: string;\n };\n CreateSetupIntentInput: {\n /** Format: uuid */\n customer_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateSetupIntentRequest: {\n setup_intent: components[\"schemas\"][\"CreateSetupIntentInput\"];\n };\n ConfirmSetupIntentInput: {\n moto?: boolean;\n payment_method?: {\n metadata?: components[\"schemas\"][\"Metadata\"];\n bank_account_profile_attributes?: components[\"schemas\"][\"BankAccountProfileInput\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes?: components[\"schemas\"][\"CardProfileInput\"];\n };\n };\n ConfirmSetupIntentRequest: {\n setup_intent: components[\"schemas\"][\"ConfirmSetupIntentInput\"];\n };\n ConfirmSetupIntentWithPaymentMethodInput: {\n payment_method: components[\"schemas\"][\"EmbedConfirmPaymentMethodInput\"];\n };\n ConfirmSetupIntentWithPaymentMethodRequest: {\n setup_intent: components[\"schemas\"][\"ConfirmSetupIntentWithPaymentMethodInput\"];\n };\n SetupIntent: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n /** Format: uuid */\n customer_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n payment_method_id?: string;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n /** @enum {string} */\n state?: \"requires_payment_method\" | \"requires_confirmation\" | \"verifying\" | \"requires_review\" | \"succeeded\" | \"failed\" | \"cancelled\" | \"errored\";\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateSubscriptionInput: {\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n cycles?: number;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n /** Format: uuid */\n subscription_plan_id?: string;\n };\n CreateSubscriptionRequest: {\n subscription: components[\"schemas\"][\"CreateSubscriptionInput\"];\n };\n UpdateSubscriptionInput: {\n /** Format: uuid */\n payment_method_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateSubscriptionRequest: {\n subscription: components[\"schemas\"][\"UpdateSubscriptionInput\"];\n };\n SkipSubscriptionInput: {\n period_count?: number;\n };\n SkipSubscriptionRequest: {\n subscription: components[\"schemas\"][\"SkipSubscriptionInput\"];\n };\n Subscription: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n amount?: number;\n currency?: string;\n cycles?: number;\n /** Format: uuid */\n subscription_plan_id?: string;\n /** Format: uuid */\n customer_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n /** @enum {string} */\n state?: \"active\" | \"paused\" | \"past_due\" | \"cancelled\";\n cycles_completed?: number;\n skip_billing_periods_remaining?: number;\n skipped_billing_periods_count?: number;\n /** Format: date-time */\n current_billing_period_start?: string;\n /** Format: date-time */\n current_billing_period_end?: string;\n /** Format: date-time */\n trial_ends_at?: string | null;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateSubscriptionPlanInput: {\n active?: boolean;\n amount?: number;\n currency?: string;\n cycles?: number;\n /** Format: uuid */\n product_id?: string;\n description?: string;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n metadata?: components[\"schemas\"][\"Metadata\"];\n name?: string;\n plan_type?: components[\"schemas\"][\"SubscriptionPlanType\"];\n trial_period_days?: number;\n };\n CreateSubscriptionPlanRequest: {\n subscription_plan: components[\"schemas\"][\"CreateSubscriptionPlanInput\"];\n };\n UpdateChargeInput: {\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateChargeRequest: {\n charge: components[\"schemas\"][\"UpdateChargeInput\"];\n };\n SubscriptionPlan: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n /** Format: uuid */\n product_id?: string;\n active?: boolean;\n amount?: number;\n currency?: string;\n cycles?: number;\n description?: string;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n metadata?: components[\"schemas\"][\"Metadata\"];\n name?: string;\n plan_type?: components[\"schemas\"][\"SubscriptionPlanType\"];\n trial_period_days?: number;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateVoidInput: {\n adjustment_reason?: string;\n /** Format: uuid */\n parent_transaction_id: string;\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateVoidRequest: {\n void: components[\"schemas\"][\"CreateVoidInput\"];\n };\n UpdateVoidInput: {\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateVoidRequest: {\n void: components[\"schemas\"][\"UpdateVoidInput\"];\n };\n Void: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n adjustment_reason?: string;\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n failure_code?: string | null;\n failure_reason?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n original_transaction_id?: string;\n /** Format: uuid */\n parent_transaction_id?: string;\n /** Format: uuid */\n payment_intent_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n platform_fee?: number;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n state?: components[\"schemas\"][\"RefundStateType\"];\n statement_descriptor?: string;\n /** Format: date-time */\n succeeded_at?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n WebhookAttempt: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n webhook_request_id?: string;\n error_message?: string;\n response_body?: Record<string, never>;\n status_code?: number;\n success?: boolean;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateWebhookEndpointInput: {\n events?: components[\"schemas\"][\"WebhookEventType\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n active?: boolean;\n url?: string;\n };\n CreateWebhookEndpointRequest: {\n webhook_endpoint: components[\"schemas\"][\"CreateWebhookEndpointInput\"];\n };\n WebhookEndpoint: {\n /** Format: uuid */\n id?: string;\n events?: components[\"schemas\"][\"WebhookEventType\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n secret?: string;\n url?: string;\n active?: boolean;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n WebhookRequest: {\n id?: string;\n /** Format: uuid */\n webhook_endpoint_id?: string;\n /** Format: date-time */\n expires_at?: string;\n request_body?: Record<string, never>;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n };\n responses: never;\n parameters: {\n XIdempotencyHeader: string;\n /** @description The ID of the customer to filter by */\n CustomerIdQuery: string;\n /** @description The email to filter by */\n EmailQuery: string;\n /** @description The external account ID to filter by */\n ExternalAccountIdQuery: string;\n /** @description The page of results to retrieve. */\n PageQuery: number;\n /** @description The ID of the original transaction to filter by */\n ParentTransactionIdQuery: string;\n /** @description The ID of the payment intent to filter by */\n PaymentIntentIdQuery: string;\n /** @description The ID of the payment method to filter by */\n PaymentMethodIdQuery: string;\n /** @description The ID of the payment transaction to filter by */\n PaymentTransactionIdQuery: string;\n /** @description The payout direction to filter by */\n PayoutDirectionQuery: components[\"schemas\"][\"PayoutDirectionType\"];\n /** @description The payout state to filter by */\n PayoutStateQuery: components[\"schemas\"][\"PayoutStateType\"];\n /** @description Number of results per page. */\n PerPageQuery: number;\n /** @description The phone to filter by */\n PhoneQuery: string;\n /** @description The ID of the webhook request to filter by */\n WebhookRequestIdQuery: string;\n };\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\nexport type $defs = Record<string, never>;\nexport interface operations {\n ListAccounts: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n merchant_id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of accounts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Account\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetAccount: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single account */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Account\"];\n };\n };\n };\n };\n UpdateAccount: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateAccountRequest\"];\n };\n };\n responses: {\n /** @description A single account */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Account\"];\n };\n };\n };\n };\n ListCharges: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the payment intent to filter by */\n payment_intent_id?: components[\"parameters\"][\"PaymentIntentIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of charges */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Charge\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetCharge: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single charge */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Charge\"];\n };\n };\n };\n };\n UpdateCharge: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateChargeRequest\"];\n };\n };\n responses: {\n /** @description Charge updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Charge\"];\n };\n };\n };\n };\n ListCustomers: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The email to filter by */\n email?: components[\"parameters\"][\"EmailQuery\"];\n /** @description The phone to filter by */\n phone?: components[\"parameters\"][\"PhoneQuery\"];\n account_id?: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of customers */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Customer\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateCustomer: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateCustomerRequest\"];\n };\n };\n responses: {\n /** @description Customer created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Customer\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetCustomer: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single customer */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Customer\"];\n };\n };\n };\n };\n UpdateCustomer: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateCustomerRequest\"];\n };\n };\n responses: {\n /** @description Customer updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Customer\"];\n };\n };\n };\n };\n ListExternalAccounts: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of external accounts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"ExternalAccount\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateExternalAccount: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateExternalAccountRequest\"];\n };\n };\n responses: {\n /** @description External account created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"ExternalAccount\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetExternalAccount: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single external account */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"ExternalAccount\"];\n };\n };\n };\n };\n CreateFileUpload: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateFileUploadRequest\"];\n };\n };\n responses: {\n /** @description File upload created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"FileUpload\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetFileUpload: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description File upload retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"FileDownload\"];\n };\n };\n };\n };\n CompleteFileUpload: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description File upload completed successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"FileDownload\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListLegalEntityApplicationDocuments: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n legal_entity_application_id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of legal entity application documents */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"LegalEntityApplicationDocument\"][];\n };\n };\n };\n };\n };\n CreateLegalEntityApplicationDocument: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateLegalEntityApplicationDocumentRequest\"];\n };\n };\n responses: {\n /** @description Legal entity application document created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplicationDocument\"];\n };\n };\n /** @description Legal entity application not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Error creating legal entity application document */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListLegalEntities: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of legal entities */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"LegalEntity\"][];\n meta: Record<string, never>;\n };\n };\n };\n };\n };\n GetLegalEntity: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntity\"];\n };\n };\n };\n };\n CreateLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateLegalEntityApplicationRequest\"];\n };\n };\n responses: {\n /** @description Legal entity application created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n };\n };\n SubmitLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application submitted successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n /** @description Legal entity application could not be submitted */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ApproveLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application approved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n /** @description Legal entity application could not be approved */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CreateLegalEntityApplicationPrincipal: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateLegalEntityApplicationPrincipalRequest\"];\n };\n };\n responses: {\n /** @description Legal entity application principal created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplicationPrincipal\"];\n };\n };\n /** @description Legal entity application not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Error creating legal entity application principal */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetLegalEntityApplicationPrincipal: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application principal retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplicationPrincipal\"];\n };\n };\n };\n };\n ListLegalEntityPrincipals: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the legal_entity */\n legal_entity_id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of legal entity principals */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"LegalEntityPrincipal\"][];\n meta: Record<string, never>;\n };\n };\n };\n };\n };\n GetLegalEntityPrincipal: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the legal entity principal to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of a legal entity principal */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityPrincipal\"];\n };\n };\n };\n };\n CreateMerchantApplication: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateMerchantApplicationRequest\"];\n };\n };\n responses: {\n /** @description Merchant application created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"MerchantApplication\"];\n };\n };\n /** @description Legal entity application not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Error creating merchant application */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetMerchantApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the merchant application to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of a merchant application */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"MerchantApplication\"];\n };\n };\n };\n };\n ListMerchants: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of merchants */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Merchant\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetMerchant: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the merchant to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of a merchant */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Merchant\"];\n };\n };\n };\n };\n ListOrigins: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of origins */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Origin\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateOrigin: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateOriginRequest\"];\n };\n };\n responses: {\n /** @description Origin created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Origin\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetEmbedPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n };\n };\n ConfirmEmbedPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to confirm */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"ConfirmPaymentIntentRequest\"];\n };\n };\n responses: {\n /** @description Successful confirmation of payment intent */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ConfirmEmbedPaymentIntentWithPaymentMethod: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to confirm */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"ConfirmPaymentIntentWithPaymentMethodRequest\"];\n };\n };\n responses: {\n /** @description Successful confirmation of payment intent */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n /** @description Unprocessable content */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListPaymentIntents: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payment intents */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"PaymentIntent\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreatePaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreatePaymentIntentRequest\"];\n };\n };\n responses: {\n /** @description Successful creation of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"EmbedToken\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListPaymentLinks: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payment links */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"PaymentLink\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreatePaymentLink: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreatePaymentLinkRequest\"];\n };\n };\n responses: {\n /** @description Payment link created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentLink\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n };\n };\n CancelPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to cancel */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful cancellation of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CapturePaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to capture */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful capture of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListPaymentMethods: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the customer to filter by */\n customer_id: components[\"parameters\"][\"CustomerIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payment methods */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"PaymentMethod\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetPaymentMethod: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single payment method */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentMethod\"];\n };\n };\n };\n };\n ListPayouts: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The external account ID to filter by */\n external_account_id?: components[\"parameters\"][\"ExternalAccountIdQuery\"];\n /** @description The payout direction to filter by */\n direction?: components[\"parameters\"][\"PayoutDirectionQuery\"];\n /** @description The payout state to filter by */\n state?: components[\"parameters\"][\"PayoutStateQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payouts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Payout\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreatePayout: {\n parameters: {\n query?: never;\n header?: {\n \"X-Idempotency-Key\"?: components[\"parameters\"][\"XIdempotencyHeader\"];\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreatePayoutRequest\"];\n };\n };\n responses: {\n /** @description Payout created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Payout\"];\n };\n };\n /** @description Error creating payout */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n BulkCreatePayouts: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateBulkPayoutsRequest\"];\n };\n };\n responses: {\n /** @description Payouts created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data?: components[\"schemas\"][\"Payout\"][];\n };\n };\n };\n /** @description Error creating payouts */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n /** @description Error creating payouts */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetPayout: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single payout */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Payout\"];\n };\n };\n };\n };\n ListProcessorTransactions: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the payment intent to filter by */\n payment_intent_id?: components[\"parameters\"][\"PaymentIntentIdQuery\"];\n /** @description The ID of the payment method to filter by */\n payment_method_id?: components[\"parameters\"][\"PaymentMethodIdQuery\"];\n /** @description The ID of the payment transaction to filter by */\n payment_transaction_id?: components[\"parameters\"][\"PaymentTransactionIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of processor transactions */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"ProcessorTransaction\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n ListProducts: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of products */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Product\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateProduct: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateProductRequest\"];\n };\n };\n responses: {\n /** @description Product created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Product\"];\n };\n };\n /** @description Error creating product */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n UpdateProduct: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the product to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateProductRequest\"];\n };\n };\n responses: {\n /** @description Product updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Product\"];\n };\n };\n /** @description Error updating product */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListRefunds: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the customer to filter by */\n customer_id: components[\"parameters\"][\"CustomerIdQuery\"];\n /** @description The ID of the original transaction to filter by */\n parent_transaction_id?: components[\"parameters\"][\"ParentTransactionIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of refunds */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Refund\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateRefund: {\n parameters: {\n query?: never;\n header?: {\n \"X-Idempotency-Key\"?: components[\"parameters\"][\"XIdempotencyHeader\"];\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateRefundRequest\"];\n };\n };\n responses: {\n /** @description Refund created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n /** @description Error creating refund */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetRefund: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the refund to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of refund */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n };\n };\n UpdateRefund: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the refund to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateRefundRequest\"];\n };\n };\n responses: {\n /** @description Refund updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n };\n };\n CancelRefund: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the refund to cancel. */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Refund cancelled successfully */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n };\n };\n ListRenderTemplates: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n account_id?: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of render templates */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"RenderTemplate\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateRenderTemplate: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateRenderTemplateRequest\"];\n };\n };\n responses: {\n /** @description Render template created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"RenderTemplate\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetRenderTemplate: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single render template */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"RenderTemplate\"];\n };\n };\n };\n };\n CreateRenderToken: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A render token for the render template */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"RenderToken\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetSetupIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the setup intent to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of setup intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SetupIntent\"];\n };\n };\n };\n };\n ConfirmSetupIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the setup intent to confirm */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"ConfirmSetupIntentRequest\"];\n };\n };\n responses: {\n /** @description Successful confirmation of setup intent */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SetupIntent\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ConfirmSetupIntentWithPaymentMethod: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the setup intent to confirm */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"ConfirmSetupIntentWithPaymentMethodRequest\"];\n };\n };\n responses: {\n /** @description Successful confirmation of setup intent */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SetupIntent\"];\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n /** @description Unprocessable content */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CreateSetupIntent: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateSetupIntentRequest\"];\n };\n };\n responses: {\n /** @description Successful creation of setup intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"EmbedToken\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListSubscriptionPlans: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of subscription plans */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"SubscriptionPlan\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateSubscriptionPlan: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateSubscriptionPlanRequest\"];\n };\n };\n responses: {\n /** @description Subscription plan created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SubscriptionPlan\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetSubscriptionPlan: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription plan to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of subscription plan */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SubscriptionPlan\"];\n };\n };\n };\n };\n ListSubscriptions: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of subscriptions */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Subscription\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateSubscriptionRequest\"];\n };\n };\n responses: {\n /** @description Subscription created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of subscription */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n };\n };\n UpdateSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateSubscriptionRequest\"];\n };\n };\n responses: {\n /** @description Subscription updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n SkipSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to skip billing periods for */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"SkipSubscriptionRequest\"];\n };\n };\n responses: {\n /** @description Subscription billing periods skipped successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CancelSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to cancel */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful cancellation of subscription */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n };\n };\n ListVoids: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the customer to filter by */\n customer_id: components[\"parameters\"][\"CustomerIdQuery\"];\n /** @description The ID of the original transaction to filter by */\n parent_transaction_id?: components[\"parameters\"][\"ParentTransactionIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of voids */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Void\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateVoid: {\n parameters: {\n query?: never;\n header?: {\n \"X-Idempotency-Key\"?: components[\"parameters\"][\"XIdempotencyHeader\"];\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateVoidRequest\"];\n };\n };\n responses: {\n /** @description Void created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Void\"];\n };\n };\n /** @description Error creating void */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetVoid: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the void to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of void */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Void\"];\n };\n };\n };\n };\n UpdateVoid: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the void to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateVoidRequest\"];\n };\n };\n responses: {\n /** @description Void updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Void\"];\n };\n };\n };\n };\n ListWebhookAttempts: {\n parameters: {\n query: {\n /** @description The ID of the webhook request to filter by */\n webhook_request_id: components[\"parameters\"][\"WebhookRequestIdQuery\"];\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of webhook attempts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"WebhookAttempt\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n ListWebhookEndpoints: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of webhook endpoints */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"WebhookEndpoint\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateWebhookEndpointRequest\"];\n };\n };\n responses: {\n /** @description Webhook endpoint created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookEndpoint\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single webhook endpoint */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookEndpoint\"];\n };\n };\n };\n };\n UpdateWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateWebhookEndpointRequest\"];\n };\n };\n responses: {\n /** @description Webhook endpoint updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookEndpoint\"];\n };\n };\n };\n };\n DeleteWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Webhook endpoint deleted successfully */\n 204: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n };\n };\n ListWebhookRequests: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of webhook requests */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"WebhookRequest\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n ResendWebhookRequest: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the webhook request to resend */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Accepted; webhook resend has been enqueued */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n RetrieveWebhookRequest: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the webhook request to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Webhook request retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookRequest\"];\n };\n };\n };\n };\n}\ntype FlattenedDeepRequired<T> = {\n [K in keyof T]-?: FlattenedDeepRequired<T[K] extends unknown[] | undefined | null ? Extract<T[K], unknown[]>[number] : T[K]>;\n};\ntype ReadonlyArray<T> = [\n Exclude<T, undefined>\n] extends [\n unknown[]\n] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;\nexport const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Charge\"][\"allowed_reverse_action\"]> = [\"void\", \"refund\"];\nexport const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Charge\"][\"state\"]> = [\"cancelled\", \"errored\", \"failed\", \"processing\", \"requires_capture\", \"requires_confirmation\", \"requires_review\", \"settlement_failed\", \"succeeded\"];\nexport const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"ExternalAccount\"][\"type\"]> = [\"external_card\", \"external_bank_account\"];\nexport const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"LegalEntityEntityType\"]> = [\"individual_sole_proprietorship\", \"corporation\", \"limited_liability_company\", \"partnership\", \"limited_partnership\", \"general_partnership\", \"tax_exempt_organization\", \"government_agency\"];\nexport const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"LegalEntityOwnershipType\"]> = [\"public\", \"private\"];\nexport const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"LegalEntityDocumentType\"]> = [\"irs_cp_575\"];\nexport const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"MerchantBusinessCategoryType\"]> = [\"business_association\", \"charity\", \"church\", \"county\", \"federal\", \"fraternal_org\", \"government\", \"higher_education\", \"k12\", \"labor_union\", \"local\", \"ministry\", \"pac\", \"parachurch\", \"party\", \"preschool\", \"social_club\", \"social_welfare\", \"state\", \"tribal\", \"vendor\", \"veterans_org\"];\nexport const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PaymentLinkAmountType\"]> = [\"fixed\", \"open\"];\nexport const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PaymentMethodType\"]> = [\"card\", \"bank_account\", \"googlepay\", \"applepay\"];\nexport const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmCardPaymentMethodInput\"][\"type\"]> = [\"card\"];\nexport const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmBankAccountPaymentMethodInput\"][\"type\"]> = [\"bank_account\"];\nexport const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmGooglePayPaymentMethodInput\"][\"type\"]> = [\"googlepay\"];\nexport const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmApplePayPaymentMethodInput\"][\"type\"]> = [\"applepay\"];\nexport const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedCardPaymentMethodInput\"][\"type\"]> = [\"card\"];\nexport const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedBankAccountPaymentMethodInput\"][\"type\"]> = [\"bank_account\"];\nexport const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedGooglePayPaymentMethodInput\"][\"type\"]> = [\"googlepay\"];\nexport const allowedApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedApplePayPaymentMethodInput\"][\"type\"]> = [\"applepay\"];\nexport const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedCardPaymentMethod\"][\"type\"]> = [\"card\"];\nexport const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedBankAccountPaymentMethod\"][\"type\"]> = [\"bank_account\"];\nexport const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedGooglePayPaymentMethod\"][\"type\"]> = [\"googlepay\"];\nexport const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedApplePayPaymentMethod\"][\"type\"]> = [\"applepay\"];\nexport const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PayoutDirectionType\"]> = [\"credit\", \"debit\"];\nexport const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PayoutStateType\"]> = [\"pending\", \"processing\", \"succeeded\", \"failed\", \"errored\", \"accepted\", \"rejected\"];\nexport const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"RefundStateType\"]> = [\"pending\", \"processing\", \"requires_review\", \"succeeded\", \"cancelled\", \"failed\"];\nexport const subscriptionIntervalTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"SubscriptionIntervalType\"]> = [\"day\", \"week\", \"month\", \"year\"];\nexport const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"SubscriptionPlanType\"]> = [\"fixed\", \"variable\"];\nexport const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"TransactionSourceType\"]> = [\"api\", \"dashboard\", \"iframe\", \"system\", \"subscription\"];\nexport const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"WalletProviderType\"]> = [\"googlepay\", \"applepay\"];\nexport const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"WebhookEventType\"]> = [\"charge.cancelled\", \"charge.created\", \"charge.errored\", \"charge.failed\", \"charge.processing\", \"charge.requires_capture\", \"charge.requires_confirmation\", \"charge.requires_review\", \"charge.settlement_failed\", \"charge.succeeded\", \"customer.created\", \"customer.updated\", \"legal_entity.created\", \"legal_entity.updated\", \"legal_entity_principal.created\", \"legal_entity_principal.updated\", \"legal_entity_application.approved\", \"legal_entity_application.denied\", \"legal_entity_application.needs_information\", \"legal_entity_application.pending\", \"legal_entity_application.submitted\", \"merchant.created\", \"merchant.updated\", \"payment_intent.cancelled\", \"payment_intent.created\", \"payment_intent.errored_authorization\", \"payment_intent.errored_capture\", \"payment_intent.errored_sale\", \"payment_intent.processing_authorization\", \"payment_intent.processing_capture\", \"payment_intent.processing_sale\", \"payment_intent.requires_capture\", \"payment_intent.requires_confirmation\", \"payment_intent.requires_payment_method\", \"payment_intent.requires_review\", \"payment_intent.succeeded\", \"processor_transaction.completed\", \"reconciliation.created\", \"refund.cancelled\", \"refund.created\", \"refund.failed\", \"refund.pending\", \"refund.processing\", \"refund.requires_review\", \"refund.succeeded\", \"void.created\", \"void.failed\", \"void.pending\", \"void.processing\", \"void.requires_review\", \"void.succeeded\"];\nexport const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PaymentIntent\"][\"state\"]> = [\"requires_payment_method\", \"requires_confirmation\", \"requires_capture\", \"processing_authorization\", \"processing_capture\", \"processing_sale\", \"requires_review\", \"succeeded\", \"cancelled\", \"errored_authorization\", \"errored_capture\", \"errored_sale\"];\nexport const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"ProcessorTransaction\"][\"payment_transaction_type\"]> = [\"charge\", \"refund\", \"void\"];\nexport const processorTransactionTransaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"ProcessorTransaction\"][\"transaction_type\"]> = [\"authorization\", \"authorization_reversal\", \"capture\", \"credit\", \"echeck_credit\", \"echeck_sale\", \"echeck_void\", \"sale\", \"void\"];\nexport const refundAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Refund\"][\"allowed_reverse_action\"]> = [\"void\"];\nexport const setupIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"SetupIntent\"][\"state\"]> = [\"requires_payment_method\", \"requires_confirmation\", \"verifying\", \"requires_review\", \"succeeded\", \"failed\", \"cancelled\", \"errored\"];\nexport const subscriptionStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Subscription\"][\"state\"]> = [\"active\", \"paused\", \"past_due\", \"cancelled\"];\n"],"mappings":";AAAA,OAAO,kBAGA;;;ACs/JA,IAAM,qCAAsI,CAAC,QAAQ,QAAQ;AAC7J,IAAM,oBAAoG,CAAC,aAAa,WAAW,UAAU,cAAc,oBAAoB,yBAAyB,mBAAmB,qBAAqB,WAAW;AAC3P,IAAM,4BAAoH,CAAC,iBAAiB,uBAAuB;AACnK,IAAM,8BAAoH,CAAC,kCAAkC,eAAe,6BAA6B,eAAe,uBAAuB,uBAAuB,2BAA2B,mBAAmB;AACpT,IAAM,iCAA0H,CAAC,UAAU,SAAS;AACpJ,IAAM,gCAAwH,CAAC,YAAY;AAC3I,IAAM,qCAAkI,CAAC,wBAAwB,WAAW,UAAU,UAAU,WAAW,iBAAiB,cAAc,oBAAoB,OAAO,eAAe,SAAS,YAAY,OAAO,cAAc,SAAS,aAAa,eAAe,kBAAkB,SAAS,UAAU,UAAU,cAAc;AACha,IAAM,8BAAoH,CAAC,SAAS,MAAM;AAC1I,IAAM,0BAA4G,CAAC,QAAQ,gBAAgB,aAAa,UAAU;AAClK,IAAM,+CAA0J,CAAC,MAAM;AACvK,IAAM,sDAAwK,CAAC,cAAc;AAC7L,IAAM,oDAAoK,CAAC,WAAW;AACtL,IAAM,mDAAkK,CAAC,UAAU;AACnL,IAAM,0CAAgJ,CAAC,MAAM;AAC7J,IAAM,iDAA8J,CAAC,cAAc;AACnL,IAAM,+CAA0J,CAAC,WAAW;AAC5K,IAAM,8CAAwJ,CAAC,UAAU;AACzK,IAAM,qCAAsI,CAAC,MAAM;AACnJ,IAAM,4CAAoJ,CAAC,cAAc;AACzK,IAAM,0CAAgJ,CAAC,WAAW;AAClK,IAAM,yCAA8I,CAAC,UAAU;AAC/J,IAAM,4BAAgH,CAAC,UAAU,OAAO;AACxI,IAAM,wBAAwG,CAAC,WAAW,cAAc,aAAa,UAAU,WAAW,YAAY,UAAU;AAChM,IAAM,wBAAwG,CAAC,WAAW,cAAc,mBAAmB,aAAa,aAAa,QAAQ;AAC7L,IAAM,iCAA0H,CAAC,OAAO,QAAQ,SAAS,MAAM;AAC/J,IAAM,6BAAkH,CAAC,SAAS,UAAU;AAC5I,IAAM,8BAAoH,CAAC,OAAO,aAAa,UAAU,UAAU,cAAc;AACjL,IAAM,2BAA8G,CAAC,aAAa,UAAU;AAC5I,IAAM,yBAA0G,CAAC,oBAAoB,kBAAkB,kBAAkB,iBAAiB,qBAAqB,2BAA2B,gCAAgC,0BAA0B,4BAA4B,oBAAoB,oBAAoB,oBAAoB,wBAAwB,wBAAwB,kCAAkC,kCAAkC,qCAAqC,mCAAmC,8CAA8C,oCAAoC,sCAAsC,oBAAoB,oBAAoB,4BAA4B,0BAA0B,wCAAwC,kCAAkC,+BAA+B,2CAA2C,qCAAqC,kCAAkC,mCAAmC,wCAAwC,0CAA0C,kCAAkC,4BAA4B,mCAAmC,0BAA0B,oBAAoB,kBAAkB,iBAAiB,kBAAkB,qBAAqB,0BAA0B,oBAAoB,gBAAgB,eAAe,gBAAgB,mBAAmB,wBAAwB,gBAAgB;AAC/8C,IAAM,2BAAkH,CAAC,2BAA2B,yBAAyB,oBAAoB,4BAA4B,sBAAsB,mBAAmB,mBAAmB,aAAa,aAAa,yBAAyB,mBAAmB,cAAc;AAC7W,IAAM,qDAAsK,CAAC,UAAU,UAAU,MAAM;AACvM,IAAM,6CAAsJ,CAAC,iBAAiB,0BAA0B,WAAW,UAAU,iBAAiB,eAAe,eAAe,QAAQ,MAAM;AAC1R,IAAM,qCAAsI,CAAC,MAAM;AACnJ,IAAM,yBAA8G,CAAC,2BAA2B,yBAAyB,aAAa,mBAAmB,aAAa,UAAU,aAAa,SAAS;AACtP,IAAM,0BAAgH,CAAC,UAAU,UAAU,YAAY,WAAW;;;ADnhKlK,IAAM,8BAA8B;AACpC,IAAM,2BAA2B;AACjC,IAAM,kBAAkB;AAoCxB,SAAS,mBAAmB,SAAwB;AACzD,SAAO,aAAoB,OAAO;AACpC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../openapi/schema.ts"],"sourcesContent":["import createClient, {\n type ClientOptions,\n type Middleware,\n} from \"openapi-fetch\";\nimport type { paths } from \"../openapi/schema\";\n\nexport * from \"../openapi/schema\";\n\nexport const PAY_API_BASE_URL_PRODUCTION = \"https://pay.amos.com\";\nexport const PAY_API_BASE_URL_SANDBOX = \"https://pay-sandbox.amos.com\";\nexport const PAY_API_VERSION = \"1\";\n\n/**\n * Create a typed `openapi-fetch` client for the Amos Pay API.\n *\n * The returned client exposes `GET`, `POST`, `PUT`, `DELETE`, etc., each\n * fully typed against the OpenAPI spec — paths, path/query/header params,\n * request bodies, and response bodies are all checked at compile time.\n *\n * Provide credentials and the required `X-Api-Version` header either as\n * default `headers` here or via `params.header` on each call. Use\n * `client.use(middleware)` to add per-request behavior such as fresh\n * idempotency keys.\n *\n * @example\n * ```ts\n * import {\n * createPayApiClient,\n * PAY_API_BASE_URL_SANDBOX,\n * PAY_API_VERSION,\n * } from \"@amos.com/node\";\n *\n * const pay = createPayApiClient({\n * baseUrl: PAY_API_BASE_URL_SANDBOX,\n * headers: {\n * \"X-Api-Key\": process.env.AMOS_API_KEY!,\n * \"X-Api-Version\": PAY_API_VERSION,\n * },\n * });\n *\n * const { data, error } = await pay.POST(\"/customers\", {\n * params: { header: { \"X-Api-Version\": PAY_API_VERSION } },\n * body: { customer: { email: \"alex@example.com\" } },\n * });\n * ```\n */\nexport function createPayApiClient(options: ClientOptions) {\n return createClient<paths>(options);\n}\n\n/** A configured Amos Pay API client returned by {@link createPayApiClient}. */\nexport type PayApiClient = ReturnType<typeof createPayApiClient>;\n\nexport type { ClientOptions, Middleware };\n","/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n \"/accounts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all accounts */\n get: operations[\"ListAccounts\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/accounts/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve an account by ID */\n get: operations[\"GetAccount\"];\n /** Update an account by ID */\n put: operations[\"UpdateAccount\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/charges\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all charges */\n get: operations[\"ListCharges\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/charges/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a charge */\n get: operations[\"GetCharge\"];\n /** Update a charge */\n put: operations[\"UpdateCharge\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/customers\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all customers */\n get: operations[\"ListCustomers\"];\n put?: never;\n /** Create a new customer */\n post: operations[\"CreateCustomer\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/customers/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a customer by ID */\n get: operations[\"GetCustomer\"];\n /** Update a customer by ID */\n put: operations[\"UpdateCustomer\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/external_accounts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all external accounts */\n get: operations[\"ListExternalAccounts\"];\n put?: never;\n /** Create an external account */\n post: operations[\"CreateExternalAccount\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/external_accounts/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve an external account by ID */\n get: operations[\"GetExternalAccount\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/file_uploads\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a file upload */\n post: operations[\"CreateFileUpload\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/file_uploads/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a file upload by ID */\n get: operations[\"GetFileUpload\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/file_uploads/{id}/complete\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Complete a file upload */\n post: operations[\"CompleteFileUpload\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_application_documents\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all legal entity application documents */\n get: operations[\"ListLegalEntityApplicationDocuments\"];\n put?: never;\n /** Create a legal entity application document */\n post: operations[\"CreateLegalEntityApplicationDocument\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entities\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all legal entities */\n get: operations[\"ListLegalEntities\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entities/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity by ID */\n get: operations[\"GetLegalEntity\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a legal entity application */\n post: operations[\"CreateLegalEntityApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity application by ID */\n get: operations[\"GetLegalEntityApplication\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications/{id}/submit\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Submit a legal entity application */\n post: operations[\"SubmitLegalEntityApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_applications/{id}/approve\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Approve a legal entity application */\n post: operations[\"ApproveLegalEntityApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_application_principals\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a legal entity application principal */\n post: operations[\"CreateLegalEntityApplicationPrincipal\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_application_principals/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity application principal by ID */\n get: operations[\"GetLegalEntityApplicationPrincipal\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_principals\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all legal entity principals */\n get: operations[\"ListLegalEntityPrincipals\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/legal_entity_principals/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a legal entity principal by ID */\n get: operations[\"GetLegalEntityPrincipal\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchant_applications\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a merchant application */\n post: operations[\"CreateMerchantApplication\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchant_applications/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a merchant application by ID */\n get: operations[\"GetMerchantApplication\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchants\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all merchants */\n get: operations[\"ListMerchants\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/merchants/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a merchant by ID */\n get: operations[\"GetMerchant\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/origins\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all origins */\n get: operations[\"ListOrigins\"];\n put?: never;\n /** Create a new origin */\n post: operations[\"CreateOrigin\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/payment_intents/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payment intent by ID */\n get: operations[\"GetEmbedPaymentIntent\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/payment_intents/{id}/confirm_with_payment_method\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Confirm a payment intent with a new payment method */\n post: operations[\"ConfirmEmbedPaymentIntentWithPaymentMethod\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List payment intents */\n get: operations[\"ListPaymentIntents\"];\n put?: never;\n /** Create a new payment intent */\n post: operations[\"CreatePaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_links\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List payment links */\n get: operations[\"ListPaymentLinks\"];\n put?: never;\n /** Create a new payment link */\n post: operations[\"CreatePaymentLink\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payment intent by ID */\n get: operations[\"GetPaymentIntent\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents/{id}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Cancel a payment intent */\n post: operations[\"CancelPaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_intents/{id}/capture\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Capture a payment intent */\n post: operations[\"CapturePaymentIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_methods\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /**\n * List all payment methods\n * @description Filter by exactly one of customer_id or payment_intent_id.\n */\n get: operations[\"ListPaymentMethods\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payment_methods/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payment method */\n get: operations[\"GetPaymentMethod\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payouts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all payouts */\n get: operations[\"ListPayouts\"];\n put?: never;\n /** Create a payout */\n post: operations[\"CreatePayout\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payouts/bulk_create\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Bulk create payouts */\n post: operations[\"BulkCreatePayouts\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/payouts/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a payout by ID */\n get: operations[\"GetPayout\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/processor_transactions\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all processor transactions */\n get: operations[\"ListProcessorTransactions\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/products\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all products */\n get: operations[\"ListProducts\"];\n put?: never;\n /** Create a new product */\n post: operations[\"CreateProduct\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/products/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Update a product by ID */\n put: operations[\"UpdateProduct\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/refunds\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all refunds */\n get: operations[\"ListRefunds\"];\n put?: never;\n /** Create a refund */\n post: operations[\"CreateRefund\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/refunds/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a refund by ID */\n get: operations[\"GetRefund\"];\n /** Update a refund */\n put: operations[\"UpdateRefund\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/refunds/{id}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Cancel a refund */\n put: operations[\"CancelRefund\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/render_templates\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all render templates */\n get: operations[\"ListRenderTemplates\"];\n put?: never;\n /** Create a new render template */\n post: operations[\"CreateRenderTemplate\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/render_templates/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a render template by ID */\n get: operations[\"GetRenderTemplate\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/render_templates/{id}/token\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a render token for render template */\n post: operations[\"CreateRenderToken\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/setup_intents/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a setup intent by ID */\n get: operations[\"GetSetupIntent\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/embed/setup_intents/{id}/confirm_with_payment_method\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Confirm a setup intent with a new payment method */\n post: operations[\"ConfirmSetupIntentWithPaymentMethod\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/setup_intents\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Create a new setup intent */\n post: operations[\"CreateSetupIntent\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscription_plans\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all subscription plans */\n get: operations[\"ListSubscriptionPlans\"];\n put?: never;\n /** Create a new subscription plan */\n post: operations[\"CreateSubscriptionPlan\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscription_plans/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a subscription plan by ID */\n get: operations[\"GetSubscriptionPlan\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all subscriptions */\n get: operations[\"ListSubscriptions\"];\n put?: never;\n /** Create a new subscription */\n post: operations[\"CreateSubscription\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a subscription by ID */\n get: operations[\"GetSubscription\"];\n /** Update a subscription by ID */\n put: operations[\"UpdateSubscription\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions/{id}/skip\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Skip subscription billing periods by ID */\n put: operations[\"SkipSubscription\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/subscriptions/{id}/cancel\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n /** Cancel a subscription by ID */\n put: operations[\"CancelSubscription\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/voids\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all voids */\n get: operations[\"ListVoids\"];\n put?: never;\n /** Create a void */\n post: operations[\"CreateVoid\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/voids/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a void by ID */\n get: operations[\"GetVoid\"];\n /** Update a void */\n put: operations[\"UpdateVoid\"];\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_attempts\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all webhook attempts */\n get: operations[\"ListWebhookAttempts\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_endpoints\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all webhook endpoints */\n get: operations[\"ListWebhookEndpoints\"];\n put?: never;\n /** Create a webhook endpoint */\n post: operations[\"CreateWebhookEndpoint\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_endpoints/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Retrieve a webhook endpoint by ID */\n get: operations[\"GetWebhookEndpoint\"];\n /** Update a webhook endpoint by ID */\n put: operations[\"UpdateWebhookEndpoint\"];\n post?: never;\n /** Delete a webhook endpoint by ID */\n delete: operations[\"DeleteWebhookEndpoint\"];\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_requests\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** List all webhook requests */\n get: operations[\"ListWebhookRequests\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_requests/{id}/resend\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n get?: never;\n put?: never;\n /** Resend webhook request by ID */\n post: operations[\"ResendWebhookRequest\"];\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n \"/webhook_requests/{id}\": {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n /** Get webhook request by ID */\n get: operations[\"RetrieveWebhookRequest\"];\n put?: never;\n post?: never;\n delete?: never;\n options?: never;\n head?: never;\n patch?: never;\n trace?: never;\n };\n}\nexport type webhooks = Record<string, never>;\nexport interface components {\n schemas: {\n Meta: {\n current_page?: number;\n prev_page?: number | null;\n next_page?: number | null;\n first_page?: boolean;\n };\n /**\n * Metadata\n * @description Additional metadata key-value pairs\n */\n Metadata: {\n [key: string]: string | null;\n };\n Error: {\n errors: {\n [key: string]: string[];\n };\n };\n /** @description Decoded JWT payload for embed token responses. */\n EmbedTokenJwt: {\n /** Format: uuid */\n account_id?: string;\n /** Format: uuid */\n payment_intent_id?: string | null;\n /** Format: uuid */\n setup_intent_id?: string | null;\n };\n /** @description Decoded JWT payload for render token responses. */\n RenderTokenJwt: {\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n env?: string;\n origins?: string[];\n /** Format: uuid */\n render_template_id?: string;\n };\n EmbedToken: {\n /** @description JWT string used for embedded payment and setup intent flows. When decoded, the JWT payload matches the EmbedTokenJwt schema. */\n token?: string;\n ttl?: number;\n };\n RenderToken: {\n /** @description JWT string used for render template initialization. When decoded, the JWT payload matches the RenderTokenJwt schema. */\n token?: string;\n ttl?: number;\n };\n BankAccountProfileInput: {\n account_holder_name?: string;\n account_holder_type?: string;\n account_type?: string;\n bank_name?: string;\n currency?: string;\n encrypted_account_number?: string;\n routing_number?: string;\n };\n BankAccountProfile: {\n account_holder_name?: string;\n account_holder_type?: string;\n account_type?: string;\n bank_name?: string;\n /** @enum {string|null} */\n failure_reason?: \"activation_failed\" | \"processing_error\" | \"vault_failed\" | null;\n fingerprint?: string | null;\n last4?: string;\n routing_number?: string;\n state?: string;\n token?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n BillingAddressInput: {\n address_line1?: string;\n address_line2?: string | null;\n city?: string;\n country?: string;\n email?: string;\n name?: string;\n phone?: string;\n postal_code?: string;\n state?: string;\n };\n BillingAddress: {\n address_line1?: string;\n address_line2?: string | null;\n city?: string;\n country?: string;\n email?: string;\n name?: string;\n phone?: string;\n postal_code?: string;\n state?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CardProfileInput: {\n card_holder_name?: string;\n cvc?: string;\n encrypted_card_number?: string;\n exp_month?: number;\n exp_year?: number;\n moto?: boolean;\n };\n GooglePayCardProfileInput: {\n wallet_brand?: string;\n wallet_last4?: string;\n wallet_payload?: string;\n wallet_provider?: components[\"schemas\"][\"WalletProviderType\"];\n };\n CardProfile: {\n avs_check?: string;\n avs_check_message?: string | null;\n brand?: string;\n card_holder_name?: string;\n cvc_check?: string;\n cvc_check_message?: string | null;\n exp_month?: number;\n exp_year?: number;\n /** @enum {string|null} */\n failure_reason?: \"authorization_failed\" | \"avs_blocked\" | \"brand_not_allowed\" | \"brand_not_found\" | \"cvc_blocked\" | \"processing_error\" | \"vault_failed\" | null;\n first6?: string;\n funding?: string | null;\n fingerprint?: string | null;\n last4?: string;\n state?: string;\n three_d_secure_supported?: boolean | null;\n token?: string;\n wallet_provider?: components[\"schemas\"][\"WalletProviderType\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n UpdateAccountInput: {\n mcc?: string;\n };\n UpdateAccountRequest: {\n account: components[\"schemas\"][\"UpdateAccountInput\"];\n };\n Account: {\n /** Format: uuid */\n id?: string;\n name?: string;\n active?: boolean;\n /** Format: uuid */\n merchant_id?: string;\n /** Format: uuid */\n processor_id?: string;\n worldpay_mid?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n Charge: {\n id?: string;\n /** Format: uuid */\n account_id?: string;\n adjustment_reason?: string;\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n failure_code?: string | null;\n failure_reason?: string | null;\n /** @enum {string|null} */\n allowed_reverse_action?: \"void\" | \"refund\" | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n original_transaction_id?: string;\n /** Format: uuid */\n parent_transaction_id?: string;\n /** Format: uuid */\n payment_intent_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n platform_fee?: number;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n /** @enum {string} */\n state?: \"cancelled\" | \"errored\" | \"failed\" | \"processing\" | \"requires_capture\" | \"requires_confirmation\" | \"requires_review\" | \"settlement_failed\" | \"succeeded\";\n statement_descriptor?: string;\n /** Format: date-time */\n succeeded_at?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateCustomerInput: {\n /** Format: uuid */\n account_id?: string;\n name?: string;\n email?: string;\n phone?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateCustomerRequest: {\n customer: components[\"schemas\"][\"CreateCustomerInput\"];\n };\n UpdateCustomerInput: {\n email?: string;\n name?: string;\n /** Format: uuid */\n payment_method_id?: string;\n phone?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateCustomerRequest: {\n customer: components[\"schemas\"][\"UpdateCustomerInput\"];\n };\n Customer: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n email?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n name?: string;\n /** Format: uuid */\n payment_method_id?: string;\n phone?: string;\n type?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateExternalAccountInput: {\n metadata?: components[\"schemas\"][\"Metadata\"];\n external_billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n external_bank_account_profile_attributes?: components[\"schemas\"][\"BankAccountProfileInput\"];\n external_card_profile_attributes?: components[\"schemas\"][\"CardProfileInput\"];\n };\n CreateExternalAccountRequest: {\n external_account: components[\"schemas\"][\"CreateExternalAccountInput\"];\n };\n ExternalAccount: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** @enum {string} */\n type?: \"external_card\" | \"external_bank_account\";\n external_bank_account_profile?: components[\"schemas\"][\"BankAccountProfile\"];\n external_card_profile?: components[\"schemas\"][\"CardProfile\"];\n external_billing_address?: components[\"schemas\"][\"BillingAddress\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateFileUploadInput: {\n content_type: string;\n file_name: string;\n purpose: string;\n };\n CreateFileUploadRequest: {\n file: components[\"schemas\"][\"CreateFileUploadInput\"];\n };\n FileDownload: {\n /** Format: uuid */\n id: string;\n content_type: string;\n file_name: string;\n purpose: string;\n state: string;\n download: components[\"schemas\"][\"FileDownloadConfiguration\"];\n };\n FileDownloadConfiguration: {\n /** Format: uri */\n url: string;\n method: string;\n /** Format: date-time */\n expires_at: string;\n };\n FileUpload: {\n /** Format: uuid */\n id: string;\n content_type: string;\n file_name: string;\n purpose: string;\n state: string;\n upload: components[\"schemas\"][\"FileUploadConfiguration\"];\n };\n FileUploadConfiguration: {\n /** Format: uri */\n url: string;\n method: string;\n headers: {\n [key: string]: string;\n };\n /** Format: date-time */\n expires_at: string;\n };\n CreateLegalEntityApplicationDocumentInput: {\n /** Format: uuid */\n legal_entity_application_id?: string;\n document_type?: components[\"schemas\"][\"LegalEntityDocumentType\"];\n /** Format: uuid */\n file_upload_id?: string;\n };\n CreateLegalEntityApplicationDocumentRequest: {\n legal_entity_application_document: components[\"schemas\"][\"CreateLegalEntityApplicationDocumentInput\"];\n };\n LegalEntityApplicationDocument: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n legal_entity_application_id?: string;\n document_type?: components[\"schemas\"][\"LegalEntityDocumentType\"];\n /** Format: uuid */\n file_upload_id?: string;\n file_name?: string;\n byte_size?: number;\n /** Format: date-time */\n created_at?: string;\n };\n CreateLegalEntityApplicationPrincipalInput: {\n /** Format: uuid */\n legal_entity_application_id?: string;\n title?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n tax_id?: string;\n date_of_birth?: string;\n address_line1?: string;\n address_line2?: string;\n city?: string;\n state?: string;\n country?: string;\n postal_code?: string;\n stake_percent?: number;\n contact_phone?: string;\n };\n CreateLegalEntityApplicationPrincipalRequest: {\n legal_entity_application_principal: components[\"schemas\"][\"CreateLegalEntityApplicationPrincipalInput\"];\n };\n LegalEntityApplicationPrincipal: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n legal_entity_application_id?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n date_of_birth?: string;\n address_line1?: string;\n address_line2?: string;\n city?: string;\n state?: string;\n country?: string;\n postal_code?: string;\n stake_percent?: number;\n contact_phone?: string;\n tax_id_last4?: string;\n title?: string;\n };\n LegalEntityPrincipal: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n title?: string;\n first_name?: string;\n last_name?: string;\n email?: string;\n date_of_birth?: string;\n address_line1?: string;\n address_line2?: string;\n city?: string;\n state?: string;\n country?: string;\n postal_code?: string;\n contact_phone?: string;\n tax_id_last4?: string;\n };\n /** @enum {string} */\n LegalEntityEntityType: \"individual_sole_proprietorship\" | \"corporation\" | \"limited_liability_company\" | \"partnership\" | \"limited_partnership\" | \"general_partnership\" | \"tax_exempt_organization\" | \"government_agency\";\n /** @enum {string} */\n LegalEntityOwnershipType: \"public\" | \"private\";\n /** @enum {string} */\n LegalEntityDocumentType: \"irs_cp_575\";\n /** @enum {string} */\n MerchantBusinessCategoryType: \"business_association\" | \"charity\" | \"church\" | \"county\" | \"federal\" | \"fraternal_org\" | \"government\" | \"higher_education\" | \"k12\" | \"labor_union\" | \"local\" | \"ministry\" | \"pac\" | \"parachurch\" | \"party\" | \"preschool\" | \"social_club\" | \"social_welfare\" | \"state\" | \"tribal\" | \"vendor\" | \"veterans_org\";\n /** @enum {string} */\n PaymentLinkAmountType: \"fixed\" | \"open\";\n /** @enum {string} */\n PaymentMethodType: \"card\" | \"bank_account\" | \"googlepay\" | \"applepay\";\n /** @description Payment method details used when confirming an embedded intent with a new payment method. */\n EmbedConfirmPaymentMethodInput: components[\"schemas\"][\"EmbedConfirmCardPaymentMethodInput\"] | components[\"schemas\"][\"EmbedConfirmBankAccountPaymentMethodInput\"] | components[\"schemas\"][\"EmbedConfirmGooglePayPaymentMethodInput\"] | components[\"schemas\"][\"EmbedConfirmApplePayPaymentMethodInput\"];\n EmbedConfirmCardPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"card\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes: components[\"schemas\"][\"CardProfileInput\"];\n };\n EmbedConfirmBankAccountPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"bank_account\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n bank_account_profile_attributes: components[\"schemas\"][\"BankAccountProfileInput\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n };\n EmbedConfirmGooglePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"googlepay\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes: components[\"schemas\"][\"GooglePayCardProfileInput\"];\n };\n EmbedConfirmApplePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"applepay\";\n metadata?: components[\"schemas\"][\"Metadata\"];\n billing_address_attributes?: components[\"schemas\"][\"BillingAddressInput\"];\n card_profile_attributes: components[\"schemas\"][\"CardProfileInput\"];\n };\n AllowedCardPaymentMethodOptions: {\n moto?: boolean;\n };\n /** @description No configurable options for bank account payment methods. */\n AllowedBankAccountPaymentMethodOptions: Record<string, never>;\n /** @description No configurable options for Google Pay payment methods. */\n AllowedGooglePayPaymentMethodOptions: Record<string, never>;\n /** @description No configurable options for Apple Pay payment methods. */\n AllowedApplePayPaymentMethodOptions: Record<string, never>;\n AllowedCardPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"card\";\n options?: components[\"schemas\"][\"AllowedCardPaymentMethodOptions\"];\n };\n AllowedBankAccountPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"bank_account\";\n options?: components[\"schemas\"][\"AllowedBankAccountPaymentMethodOptions\"];\n };\n AllowedGooglePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"googlepay\";\n options?: components[\"schemas\"][\"AllowedGooglePayPaymentMethodOptions\"];\n };\n AllowedApplePayPaymentMethodInput: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"applepay\";\n options?: components[\"schemas\"][\"AllowedApplePayPaymentMethodOptions\"];\n };\n /** @description Payment method allowed on a render template, payment link, or merchant application. */\n AllowedPaymentMethodInput: components[\"schemas\"][\"AllowedCardPaymentMethodInput\"] | components[\"schemas\"][\"AllowedBankAccountPaymentMethodInput\"] | components[\"schemas\"][\"AllowedGooglePayPaymentMethodInput\"] | components[\"schemas\"][\"AllowedApplePayPaymentMethodInput\"];\n AllowedCardPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"card\";\n options: components[\"schemas\"][\"AllowedCardPaymentMethodOptions\"];\n };\n AllowedBankAccountPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"bank_account\";\n options: components[\"schemas\"][\"AllowedBankAccountPaymentMethodOptions\"];\n };\n AllowedGooglePayPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"googlepay\";\n options: components[\"schemas\"][\"AllowedGooglePayPaymentMethodOptions\"];\n };\n AllowedApplePayPaymentMethod: {\n /**\n * @description discriminator enum property added by openapi-typescript\n * @enum {string}\n */\n type: \"applepay\";\n options: components[\"schemas\"][\"AllowedApplePayPaymentMethodOptions\"];\n };\n /** @description Allowed payment method returned in API responses and render token JWT payloads. */\n AllowedPaymentMethod: components[\"schemas\"][\"AllowedCardPaymentMethod\"] | components[\"schemas\"][\"AllowedBankAccountPaymentMethod\"] | components[\"schemas\"][\"AllowedGooglePayPaymentMethod\"] | components[\"schemas\"][\"AllowedApplePayPaymentMethod\"];\n /** @enum {string} */\n PayoutDirectionType: \"credit\" | \"debit\";\n /** @enum {string} */\n PayoutStateType: \"pending\" | \"processing\" | \"succeeded\" | \"failed\" | \"errored\" | \"accepted\" | \"rejected\";\n /** @enum {string} */\n RefundStateType: \"pending\" | \"processing\" | \"requires_review\" | \"succeeded\" | \"cancelled\" | \"failed\";\n /** @enum {string} */\n SubscriptionIntervalType: \"day\" | \"week\" | \"month\" | \"year\";\n /** @enum {string} */\n SubscriptionPlanType: \"fixed\" | \"variable\";\n /** @enum {string} */\n TransactionSourceType: \"api\" | \"dashboard\" | \"iframe\" | \"system\" | \"subscription\";\n /** @enum {string} */\n WalletProviderType: \"googlepay\" | \"applepay\";\n /** @enum {string} */\n WebhookEventType: \"charge.cancelled\" | \"charge.created\" | \"charge.errored\" | \"charge.failed\" | \"charge.processing\" | \"charge.requires_capture\" | \"charge.requires_confirmation\" | \"charge.requires_review\" | \"charge.settlement_failed\" | \"charge.succeeded\" | \"customer.created\" | \"customer.updated\" | \"legal_entity.created\" | \"legal_entity.updated\" | \"legal_entity_principal.created\" | \"legal_entity_principal.updated\" | \"legal_entity_application.approved\" | \"legal_entity_application.denied\" | \"legal_entity_application.needs_information\" | \"legal_entity_application.pending\" | \"legal_entity_application.submitted\" | \"merchant.created\" | \"merchant.updated\" | \"payment_intent.cancelled\" | \"payment_intent.created\" | \"payment_intent.errored_authorization\" | \"payment_intent.errored_capture\" | \"payment_intent.errored_sale\" | \"payment_intent.processing_authorization\" | \"payment_intent.processing_capture\" | \"payment_intent.processing_sale\" | \"payment_intent.requires_capture\" | \"payment_intent.requires_confirmation\" | \"payment_intent.requires_payment_method\" | \"payment_intent.requires_review\" | \"payment_intent.succeeded\" | \"processor_transaction.completed\" | \"reconciliation.created\" | \"refund.cancelled\" | \"refund.created\" | \"refund.failed\" | \"refund.pending\" | \"refund.processing\" | \"refund.requires_review\" | \"refund.succeeded\" | \"void.created\" | \"void.failed\" | \"void.pending\" | \"void.processing\" | \"void.requires_review\" | \"void.succeeded\";\n CreateLegalEntityApplicationInput: {\n legal_name?: string;\n entity_type?: components[\"schemas\"][\"LegalEntityEntityType\"];\n ownership_type?: components[\"schemas\"][\"LegalEntityOwnershipType\"];\n tax_id?: string;\n contact_email?: string;\n contact_phone?: string;\n business_address_line1?: string;\n business_address_line2?: string;\n business_city?: string;\n business_state?: string;\n business_postal_code?: string;\n business_country?: string;\n };\n CreateLegalEntityApplicationRequest: {\n legal_entity_application: components[\"schemas\"][\"CreateLegalEntityApplicationInput\"];\n };\n LegalEntityApplicationRequirement: {\n /** Format: uuid */\n id?: string;\n requirement_type?: string;\n state?: string;\n message?: string;\n reason_code?: string | null;\n /** Format: date-time */\n satisfied_at?: string | null;\n /** Format: date-time */\n waived_at?: string | null;\n };\n LegalEntity: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n organization_id?: string;\n legal_name?: string;\n /** Format: uuid */\n parent_legal_entity_id?: string | null;\n entity_type?: components[\"schemas\"][\"LegalEntityEntityType\"];\n ownership_type?: components[\"schemas\"][\"LegalEntityOwnershipType\"];\n contact_email?: string;\n contact_phone?: string;\n business_address_line1?: string;\n business_address_line2?: string | null;\n business_city?: string;\n business_state?: string;\n business_postal_code?: string;\n business_country?: string;\n tax_id_last4?: string;\n /** Format: date-time */\n created_at?: string;\n };\n LegalEntityApplication: {\n /** Format: uuid */\n id?: string;\n legal_name?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n entity_type?: components[\"schemas\"][\"LegalEntityEntityType\"];\n ownership_type?: components[\"schemas\"][\"LegalEntityOwnershipType\"];\n contact_email?: string;\n contact_phone?: string;\n business_address_line1?: string;\n business_address_line2?: string | null;\n business_city?: string;\n business_state?: string;\n business_postal_code?: string;\n business_country?: string;\n state?: string;\n tax_id_last4?: string;\n /** Format: date-time */\n approved_at?: string | null;\n /** Format: date-time */\n denied_at?: string | null;\n /** Format: date-time */\n needs_information_at?: string | null;\n decision_reason?: string | null;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n requirements?: components[\"schemas\"][\"LegalEntityApplicationRequirement\"][];\n };\n CreateMerchantApplicationInput: {\n annual_credit_card_sales_volume?: number;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethodInput\"][];\n bank_account_number?: string;\n bank_routing_number?: string;\n business_category?: components[\"schemas\"][\"MerchantBusinessCategoryType\"];\n business_description?: string;\n city?: string;\n country_code?: string;\n customer_service_number?: string;\n dba_name?: string;\n /** Format: uuid */\n legal_entity_application_id?: string;\n max_transaction_amount?: number;\n postal_code?: string;\n primary_contact_email_address?: string;\n primary_contact_first_name?: string;\n primary_contact_last_name?: string;\n primary_contact_phone?: string;\n state_province?: string;\n street_address1?: string;\n street_address2?: string;\n website_url?: string;\n };\n CreateMerchantApplicationRequest: {\n merchant_application: components[\"schemas\"][\"CreateMerchantApplicationInput\"];\n };\n MerchantApplication: {\n /** Format: uuid */\n id?: string;\n annual_credit_card_sales_volume?: number;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n business_category?: components[\"schemas\"][\"MerchantBusinessCategoryType\"];\n business_description?: string;\n city?: string;\n country_code?: string;\n customer_service_number?: string;\n dba_name?: string;\n echeck_billing_descriptor?: string;\n echeck_company_name?: string;\n echeck_enabled?: string;\n hard_coded_billing_descriptor?: string;\n has_accepted_credit_cards?: boolean;\n /** Format: uuid */\n legal_entity_application_id?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n max_transaction_amount?: string;\n mcc?: string;\n postal_code?: string;\n primary_contact_email_address?: string;\n primary_contact_first_name?: string;\n primary_contact_last_name?: string;\n primary_contact_phone?: string;\n purchase_currency?: string;\n settlement_currency?: string;\n state_province?: string;\n street_address1?: string;\n street_address2?: string;\n website_url?: string;\n };\n Merchant: {\n /** Format: uuid */\n id?: string;\n active?: boolean;\n /** Format: uuid */\n organization_id?: string;\n /** Format: uuid */\n legal_entity_id?: string;\n annual_credit_card_sales_volume?: number;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n business_category?: components[\"schemas\"][\"MerchantBusinessCategoryType\"];\n business_description?: string;\n city?: string;\n country_code?: string;\n customer_service_number?: string;\n has_accepted_credit_cards?: boolean;\n dba_name?: string;\n echeck_billing_descriptor?: string;\n echeck_company_name?: string;\n echeck_enabled?: boolean;\n hard_coded_billing_descriptor?: string;\n max_transaction_amount?: number;\n /** Format: uuid */\n merchant_application_id?: string;\n mcc?: string;\n naics_code?: string;\n postal_code?: string;\n primary_contact_email_address?: string;\n primary_contact_first_name?: string;\n primary_contact_last_name?: string;\n primary_contact_phone?: string;\n purchase_currency?: string;\n settlement_currency?: string;\n street_address1?: string;\n street_address2?: string;\n sub_merchant_id?: string;\n website_url?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateOriginInput: {\n value?: string;\n };\n CreateOriginRequest: {\n origin: components[\"schemas\"][\"CreateOriginInput\"];\n };\n Origin: {\n /** Format: uuid */\n id?: string;\n value?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreatePaymentIntentInput: {\n amount: number;\n capture_method?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n statement_descriptor?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n recurring_payment?: components[\"schemas\"][\"RecurringPayment\"];\n };\n CreatePaymentIntentRequest: {\n payment_intent: components[\"schemas\"][\"CreatePaymentIntentInput\"];\n };\n ConfirmPaymentIntentWithPaymentMethodInput: {\n /** Format: uuid */\n payment_method_id?: string;\n payment_method: components[\"schemas\"][\"EmbedConfirmPaymentMethodInput\"];\n } | {\n /** Format: uuid */\n payment_method_id: string;\n payment_method?: components[\"schemas\"][\"EmbedConfirmPaymentMethodInput\"];\n };\n ConfirmPaymentIntentWithPaymentMethodRequest: {\n payment_intent: components[\"schemas\"][\"ConfirmPaymentIntentWithPaymentMethodInput\"];\n };\n UpdatePaymentIntentInput: {\n /** Format: uuid */\n payment_method_id?: string;\n amount?: number;\n metadata?: components[\"schemas\"][\"Metadata\"];\n recurring_payment?: components[\"schemas\"][\"RecurringPayment\"];\n };\n UpdatePaymentIntentRequest: {\n payment_intent: components[\"schemas\"][\"UpdatePaymentIntentInput\"];\n };\n PaymentIntent: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n amount?: number;\n capture_method?: string;\n /** Format: uuid */\n charge_id?: string;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n recurring_payment?: components[\"schemas\"][\"RecurringPayment\"];\n /** Format: uuid */\n payment_method_id?: string;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n /** @enum {string} */\n state?: \"requires_payment_method\" | \"requires_confirmation\" | \"requires_capture\" | \"processing_authorization\" | \"processing_capture\" | \"processing_sale\" | \"requires_review\" | \"succeeded\" | \"cancelled\" | \"errored_authorization\" | \"errored_capture\" | \"errored_sale\";\n statement_descriptor?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n RecurringPayment: {\n network_transaction_id?: string;\n transaction_link_id?: string;\n };\n CreatePaymentLinkInput: {\n slug?: string;\n active?: boolean;\n amount_type?: components[\"schemas\"][\"PaymentLinkAmountType\"];\n amount?: number;\n /** Format: uri */\n image_url?: string;\n minimum_amount?: number;\n maximum_amount?: number;\n suggested_amounts?: number[];\n currency?: string;\n description?: string | null;\n statement_descriptor?: string;\n /** Format: uri */\n success_url?: string;\n title?: string;\n /** Format: uri */\n cancel_url?: string;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethodInput\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreatePaymentLinkRequest: {\n payment_link: components[\"schemas\"][\"CreatePaymentLinkInput\"];\n };\n PaymentLink: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n organization_id?: string;\n /** Format: uuid */\n account_id?: string;\n slug?: string;\n active?: boolean;\n amount_type?: components[\"schemas\"][\"PaymentLinkAmountType\"];\n amount?: number;\n /** Format: uri */\n image_url?: string;\n minimum_amount?: number;\n maximum_amount?: number;\n suggested_amounts?: number[];\n currency?: string;\n description?: string | null;\n statement_descriptor?: string;\n /** Format: uri */\n success_url?: string;\n title?: string;\n /** Format: uri */\n cancel_url?: string;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n PaymentMethod: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n customer_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n type?: components[\"schemas\"][\"PaymentMethodType\"];\n bank_account_profile?: components[\"schemas\"][\"BankAccountProfile\"];\n billing_address?: components[\"schemas\"][\"BillingAddress\"];\n card_profile?: components[\"schemas\"][\"CardProfile\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreatePayoutInput: {\n /** Format: uuid */\n external_account_id: string;\n amount: number;\n currency?: string;\n direction: components[\"schemas\"][\"PayoutDirectionType\"];\n prefix?: string;\n addenda?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreatePayoutRequest: {\n payout: components[\"schemas\"][\"CreatePayoutInput\"];\n };\n CreateBulkPayoutInput: {\n /** Format: uuid */\n account_id: string;\n /** Format: uuid */\n external_account_id: string;\n amount: number;\n currency?: string;\n direction: components[\"schemas\"][\"PayoutDirectionType\"];\n prefix?: string;\n addenda?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateBulkPayoutsRequest: {\n payouts: components[\"schemas\"][\"CreateBulkPayoutInput\"][];\n };\n Payout: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n addenda?: string | null;\n /** Format: uuid */\n external_account_id?: string;\n amount?: number;\n currency?: string;\n direction?: components[\"schemas\"][\"PayoutDirectionType\"];\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n organization_id?: string;\n prefix?: string;\n public_id?: string;\n state?: components[\"schemas\"][\"PayoutStateType\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n ProcessorTransaction: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n approved?: boolean;\n avs_check?: string;\n avs_check_message?: string;\n cvc_check?: string;\n cvc_check_message?: string;\n external_reference?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n payment_method_id?: string;\n /** Format: uuid */\n payment_transaction_id?: string;\n /** @enum {string} */\n payment_transaction_type?: \"charge\" | \"refund\" | \"void\";\n /** Format: uuid */\n processor_transaction_id?: string;\n processor_reference?: string;\n network_transaction_id?: string;\n transaction_link_id?: string;\n /** @enum {string} */\n transaction_type?: \"authorization\" | \"authorization_reversal\" | \"capture\" | \"credit\" | \"echeck_credit\" | \"echeck_sale\" | \"echeck_void\" | \"sale\" | \"void\";\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateProductInput: {\n name: string;\n description: string;\n active?: boolean;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateProductRequest: {\n product: components[\"schemas\"][\"CreateProductInput\"];\n };\n UpdateProductInput: {\n name?: string;\n description?: string;\n active?: boolean;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateProductRequest: {\n product: components[\"schemas\"][\"UpdateProductInput\"];\n };\n Product: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n name?: string;\n description?: string;\n active?: boolean;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateRefundInput: {\n amount?: number;\n adjustment_reason?: string;\n /** Format: uuid */\n parent_transaction_id: string;\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateRefundRequest: {\n refund: components[\"schemas\"][\"CreateRefundInput\"];\n };\n UpdateRefundInput: {\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateRefundRequest: {\n refund: components[\"schemas\"][\"UpdateRefundInput\"];\n };\n Refund: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n adjustment_reason?: string;\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n failure_code?: string | null;\n failure_reason?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n original_transaction_id?: string;\n /** Format: uuid */\n parent_transaction_id?: string;\n /** Format: uuid */\n payment_intent_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n platform_fee?: number;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n state?: components[\"schemas\"][\"RefundStateType\"];\n statement_descriptor?: string;\n /** Format: date-time */\n succeeded_at?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n /** @enum {string|null} */\n allowed_reverse_action?: \"void\" | null;\n };\n CreateRenderTemplateInput: {\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethodInput\"][];\n currency?: string;\n origin_ids?: string[];\n };\n CreateRenderTemplateRequest: {\n render_template: components[\"schemas\"][\"CreateRenderTemplateInput\"];\n };\n RenderTemplate: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n organization_id?: string;\n allowed_payment_methods?: components[\"schemas\"][\"AllowedPaymentMethod\"][];\n currency?: string;\n };\n CreateSetupIntentInput: {\n /** Format: uuid */\n customer_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateSetupIntentRequest: {\n setup_intent: components[\"schemas\"][\"CreateSetupIntentInput\"];\n };\n ConfirmSetupIntentWithPaymentMethodInput: {\n /** Format: uuid */\n payment_method_id?: string;\n payment_method: components[\"schemas\"][\"EmbedConfirmPaymentMethodInput\"];\n } | {\n /** Format: uuid */\n payment_method_id: string;\n payment_method?: components[\"schemas\"][\"EmbedConfirmPaymentMethodInput\"];\n };\n ConfirmSetupIntentWithPaymentMethodRequest: {\n setup_intent: components[\"schemas\"][\"ConfirmSetupIntentWithPaymentMethodInput\"];\n };\n SetupIntent: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n /** Format: uuid */\n customer_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n payment_method_id?: string;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n /** @enum {string} */\n state?: \"requires_payment_method\" | \"requires_confirmation\" | \"verifying\" | \"requires_review\" | \"succeeded\" | \"failed\" | \"cancelled\" | \"errored\";\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateSubscriptionInput: {\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n cycles?: number;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n /** Format: uuid */\n subscription_plan_id?: string;\n };\n CreateSubscriptionRequest: {\n subscription: components[\"schemas\"][\"CreateSubscriptionInput\"];\n };\n UpdateSubscriptionInput: {\n /** Format: uuid */\n payment_method_id?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateSubscriptionRequest: {\n subscription: components[\"schemas\"][\"UpdateSubscriptionInput\"];\n };\n SkipSubscriptionInput: {\n period_count?: number;\n };\n SkipSubscriptionRequest: {\n subscription: components[\"schemas\"][\"SkipSubscriptionInput\"];\n };\n Subscription: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n amount?: number;\n currency?: string;\n cycles?: number;\n /** Format: uuid */\n subscription_plan_id?: string;\n /** Format: uuid */\n customer_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n /** @enum {string} */\n state?: \"active\" | \"paused\" | \"past_due\" | \"cancelled\";\n cycles_completed?: number;\n skip_billing_periods_remaining?: number;\n skipped_billing_periods_count?: number;\n /** Format: date-time */\n current_billing_period_start?: string;\n /** Format: date-time */\n current_billing_period_end?: string;\n /** Format: date-time */\n trial_ends_at?: string | null;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateSubscriptionPlanInput: {\n active?: boolean;\n amount?: number;\n currency?: string;\n cycles?: number;\n /** Format: uuid */\n product_id?: string;\n description?: string;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n metadata?: components[\"schemas\"][\"Metadata\"];\n name?: string;\n plan_type?: components[\"schemas\"][\"SubscriptionPlanType\"];\n trial_period_days?: number;\n };\n CreateSubscriptionPlanRequest: {\n subscription_plan: components[\"schemas\"][\"CreateSubscriptionPlanInput\"];\n };\n UpdateChargeInput: {\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateChargeRequest: {\n charge: components[\"schemas\"][\"UpdateChargeInput\"];\n };\n SubscriptionPlan: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n /** Format: uuid */\n product_id?: string;\n active?: boolean;\n amount?: number;\n currency?: string;\n cycles?: number;\n description?: string;\n interval?: components[\"schemas\"][\"SubscriptionIntervalType\"];\n interval_count?: number;\n metadata?: components[\"schemas\"][\"Metadata\"];\n name?: string;\n plan_type?: components[\"schemas\"][\"SubscriptionPlanType\"];\n trial_period_days?: number;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateVoidInput: {\n adjustment_reason?: string;\n /** Format: uuid */\n parent_transaction_id: string;\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n CreateVoidRequest: {\n void: components[\"schemas\"][\"CreateVoidInput\"];\n };\n UpdateVoidInput: {\n description?: string;\n metadata?: components[\"schemas\"][\"Metadata\"];\n };\n UpdateVoidRequest: {\n void: components[\"schemas\"][\"UpdateVoidInput\"];\n };\n Void: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n account_id?: string;\n adjustment_reason?: string;\n amount?: number;\n currency?: string;\n /** Format: uuid */\n customer_id?: string;\n description?: string | null;\n failure_code?: string | null;\n failure_reason?: string | null;\n metadata?: components[\"schemas\"][\"Metadata\"];\n /** Format: uuid */\n original_transaction_id?: string;\n /** Format: uuid */\n parent_transaction_id?: string;\n /** Format: uuid */\n payment_intent_id?: string;\n /** Format: uuid */\n payment_method_id?: string;\n platform_fee?: number;\n source?: components[\"schemas\"][\"TransactionSourceType\"];\n state?: components[\"schemas\"][\"RefundStateType\"];\n statement_descriptor?: string;\n /** Format: date-time */\n succeeded_at?: string;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n WebhookAttempt: {\n /** Format: uuid */\n id?: string;\n /** Format: uuid */\n webhook_request_id?: string;\n error_message?: string;\n response_body?: Record<string, never>;\n status_code?: number;\n success?: boolean;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n CreateWebhookEndpointInput: {\n events?: components[\"schemas\"][\"WebhookEventType\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n active?: boolean;\n url?: string;\n };\n CreateWebhookEndpointRequest: {\n webhook_endpoint: components[\"schemas\"][\"CreateWebhookEndpointInput\"];\n };\n WebhookEndpoint: {\n /** Format: uuid */\n id?: string;\n events?: components[\"schemas\"][\"WebhookEventType\"][];\n metadata?: components[\"schemas\"][\"Metadata\"];\n secret?: string;\n url?: string;\n active?: boolean;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n WebhookRequest: {\n id?: string;\n /** Format: uuid */\n webhook_endpoint_id?: string;\n /** Format: date-time */\n expires_at?: string;\n request_body?: Record<string, never>;\n /** Format: date-time */\n created_at?: string;\n /** Format: date-time */\n updated_at?: string;\n };\n };\n responses: never;\n parameters: {\n XIdempotencyHeader: string;\n /** @description The ID of the customer to filter by */\n CustomerIdQuery: string;\n /** @description The email to filter by */\n EmailQuery: string;\n /** @description The external account ID to filter by */\n ExternalAccountIdQuery: string;\n /** @description The page of results to retrieve. */\n PageQuery: number;\n /** @description The ID of the original transaction to filter by */\n ParentTransactionIdQuery: string;\n /** @description The ID of the payment intent to filter by */\n PaymentIntentIdQuery: string;\n /** @description The ID of the customer to filter by. Mutually exclusive with payment_intent_id. */\n PaymentMethodCustomerIdQuery: string;\n /** @description The ID of the payment method to filter by */\n PaymentMethodIdQuery: string;\n /** @description The ID of the payment transaction to filter by */\n PaymentTransactionIdQuery: string;\n /** @description The payout direction to filter by */\n PayoutDirectionQuery: components[\"schemas\"][\"PayoutDirectionType\"];\n /** @description The payout state to filter by */\n PayoutStateQuery: components[\"schemas\"][\"PayoutStateType\"];\n /** @description Number of results per page. */\n PerPageQuery: number;\n /** @description The phone to filter by */\n PhoneQuery: string;\n /** @description The ID of the webhook request to filter by */\n WebhookRequestIdQuery: string;\n };\n requestBodies: never;\n headers: never;\n pathItems: never;\n}\nexport type $defs = Record<string, never>;\nexport interface operations {\n ListAccounts: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n merchant_id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of accounts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Account\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetAccount: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single account */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Account\"];\n };\n };\n };\n };\n UpdateAccount: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateAccountRequest\"];\n };\n };\n responses: {\n /** @description A single account */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Account\"];\n };\n };\n };\n };\n ListCharges: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the payment intent to filter by */\n payment_intent_id?: components[\"parameters\"][\"PaymentIntentIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of charges */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Charge\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetCharge: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single charge */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Charge\"];\n };\n };\n };\n };\n UpdateCharge: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateChargeRequest\"];\n };\n };\n responses: {\n /** @description Charge updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Charge\"];\n };\n };\n };\n };\n ListCustomers: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The email to filter by */\n email?: components[\"parameters\"][\"EmailQuery\"];\n /** @description The phone to filter by */\n phone?: components[\"parameters\"][\"PhoneQuery\"];\n account_id?: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of customers */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Customer\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateCustomer: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateCustomerRequest\"];\n };\n };\n responses: {\n /** @description Customer created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Customer\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetCustomer: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single customer */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Customer\"];\n };\n };\n };\n };\n UpdateCustomer: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateCustomerRequest\"];\n };\n };\n responses: {\n /** @description Customer updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Customer\"];\n };\n };\n };\n };\n ListExternalAccounts: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of external accounts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"ExternalAccount\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateExternalAccount: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateExternalAccountRequest\"];\n };\n };\n responses: {\n /** @description External account created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"ExternalAccount\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetExternalAccount: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single external account */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"ExternalAccount\"];\n };\n };\n };\n };\n CreateFileUpload: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateFileUploadRequest\"];\n };\n };\n responses: {\n /** @description File upload created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"FileUpload\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetFileUpload: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description File upload retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"FileDownload\"];\n };\n };\n };\n };\n CompleteFileUpload: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description File upload completed successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"FileDownload\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListLegalEntityApplicationDocuments: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n legal_entity_application_id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of legal entity application documents */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"LegalEntityApplicationDocument\"][];\n };\n };\n };\n };\n };\n CreateLegalEntityApplicationDocument: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateLegalEntityApplicationDocumentRequest\"];\n };\n };\n responses: {\n /** @description Legal entity application document created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplicationDocument\"];\n };\n };\n /** @description Legal entity application not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Error creating legal entity application document */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListLegalEntities: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of legal entities */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"LegalEntity\"][];\n meta: Record<string, never>;\n };\n };\n };\n };\n };\n GetLegalEntity: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntity\"];\n };\n };\n };\n };\n CreateLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateLegalEntityApplicationRequest\"];\n };\n };\n responses: {\n /** @description Legal entity application created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n };\n };\n SubmitLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application submitted successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n /** @description Legal entity application could not be submitted */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ApproveLegalEntityApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application approved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplication\"];\n };\n };\n /** @description Legal entity application could not be approved */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CreateLegalEntityApplicationPrincipal: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateLegalEntityApplicationPrincipalRequest\"];\n };\n };\n responses: {\n /** @description Legal entity application principal created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplicationPrincipal\"];\n };\n };\n /** @description Legal entity application not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Error creating legal entity application principal */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetLegalEntityApplicationPrincipal: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Legal entity application principal retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityApplicationPrincipal\"];\n };\n };\n };\n };\n ListLegalEntityPrincipals: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the legal_entity */\n legal_entity_id: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of legal entity principals */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"LegalEntityPrincipal\"][];\n meta: Record<string, never>;\n };\n };\n };\n };\n };\n GetLegalEntityPrincipal: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the legal entity principal to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of a legal entity principal */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"LegalEntityPrincipal\"];\n };\n };\n };\n };\n CreateMerchantApplication: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateMerchantApplicationRequest\"];\n };\n };\n responses: {\n /** @description Merchant application created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"MerchantApplication\"];\n };\n };\n /** @description Legal entity application not found */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Error creating merchant application */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetMerchantApplication: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the merchant application to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of a merchant application */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"MerchantApplication\"];\n };\n };\n };\n };\n ListMerchants: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of merchants */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Merchant\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetMerchant: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the merchant to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of a merchant */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Merchant\"];\n };\n };\n };\n };\n ListOrigins: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of origins */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Origin\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateOrigin: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateOriginRequest\"];\n };\n };\n responses: {\n /** @description Origin created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Origin\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetEmbedPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n };\n };\n ConfirmEmbedPaymentIntentWithPaymentMethod: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to confirm */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"ConfirmPaymentIntentWithPaymentMethodRequest\"];\n };\n };\n responses: {\n /** @description Successful confirmation of payment intent */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n /** @description Unprocessable content */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListPaymentIntents: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payment intents */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"PaymentIntent\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreatePaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreatePaymentIntentRequest\"];\n };\n };\n responses: {\n /** @description Successful creation of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"EmbedToken\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListPaymentLinks: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payment links */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"PaymentLink\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreatePaymentLink: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreatePaymentLinkRequest\"];\n };\n };\n responses: {\n /** @description Payment link created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentLink\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n };\n };\n CancelPaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to cancel */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful cancellation of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CapturePaymentIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the payment intent to capture */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful capture of payment intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentIntent\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListPaymentMethods: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the customer to filter by. Mutually exclusive with payment_intent_id. */\n customer_id?: components[\"parameters\"][\"PaymentMethodCustomerIdQuery\"];\n /** @description The ID of the payment intent to filter by */\n payment_intent_id?: components[\"parameters\"][\"PaymentIntentIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payment methods */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"PaymentMethod\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n GetPaymentMethod: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single payment method */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"PaymentMethod\"];\n };\n };\n };\n };\n ListPayouts: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The external account ID to filter by */\n external_account_id?: components[\"parameters\"][\"ExternalAccountIdQuery\"];\n /** @description The payout direction to filter by */\n direction?: components[\"parameters\"][\"PayoutDirectionQuery\"];\n /** @description The payout state to filter by */\n state?: components[\"parameters\"][\"PayoutStateQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of payouts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Payout\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreatePayout: {\n parameters: {\n query?: never;\n header?: {\n \"X-Idempotency-Key\"?: components[\"parameters\"][\"XIdempotencyHeader\"];\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreatePayoutRequest\"];\n };\n };\n responses: {\n /** @description Payout created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Payout\"];\n };\n };\n /** @description Error creating payout */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n BulkCreatePayouts: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateBulkPayoutsRequest\"];\n };\n };\n responses: {\n /** @description Payouts created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data?: components[\"schemas\"][\"Payout\"][];\n };\n };\n };\n /** @description Error creating payouts */\n 404: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n /** @description Error creating payouts */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetPayout: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single payout */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Payout\"];\n };\n };\n };\n };\n ListProcessorTransactions: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the payment intent to filter by */\n payment_intent_id?: components[\"parameters\"][\"PaymentIntentIdQuery\"];\n /** @description The ID of the payment method to filter by */\n payment_method_id?: components[\"parameters\"][\"PaymentMethodIdQuery\"];\n /** @description The ID of the payment transaction to filter by */\n payment_transaction_id?: components[\"parameters\"][\"PaymentTransactionIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of processor transactions */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"ProcessorTransaction\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n ListProducts: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of products */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Product\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateProduct: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateProductRequest\"];\n };\n };\n responses: {\n /** @description Product created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Product\"];\n };\n };\n /** @description Error creating product */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n UpdateProduct: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the product to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateProductRequest\"];\n };\n };\n responses: {\n /** @description Product updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Product\"];\n };\n };\n /** @description Error updating product */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListRefunds: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the customer to filter by */\n customer_id: components[\"parameters\"][\"CustomerIdQuery\"];\n /** @description The ID of the original transaction to filter by */\n parent_transaction_id?: components[\"parameters\"][\"ParentTransactionIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of refunds */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Refund\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateRefund: {\n parameters: {\n query?: never;\n header?: {\n \"X-Idempotency-Key\"?: components[\"parameters\"][\"XIdempotencyHeader\"];\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateRefundRequest\"];\n };\n };\n responses: {\n /** @description Refund created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n /** @description Error creating refund */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetRefund: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the refund to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of refund */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n };\n };\n UpdateRefund: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the refund to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateRefundRequest\"];\n };\n };\n responses: {\n /** @description Refund updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n };\n };\n CancelRefund: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the refund to cancel. */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Refund cancelled successfully */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Refund\"];\n };\n };\n };\n };\n ListRenderTemplates: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n account_id?: string;\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of render templates */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"RenderTemplate\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateRenderTemplate: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateRenderTemplateRequest\"];\n };\n };\n responses: {\n /** @description Render template created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"RenderTemplate\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetRenderTemplate: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single render template */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"RenderTemplate\"];\n };\n };\n };\n };\n CreateRenderToken: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A render token for the render template */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"RenderToken\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetSetupIntent: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the setup intent to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of setup intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SetupIntent\"];\n };\n };\n };\n };\n ConfirmSetupIntentWithPaymentMethod: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the setup intent to confirm */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"ConfirmSetupIntentWithPaymentMethodRequest\"];\n };\n };\n responses: {\n /** @description Successful confirmation of setup intent */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SetupIntent\"];\n };\n };\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n /** @description Unprocessable content */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CreateSetupIntent: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateSetupIntentRequest\"];\n };\n };\n responses: {\n /** @description Successful creation of setup intent */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"EmbedToken\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n ListSubscriptionPlans: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of subscription plans */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"SubscriptionPlan\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateSubscriptionPlan: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateSubscriptionPlanRequest\"];\n };\n };\n responses: {\n /** @description Subscription plan created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SubscriptionPlan\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetSubscriptionPlan: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription plan to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of subscription plan */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"SubscriptionPlan\"];\n };\n };\n };\n };\n ListSubscriptions: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of subscriptions */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Subscription\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateSubscriptionRequest\"];\n };\n };\n responses: {\n /** @description Subscription created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of subscription */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n };\n };\n UpdateSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateSubscriptionRequest\"];\n };\n };\n responses: {\n /** @description Subscription updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n SkipSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to skip billing periods for */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"SkipSubscriptionRequest\"];\n };\n };\n responses: {\n /** @description Subscription billing periods skipped successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n CancelSubscription: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the subscription to cancel */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful cancellation of subscription */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Subscription\"];\n };\n };\n };\n };\n ListVoids: {\n parameters: {\n query: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n /** @description The ID of the customer to filter by */\n customer_id: components[\"parameters\"][\"CustomerIdQuery\"];\n /** @description The ID of the original transaction to filter by */\n parent_transaction_id?: components[\"parameters\"][\"ParentTransactionIdQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of voids */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"Void\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateVoid: {\n parameters: {\n query?: never;\n header?: {\n \"X-Idempotency-Key\"?: components[\"parameters\"][\"XIdempotencyHeader\"];\n };\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateVoidRequest\"];\n };\n };\n responses: {\n /** @description Void created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Void\"];\n };\n };\n /** @description Error creating void */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetVoid: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the void to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Successful retrieval of void */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Void\"];\n };\n };\n };\n };\n UpdateVoid: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the void to update */\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"UpdateVoidRequest\"];\n };\n };\n responses: {\n /** @description Void updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Void\"];\n };\n };\n };\n };\n ListWebhookAttempts: {\n parameters: {\n query: {\n /** @description The ID of the webhook request to filter by */\n webhook_request_id: components[\"parameters\"][\"WebhookRequestIdQuery\"];\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of webhook attempts */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"WebhookAttempt\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n ListWebhookEndpoints: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of webhook endpoints */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"WebhookEndpoint\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n CreateWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateWebhookEndpointRequest\"];\n };\n };\n responses: {\n /** @description Webhook endpoint created successfully */\n 201: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookEndpoint\"];\n };\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n GetWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A single webhook endpoint */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookEndpoint\"];\n };\n };\n };\n };\n UpdateWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody: {\n content: {\n \"application/json\": components[\"schemas\"][\"CreateWebhookEndpointRequest\"];\n };\n };\n responses: {\n /** @description Webhook endpoint updated successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookEndpoint\"];\n };\n };\n };\n };\n DeleteWebhookEndpoint: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Webhook endpoint deleted successfully */\n 204: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n };\n };\n ListWebhookRequests: {\n parameters: {\n query?: {\n /** @description The page of results to retrieve. */\n page?: components[\"parameters\"][\"PageQuery\"];\n /** @description Number of results per page. */\n per_page?: components[\"parameters\"][\"PerPageQuery\"];\n };\n header?: never;\n path?: never;\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description A list of webhook requests */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": {\n data: components[\"schemas\"][\"WebhookRequest\"][];\n meta: components[\"schemas\"][\"Meta\"];\n };\n };\n };\n };\n };\n ResendWebhookRequest: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the webhook request to resend */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Accepted; webhook resend has been enqueued */\n 202: {\n headers: {\n [name: string]: unknown;\n };\n content?: never;\n };\n /** @description Unprocessable entity */\n 422: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"Error\"];\n };\n };\n };\n };\n RetrieveWebhookRequest: {\n parameters: {\n query?: never;\n header?: never;\n path: {\n /** @description The ID of the webhook request to retrieve */\n id: string;\n };\n cookie?: never;\n };\n requestBody?: never;\n responses: {\n /** @description Webhook request retrieved successfully */\n 200: {\n headers: {\n [name: string]: unknown;\n };\n content: {\n \"application/json\": components[\"schemas\"][\"WebhookRequest\"];\n };\n };\n };\n };\n}\ntype FlattenedDeepRequired<T> = {\n [K in keyof T]-?: FlattenedDeepRequired<T[K] extends unknown[] | undefined | null ? Extract<T[K], unknown[]>[number] : T[K]>;\n};\ntype ReadonlyArray<T> = [\n Exclude<T, undefined>\n] extends [\n unknown[]\n] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;\nexport const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"BankAccountProfile\"][\"failure_reason\"]> = [\"activation_failed\", \"processing_error\", \"vault_failed\"];\nexport const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"CardProfile\"][\"failure_reason\"]> = [\"authorization_failed\", \"avs_blocked\", \"brand_not_allowed\", \"brand_not_found\", \"cvc_blocked\", \"processing_error\", \"vault_failed\"];\nexport const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Charge\"][\"allowed_reverse_action\"]> = [\"void\", \"refund\"];\nexport const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Charge\"][\"state\"]> = [\"cancelled\", \"errored\", \"failed\", \"processing\", \"requires_capture\", \"requires_confirmation\", \"requires_review\", \"settlement_failed\", \"succeeded\"];\nexport const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"ExternalAccount\"][\"type\"]> = [\"external_card\", \"external_bank_account\"];\nexport const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"LegalEntityEntityType\"]> = [\"individual_sole_proprietorship\", \"corporation\", \"limited_liability_company\", \"partnership\", \"limited_partnership\", \"general_partnership\", \"tax_exempt_organization\", \"government_agency\"];\nexport const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"LegalEntityOwnershipType\"]> = [\"public\", \"private\"];\nexport const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"LegalEntityDocumentType\"]> = [\"irs_cp_575\"];\nexport const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"MerchantBusinessCategoryType\"]> = [\"business_association\", \"charity\", \"church\", \"county\", \"federal\", \"fraternal_org\", \"government\", \"higher_education\", \"k12\", \"labor_union\", \"local\", \"ministry\", \"pac\", \"parachurch\", \"party\", \"preschool\", \"social_club\", \"social_welfare\", \"state\", \"tribal\", \"vendor\", \"veterans_org\"];\nexport const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PaymentLinkAmountType\"]> = [\"fixed\", \"open\"];\nexport const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PaymentMethodType\"]> = [\"card\", \"bank_account\", \"googlepay\", \"applepay\"];\nexport const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmCardPaymentMethodInput\"][\"type\"]> = [\"card\"];\nexport const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmBankAccountPaymentMethodInput\"][\"type\"]> = [\"bank_account\"];\nexport const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmGooglePayPaymentMethodInput\"][\"type\"]> = [\"googlepay\"];\nexport const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"EmbedConfirmApplePayPaymentMethodInput\"][\"type\"]> = [\"applepay\"];\nexport const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedCardPaymentMethodInput\"][\"type\"]> = [\"card\"];\nexport const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedBankAccountPaymentMethodInput\"][\"type\"]> = [\"bank_account\"];\nexport const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedGooglePayPaymentMethodInput\"][\"type\"]> = [\"googlepay\"];\nexport const allowedApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedApplePayPaymentMethodInput\"][\"type\"]> = [\"applepay\"];\nexport const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedCardPaymentMethod\"][\"type\"]> = [\"card\"];\nexport const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedBankAccountPaymentMethod\"][\"type\"]> = [\"bank_account\"];\nexport const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedGooglePayPaymentMethod\"][\"type\"]> = [\"googlepay\"];\nexport const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"AllowedApplePayPaymentMethod\"][\"type\"]> = [\"applepay\"];\nexport const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PayoutDirectionType\"]> = [\"credit\", \"debit\"];\nexport const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PayoutStateType\"]> = [\"pending\", \"processing\", \"succeeded\", \"failed\", \"errored\", \"accepted\", \"rejected\"];\nexport const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"RefundStateType\"]> = [\"pending\", \"processing\", \"requires_review\", \"succeeded\", \"cancelled\", \"failed\"];\nexport const subscriptionIntervalTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"SubscriptionIntervalType\"]> = [\"day\", \"week\", \"month\", \"year\"];\nexport const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"SubscriptionPlanType\"]> = [\"fixed\", \"variable\"];\nexport const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"TransactionSourceType\"]> = [\"api\", \"dashboard\", \"iframe\", \"system\", \"subscription\"];\nexport const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"WalletProviderType\"]> = [\"googlepay\", \"applepay\"];\nexport const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"WebhookEventType\"]> = [\"charge.cancelled\", \"charge.created\", \"charge.errored\", \"charge.failed\", \"charge.processing\", \"charge.requires_capture\", \"charge.requires_confirmation\", \"charge.requires_review\", \"charge.settlement_failed\", \"charge.succeeded\", \"customer.created\", \"customer.updated\", \"legal_entity.created\", \"legal_entity.updated\", \"legal_entity_principal.created\", \"legal_entity_principal.updated\", \"legal_entity_application.approved\", \"legal_entity_application.denied\", \"legal_entity_application.needs_information\", \"legal_entity_application.pending\", \"legal_entity_application.submitted\", \"merchant.created\", \"merchant.updated\", \"payment_intent.cancelled\", \"payment_intent.created\", \"payment_intent.errored_authorization\", \"payment_intent.errored_capture\", \"payment_intent.errored_sale\", \"payment_intent.processing_authorization\", \"payment_intent.processing_capture\", \"payment_intent.processing_sale\", \"payment_intent.requires_capture\", \"payment_intent.requires_confirmation\", \"payment_intent.requires_payment_method\", \"payment_intent.requires_review\", \"payment_intent.succeeded\", \"processor_transaction.completed\", \"reconciliation.created\", \"refund.cancelled\", \"refund.created\", \"refund.failed\", \"refund.pending\", \"refund.processing\", \"refund.requires_review\", \"refund.succeeded\", \"void.created\", \"void.failed\", \"void.pending\", \"void.processing\", \"void.requires_review\", \"void.succeeded\"];\nexport const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"PaymentIntent\"][\"state\"]> = [\"requires_payment_method\", \"requires_confirmation\", \"requires_capture\", \"processing_authorization\", \"processing_capture\", \"processing_sale\", \"requires_review\", \"succeeded\", \"cancelled\", \"errored_authorization\", \"errored_capture\", \"errored_sale\"];\nexport const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"ProcessorTransaction\"][\"payment_transaction_type\"]> = [\"charge\", \"refund\", \"void\"];\nexport const processorTransactionTransaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"ProcessorTransaction\"][\"transaction_type\"]> = [\"authorization\", \"authorization_reversal\", \"capture\", \"credit\", \"echeck_credit\", \"echeck_sale\", \"echeck_void\", \"sale\", \"void\"];\nexport const refundAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Refund\"][\"allowed_reverse_action\"]> = [\"void\"];\nexport const setupIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"SetupIntent\"][\"state\"]> = [\"requires_payment_method\", \"requires_confirmation\", \"verifying\", \"requires_review\", \"succeeded\", \"failed\", \"cancelled\", \"errored\"];\nexport const subscriptionStateValues: ReadonlyArray<FlattenedDeepRequired<components>[\"schemas\"][\"Subscription\"][\"state\"]> = [\"active\", \"paused\", \"past_due\", \"cancelled\"];\n"],"mappings":";AAAA,OAAO,kBAGA;;;AC64JA,IAAM,yCAA8I,CAAC,qBAAqB,oBAAoB,cAAc;AAC5M,IAAM,kCAAgI,CAAC,wBAAwB,eAAe,qBAAqB,mBAAmB,eAAe,oBAAoB,cAAc;AACvQ,IAAM,qCAAsI,CAAC,QAAQ,QAAQ;AAC7J,IAAM,oBAAoG,CAAC,aAAa,WAAW,UAAU,cAAc,oBAAoB,yBAAyB,mBAAmB,qBAAqB,WAAW;AAC3P,IAAM,4BAAoH,CAAC,iBAAiB,uBAAuB;AACnK,IAAM,8BAAoH,CAAC,kCAAkC,eAAe,6BAA6B,eAAe,uBAAuB,uBAAuB,2BAA2B,mBAAmB;AACpT,IAAM,iCAA0H,CAAC,UAAU,SAAS;AACpJ,IAAM,gCAAwH,CAAC,YAAY;AAC3I,IAAM,qCAAkI,CAAC,wBAAwB,WAAW,UAAU,UAAU,WAAW,iBAAiB,cAAc,oBAAoB,OAAO,eAAe,SAAS,YAAY,OAAO,cAAc,SAAS,aAAa,eAAe,kBAAkB,SAAS,UAAU,UAAU,cAAc;AACha,IAAM,8BAAoH,CAAC,SAAS,MAAM;AAC1I,IAAM,0BAA4G,CAAC,QAAQ,gBAAgB,aAAa,UAAU;AAClK,IAAM,+CAA0J,CAAC,MAAM;AACvK,IAAM,sDAAwK,CAAC,cAAc;AAC7L,IAAM,oDAAoK,CAAC,WAAW;AACtL,IAAM,mDAAkK,CAAC,UAAU;AACnL,IAAM,0CAAgJ,CAAC,MAAM;AAC7J,IAAM,iDAA8J,CAAC,cAAc;AACnL,IAAM,+CAA0J,CAAC,WAAW;AAC5K,IAAM,8CAAwJ,CAAC,UAAU;AACzK,IAAM,qCAAsI,CAAC,MAAM;AACnJ,IAAM,4CAAoJ,CAAC,cAAc;AACzK,IAAM,0CAAgJ,CAAC,WAAW;AAClK,IAAM,yCAA8I,CAAC,UAAU;AAC/J,IAAM,4BAAgH,CAAC,UAAU,OAAO;AACxI,IAAM,wBAAwG,CAAC,WAAW,cAAc,aAAa,UAAU,WAAW,YAAY,UAAU;AAChM,IAAM,wBAAwG,CAAC,WAAW,cAAc,mBAAmB,aAAa,aAAa,QAAQ;AAC7L,IAAM,iCAA0H,CAAC,OAAO,QAAQ,SAAS,MAAM;AAC/J,IAAM,6BAAkH,CAAC,SAAS,UAAU;AAC5I,IAAM,8BAAoH,CAAC,OAAO,aAAa,UAAU,UAAU,cAAc;AACjL,IAAM,2BAA8G,CAAC,aAAa,UAAU;AAC5I,IAAM,yBAA0G,CAAC,oBAAoB,kBAAkB,kBAAkB,iBAAiB,qBAAqB,2BAA2B,gCAAgC,0BAA0B,4BAA4B,oBAAoB,oBAAoB,oBAAoB,wBAAwB,wBAAwB,kCAAkC,kCAAkC,qCAAqC,mCAAmC,8CAA8C,oCAAoC,sCAAsC,oBAAoB,oBAAoB,4BAA4B,0BAA0B,wCAAwC,kCAAkC,+BAA+B,2CAA2C,qCAAqC,kCAAkC,mCAAmC,wCAAwC,0CAA0C,kCAAkC,4BAA4B,mCAAmC,0BAA0B,oBAAoB,kBAAkB,iBAAiB,kBAAkB,qBAAqB,0BAA0B,oBAAoB,gBAAgB,eAAe,gBAAgB,mBAAmB,wBAAwB,gBAAgB;AAC/8C,IAAM,2BAAkH,CAAC,2BAA2B,yBAAyB,oBAAoB,4BAA4B,sBAAsB,mBAAmB,mBAAmB,aAAa,aAAa,yBAAyB,mBAAmB,cAAc;AAC7W,IAAM,qDAAsK,CAAC,UAAU,UAAU,MAAM;AACvM,IAAM,6CAAsJ,CAAC,iBAAiB,0BAA0B,WAAW,UAAU,iBAAiB,eAAe,eAAe,QAAQ,MAAM;AAC1R,IAAM,qCAAsI,CAAC,MAAM;AACnJ,IAAM,yBAA8G,CAAC,2BAA2B,yBAAyB,aAAa,mBAAmB,aAAa,UAAU,aAAa,SAAS;AACtP,IAAM,0BAAgH,CAAC,UAAU,UAAU,YAAY,WAAW;;;AD56JlK,IAAM,8BAA8B;AACpC,IAAM,2BAA2B;AACjC,IAAM,kBAAkB;AAoCxB,SAAS,mBAAmB,SAAwB;AACzD,SAAO,aAAoB,OAAO;AACpC;","names":[]}
|