openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 964 kB
JSON
{"openapi":"3.0.3","info":{"description":"The GSMtasks API is a RESTful web service for developers to programmatically interact with GSMtasks data, real-time delivery and task management and route optimization functionality.","title":"GSMTasks Project API","version":"2.4.13","x-logo":{"url":"https://gsmtasks.com/wp-content/uploads/2021/05/cropped-favicon-1-180x180.png"},"x-origin":[{"format":"openapi","url":"https://raw.githubusercontent.com/oeklo/gsmtasks-schema/v2.4.13/GSMTasks.yaml","version":"3.0"}],"x-providerName":"gsmtasks.com"},"paths":{"/account_roles/":{"get":{"operationId":"account_roles_list","parameters":[{"description":"account","in":"query","name":"account","required":false,"schema":{"type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"activated_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"created_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"description":"The pagination cursor value.","in":"query","name":"cursor","required":false,"schema":{"type":"integer"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"deleted_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"description":"display_name","in":"query","name":"display_name","required":false,"schema":{"type":"string"}},{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"example":true,"in":"query","name":"is_active","required":false,"schema":{"type":"boolean"}},{"description":"is_integration","in":"query","name":"is_integration","required":false,"schema":{"type":"string"}},{"description":"is_manager","in":"query","name":"is_manager","required":false,"schema":{"type":"string"}},{"description":"is_worker","in":"query","name":"is_worker","required":false,"schema":{"type":"string"}},{"description":"Which field to use when ordering the results.","in":"query","name":"ordering","required":false,"schema":{"type":"string"}},{"description":"Number of results to return per page.","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}},{"description":"A search term.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"state","in":"query","name":"state","required":false,"schema":{"enum":["inactive","active","deleted"],"type":"string"}},{"description":"","in":"query","name":"state__in","required":false,"schema":{"type":"string"}},{"description":"","in":"query","name":"state__in_or_isnull","required":false,"schema":{"type":"string"}},{"description":"","in":"query","name":"state__not_in","required":false,"schema":{"type":"string"}},{"description":"","in":"query","name":"state__not_in_or_isnull","required":false,"schema":{"type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"updated_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"updated_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.626Z","in":"query","name":"updated_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"description":"user","in":"query","name":"user","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedAccountRoleList"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedAccountRoleList"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]},"post":{"operationId":"account_roles_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"required":true},"responses":{"201":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]}},"/account_roles/{id}/":{"delete":{"operationId":"account_roles_destroy","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No response body"}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]},"get":{"operationId":"account_roles_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]},"patch":{"operationId":"account_roles_partial_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccountRole"}},"application/xml":{"schema":{"$ref":"#/components/schemas/PatchedAccountRole"}}}},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]},"put":{"operationId":"account_roles_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]}},"/account_roles/{id}/activate/":{"post":{"operationId":"account_roles_activate_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountRoleActivation"}},"application/xml":{"schema":{"$ref":"#/components/schemas/AccountRoleActivation"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRoleActivation"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRoleActivation"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]}},"/account_roles/{id}/notify/":{"post":{"operationId":"account_roles_notify_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRole"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]}},"/account_roles/{id}/token/":{"get":{"operationId":"account_roles_token_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xml"],"type":"string"}},{"description":"A UUID string identifying this account role.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRoleToken"}},"application/xml; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountRoleToken"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["account_roles"]}},"/accounts/":{"get":{"operationId":"accounts_list","parameters":[{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"created_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"description":"The pagination cursor value.","in":"query","name":"cursor","required":false,"schema":{"type":"integer"}},{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"Number of results to return per page.","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}},{"description":"A search term.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.627Z","in":"query","name":"updated_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedAccountList"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedAccountList"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/":{"get":{"operationId":"accounts_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"patch":{"operationId":"accounts_partial_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccount"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedAccount"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedAccount"}}}},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"put":{"operationId":"accounts_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Account"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Account"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/braintree_customer/":{"get":{"operationId":"accounts_braintree_customer_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/change_owner/":{"post":{"operationId":"accounts_change_owner_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountOwnerChange"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountOwnerChange"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountOwnerChange"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountOwnerChange"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountOwnerChange"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/managers/":{"delete":{"operationId":"accounts_managers_destroy","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No response body"}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"get":{"operationId":"accounts_managers_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"post":{"operationId":"accounts_managers_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountUser"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_attach_payment_method/":{"put":{"description":"Action to (re)set the account stripe customer and payment method to new values.\nBy default the attached method will also be set as default.\nIf this is not desired, you can send\n\n 'set_default': False","operationId":"accounts_stripe_attach_payment_method_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodAttach"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodAttach"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodAttach"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodAttach"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodAttach"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_create_setup_intent/":{"post":{"description":"Action to start a new setup intent.","operationId":"accounts_stripe_create_setup_intent_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"put":{"description":"Action to start a new setup intent.","operationId":"accounts_stripe_create_setup_intent_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentCreate"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_detach_payment_method/":{"put":{"description":"Detached payment method from the customer.\nThe payment method itself will remain somewhere in stripe, but as its no longer linked to the customer,\nit might as well be deleted for us","operationId":"accounts_stripe_detach_payment_method_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodDetach"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodDetach"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodDetach"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodDetach"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodDetach"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_get_payment_method/":{"get":{"description":"Fetch a single payment method from stripe.\nThis will also return non-attached payment methods (from setup intents for example)","operationId":"accounts_stripe_get_payment_method_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodGet"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodGet"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_get_setup_attempt/":{"get":{"description":"Fetch a single setup intent","operationId":"accounts_stripe_get_setup_attempt_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupAttemptGet"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupAttemptGet"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_get_setup_intent/":{"get":{"description":"Fetch a single setup intent","operationId":"accounts_stripe_get_setup_intent_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentGet"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentGet"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_payment_methods/":{"get":{"description":"Fetch all customer payment methods.\nThis includes all attached payment methods, default method_id","operationId":"accounts_stripe_payment_methods_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethods"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethods"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_set_default_payment_method/":{"put":{"description":"Action to set a payment method to default.","operationId":"accounts_stripe_set_default_payment_method_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodSetDefault"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodSetDefault"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodSetDefault"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodSetDefault"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripePaymentMethodSetDefault"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/stripe_setup_intents/":{"get":{"description":"Fetch existing setup intents","operationId":"accounts_stripe_setup_intents_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentsGet"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountStripeSetupIntentsGet"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/accounts/{id}/workers/":{"delete":{"operationId":"accounts_workers_destroy","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No response body"}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"get":{"operationId":"accounts_workers_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]},"post":{"operationId":"accounts_workers_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this account.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AccountUser"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/AccountUser"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["accounts"]}},"/addons/":{"get":{"operationId":"addons_list","parameters":[{"description":"The pagination cursor value.","in":"query","name":"cursor","required":false,"schema":{"type":"integer"}},{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"Number of results to return per page.","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedAddonList"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedAddonList"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["addons"]}},"/addons/{id}/":{"get":{"operationId":"addons_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this addon.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Addon"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Addon"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["addons"]}},"/authenticate/":{"post":{"operationId":"authenticate_create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthToken"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AuthToken"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/AuthToken"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthToken"}}},"description":""}},"tags":["authenticate"]}},"/billing/customers/":{"get":{"operationId":"billing_customers_list","parameters":[{"description":"account","in":"query","name":"account","required":false,"schema":{"type":"string"}},{"description":"The pagination cursor value.","in":"query","name":"cursor","required":false,"schema":{"type":"integer"}},{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"Number of results to return per page.","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedBraintreeCustomerList"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedBraintreeCustomerList"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]},"post":{"operationId":"billing_customers_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"required":true},"responses":{"201":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/customers/{id}/":{"get":{"operationId":"billing_customers_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this braintree customer.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]},"patch":{"operationId":"billing_customers_partial_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this braintree customer.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedBraintreeCustomer"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedBraintreeCustomer"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedBraintreeCustomer"}}}},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]},"put":{"operationId":"billing_customers_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this braintree customer.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"required":true},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/customers/{id}/client_token/":{"get":{"operationId":"billing_customers_client_token_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this braintree customer.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/BraintreeCustomer"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/invoices/":{"get":{"operationId":"billing_invoices_list","parameters":[{"description":"account","in":"query","name":"account","required":false,"schema":{"type":"string"}},{"description":"billing_method","in":"query","name":"billing_method","required":false,"schema":{"enum":["braintree","invoice","stripe"],"type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"confirmed_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"description":"created_at","in":"query","name":"created_at","required":false,"schema":{"type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__date","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__date_or_isnull","required":false,"schema":{"format":"date","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__gt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__gt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__gte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__gte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__lt","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__lt_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__lte","required":false,"schema":{"format":"datetime","type":"string"}},{"example":"2025-04-15T13:52:34.628Z","in":"query","name":"created_at__lte_or_isnull","required":false,"schema":{"format":"datetime","type":"string"}},{"description":"The pagination cursor value.","in":"query","name":"cursor","required":false,"schema":{"type":"integer"}},{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"Which field to use when ordering the results.","in":"query","name":"ordering","required":false,"schema":{"type":"string"}},{"description":"Number of results to return per page.","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}},{"description":"state","in":"query","name":"state","required":false,"schema":{"enum":["draft","confirmed","overdue","paid","cancelled"],"type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedInvoiceList"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedInvoiceList"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/invoices/{id}/":{"get":{"operationId":"billing_invoices_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this invoice.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]},"patch":{"operationId":"billing_invoices_partial_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this invoice.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedInvoice"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/PatchedInvoice"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/PatchedInvoice"}}}},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]},"put":{"operationId":"billing_invoices_update","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this invoice.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoice"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/invoices/{id}/mark_as_paid/":{"post":{"operationId":"billing_invoices_mark_as_paid_create","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this invoice.","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Invoice"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/Invoice"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/stripe_payments/":{"get":{"operationId":"billing_stripe_payments_list","parameters":[{"description":"billable_account","in":"query","name":"billable_account","required":false,"schema":{"type":"string"}},{"description":"The pagination cursor value.","in":"query","name":"cursor","required":false,"schema":{"type":"integer"}},{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"invoice","in":"query","name":"invoice","required":false,"schema":{"type":"string"}},{"description":"Which field to use when ordering the results.","in":"query","name":"ordering","required":false,"schema":{"type":"string"}},{"description":"Number of results to return per page.","in":"query","name":"page_size","required":false,"schema":{"type":"integer"}},{"description":"state","in":"query","name":"state","required":false,"schema":{"enum":["draft","failed","saved","settled","rejected","retried","cancelled"],"type":"string"}},{"description":"stripe_state","in":"query","name":"stripe_state","required":false,"schema":{"enum":[null,"requires_payment_method","requires_confirmation","requires_capture","requires_action","processing","succeeded","canceled"],"type":"string"}}],"responses":{"200":{"content":{"application/json; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedStripePaymentList"}},"application/xlsx; version=2.4.13":{"schema":{"$ref":"#/components/schemas/PaginatedStripePaymentList"}}},"description":""}},"security":[{"tokenAuth":[]}],"tags":["billing"]}},"/billing/stripe_payments/{id}/":{"get":{"operationId":"billing_stripe_payments_retrieve","parameters":[{"in":"query","name":"format","schema":{"enum":["json","xlsx"],"type":"string"}},{"description":"A UUID string identifying this stripe payment.","in":"path","name":"id","required":true,"schema":{"format":"