{"openapi":"3.0.1","info":{"title":"Abby API","version":"1.0.0","description":"Documentation for the Abby API, providing access to billing information."},"servers":[{"url":"https://app.abby.fr/api"},{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/MickaelAsseline/Abby/1.0.0"}],"paths":{"/billing/{billingId}":{"get":{"summary":"Retrieve billing information","description":"Fetch billing details for a given billing ID.","parameters":[{"name":"billingId","in":"path","required":true,"description":"The billing ID to fetch details for.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success - Billing information retrieved.","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Unauthorized - Invalid or missing authorization token."},"404":{"description":"Not Found - The specified billing ID does not exist."}},"security":[{"bearerAuth":[]}]}},"/v2/billings":{"get":{"summary":"List billings","description":"Fetch a paginated list of billings, with optional filters and search parameters.","parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","example":1}},{"name":"limit","in":"query","required":false,"description":"Number of items per page","schema":{"type":"integer","example":100}},{"name":"test","in":"query","required":false,"description":"Filter to include test data","schema":{"type":"boolean","example":false}},{"name":"search","in":"query","required":false,"description":"A search term to filter billings.","schema":{"type":"string","example":"kart"}}],"responses":{"200":{"description":"Success - List of billings retrieved.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"page":{"type":"integer","description":"Current page number."},"total":{"type":"integer","description":"Total number of items available."}}}}}},"401":{"description":"Unauthorized - Invalid or missing authorization token."}},"security":[{"bearerAuth":[]}]}},"/organizations":{"get":{"summary":"List organizations","description":"Fetch a paginated list of organizations with optional filters.","parameters":[{"name":"page","in":"query","required":false,"description":"Page number for pagination","schema":{"type":"integer","example":1}},{"name":"limit","in":"query","required":false,"description":"Number of items per page","schema":{"type":"integer","example":10}},{"name":"archived","in":"query","required":false,"description":"Filter to include archived organizations","schema":{"type":"boolean","example":false}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string","example":"W/\"ruygw3\""}},{"name":"sec-ch-ua-platform","in":"header","required":false,"schema":{"type":"string","example":"macOS"}},{"name":"sec-ch-ua","in":"header","required":false,"schema":{"type":"string","example":"\"Not?A_Brand\";v=\"99\", \"Chromium\";v=\"130\""}},{"name":"screen-height","in":"header","required":false,"schema":{"type":"string","example":"1033"}},{"name":"support","in":"header","required":false,"schema":{"type":"string","example":"web-app"}},{"name":"User-Agent","in":"header","required":false,"schema":{"type":"string","example":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"}},{"name":"Accept","in":"header","required":false,"schema":{"type":"string","example":"application/json, text/plain, */*"}},{"name":"DNT","in":"header","required":false,"schema":{"type":"string","example":"1"}},{"name":"x-amazon-referer","in":"header","required":false,"schema":{"type":"string","example":"app-abby.com"}},{"name":"screen-width","in":"header","required":false,"schema":{"type":"string","example":"1499"}}],"responses":{"200":{"description":"Success - List of organizations retrieved.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"page":{"type":"integer","description":"Current page number."},"total":{"type":"integer","description":"Total number of items available."}}}}}},"304":{"description":"Not Modified - Content hasn't changed since last request"},"401":{"description":"Unauthorized - Invalid or missing authorization token."}},"security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}