{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Generect","colors":{"primary":"#2d59c8","light":"#5b85e6","dark":"#2d59c8"},"logo":{"light":"https://mintcdn.com/generect/X6p5e4jggJuPFyIO/logo/light.svg?fit=max\u0026auto=format\u0026n=X6p5e4jggJuPFyIO\u0026q=85\u0026s=749751167c04ffe76f0b07e4c1c00c09","dark":"https://mintcdn.com/generect/X6p5e4jggJuPFyIO/logo/dark.svg?fit=max\u0026auto=format\u0026n=X6p5e4jggJuPFyIO\u0026q=85\u0026s=5f67f8a3846d00903ec121cfedef7d2d"},"favicon":"https://mintcdn.com/generect/X6p5e4jggJuPFyIO/favicon.svg?fit=max\u0026auto=format\u0026n=X6p5e4jggJuPFyIO\u0026q=85\u0026s=8d1ba4fc0f807d2a6588d48988969cc3","api":{},"background":{},"navbar":{"links":[{"href":"https://status.generect.com","label":"Status"},{"href":"mailto:support@generect.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://generect.com/"}},"footer":{"socials":{}},"integrations":{"posthog":{"apiKey":"phc_oZ9t9NRDaaMw82GikzAbFGwstRHRyY45U8g5T8sfi6rv","apiHost":"https://eu.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude","download-spec"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"generect","hasAudioNarration":false,"actualSubdomain":"generect","customDomains":["docs.generect.com"],"gitSource":{"type":"github","owner":"generect","repo":"generect-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adb96f7154348d80177d759","collectionId":"21aa6ae1-f0ca-40cf-a28c-4179922face0","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adb96f7154348d80177d759"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6adb96f7154348d80177d759","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"API Reference","count":58},{"language":"default","tag":"Introduction","count":16},{"language":"default","tag":"Use Cases \u0026 Best Practices","count":14},{"language":"default","tag":"Search","count":13},{"language":"default","tag":"Leads","count":11},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Enrich","count":10},{"language":"default","tag":"Billing \u0026 Pricing","count":10},{"language":"default","tag":"Companies","count":9},{"language":"default","tag":"MCP","count":9}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/transactions/spent-amount-of-transactions","slug":"/api-reference/endpoint/transactions/spent-amount-of-transactions","pageMetadata":{"openapi":"get /api/auth/transactions/spent_credits/","title":"Spent amount of credits","description":"Retrieve a list of spent credits transactions based on the specified period and date range.\n","href":"/api-reference/endpoint/transactions/spent-amount-of-transactions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a list of spent credits transactions based on the specified period and date range.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={br:`br`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`filtering`,children:`Filtering`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`/api/auth/transactions/spent_credits/`}),` endpoint allows you to get all spent credits grouped by endpoints in the period.`]}),`\n`,_jsx(Heading,{level:`2`,id:`period`,children:`Period`}),`\n`,_jsxs(_components.p,{children:[`Must be on of: `,_jsx(_components.code,{children:`day`}),`, `,_jsx(_components.code,{children:`week`}),`, `,_jsx(_components.code,{children:`month`}),`, `,_jsx(_components.code,{children:`quarter`}),`, `,_jsx(_components.code,{children:`year`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`date`,children:`Date`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Date: yyyy-mm-dd`,_jsx(_components.br,{}),`\n`,`Example: 2025-01-01`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Date and Time: yyyy-mm-ddTHH:MM:SS.ssssss`,_jsx(_components.br,{}),`\n`,`Example: 2025-01-01T02:03:04.000000`]}),`\n`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /api/auth/transactions/spent_credits/","title":"Spent amount of credits","description":"Retrieve a list of spent credits transactions based on the specified period and date range.\n","href":"/api-reference/endpoint/transactions/spent-amount-of-transactions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Filtering","slug":"filtering","depth":1,"children":[]},{"title":"Period","slug":"period","depth":2,"children":[]},{"title":"Date","slug":"date","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Fetch spent credits transactions","description":"Retrieve a list of spent credits transactions based on the specified period and date range.\n","parameters":["52f8ad03-3412-4021-a75f-58b2f2daf38f","d8e2a790-995b-43c5-8ed0-e43f4b35666b","eeaae79c-806d-427a-88a2-1d2bd6782871","aa39860f-980c-408a-a519-fdafae9d14c9"],"responses":{"200":"0634c0e7-3d8e-4b62-a9bf-d36b6129a875"},"security":["9b1238e6-670a-437b-9732-d35e03df00c3"],"method":"get","type":"path","servers":["7e91cb4a-1ebb-42c2-9216-3c18b8047cb1"],"path":"/api/auth/transactions/spent_credits/","baseUrlOptions":["https://api.generect.com"],"title":"Fetch spent credits transactions","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"52f8ad03-3412-4021-a75f-58b2f2daf38f":{"name":"timezone","in":"query","description":"Timezone for date calculations","required":true,"schema":{"type":"string","isRequired":true,"description":"Timezone for date calculations","uniqueKey":"","typeLabel":"string"}},"d8e2a790-995b-43c5-8ed0-e43f4b35666b":{"name":"period","in":"query","description":"The aggregation period for transactions","required":true,"schema":{"type":"string","enum":["day","week","month","quarter","year"],"isRequired":true,"description":"The aggregation period for transactions","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"eeaae79c-806d-427a-88a2-1d2bd6782871":{"name":"start_date","in":"query","description":"The start date for the transaction filter (ISO 8601 format)","required":true,"schema":{"type":"string","format":"date","isRequired":true,"description":"The start date for the transaction filter (ISO 8601 format)","uniqueKey":"","typeLabel":"string\u003cdate>"}},"aa39860f-980c-408a-a519-fdafae9d14c9":{"name":"end_date","in":"query","description":"The end date for the transaction filter (ISO 8601 format)","required":true,"schema":{"type":"string","format":"date","isRequired":true,"description":"The end date for the transaction filter (ISO 8601 format)","uniqueKey":"","typeLabel":"string\u003cdate>"}}},"responses":{"0634c0e7-3d8e-4b62-a9bf-d36b6129a875":{"description":"A list of transactions for the specified period and date range","content":{"application/json":{"schema":{"type":"object","properties":{"spent_credits":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"number","uniqueKey":"spent_credits.additionalProperties.additionalProperties","typeLabel":"number"},"uniqueKey":"spent_credits.additionalProperties","typeLabel":"object"},"example":{"2025-01-01T00:00:00":{"/api/linkedin/leads/by_icp/":-4428,"/api/linkedin/companies/by_icp/":-39,"/api/linkedin/company/by_link/":-5,"/api/linkedin/lead/by_link/":-3,"/api/linkedin/email_finder/":-1,"platform":-9},"2024-12-01T00:00:00":{"/api/linkedin/leads/by_icp/":-383,"/api/linkedin/company/by_link/":-17,"/api/linkedin/companies/by_icp/":-156,"/api/linkedin/lead/by_link/":-6,"platform":-12},"2024-11-01T00:00:00":{"/api/linkedin/companies/by_icp/":-101,"/api/linkedin/leads/by_icp/":-1720,"platform":-1469}},"uniqueKey":"spent_credits","typeLabel":"object"},"total_spent_credits":{"type":"number","example":-8349,"uniqueKey":"total_spent_credits","typeLabel":"number"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"spent_credits":{"2025-01-01T00:00:00":{"/api/linkedin/leads/by_icp/":-4428,"/api/linkedin/companies/by_icp/":-39,"/api/linkedin/company/by_link/":-5,"/api/linkedin/lead/by_link/":-3,"/api/linkedin/email_finder/":-1,"platform":-9},"2024-12-01T00:00:00":{"/api/linkedin/leads/by_icp/":-383,"/api/linkedin/company/by_link/":-17,"/api/linkedin/companies/by_icp/":-156,"/api/linkedin/lead/by_link/":-6,"platform":-12},"2024-11-01T00:00:00":{"/api/linkedin/companies/by_icp/":-101,"/api/linkedin/leads/by_icp/":-1720,"platform":-1469}},"total_spent_credits":-8349}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9b1238e6-670a-437b-9732-d35e03df00c3":{"apiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Use the required Token prefix. Example: Authorization: Token xxxxxxxxx","scopes":[],"schemeName":"apiKey"}}},"servers":{"7e91cb4a-1ebb-42c2-9216-3c18b8047cb1":{"url":"https://api.generect.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Use the required Token prefix. Example: Authorization: Token xxxxxxxxx","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Authorization","type":"string","description":"Use the required Token prefix. Example: Authorization: Token xxxxxxxxx","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"generect","siteName":"Generect","title":"Spent amount of credits - Generect","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-26T23:35:02.169Z","originalFileLocation":"api-reference/endpoint/transactions/spent-amount-of-transactions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a list of spent credits transactions based on the specified period and date range.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Generect\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Spent amount of credits - Generect\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a list of spent credits transactions based on the specified period and date range.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Generect\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.generect.com/api-reference/endpoint/transactions/spent-amount-of-transactions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://generect.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Spent+amount+of+credits\u0026amp;description=Retrieve+a+list+of+spent+credits+transactions+based+on+the+specified+period+and+date+range.%0A\u0026amp;theme=7a2d4775dfc6308cdb829660\u0026amp;signature=801d2ef5ef0b825b0f626568c421255c062998cf2452c2565fd59764847e3aa0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Spent amount of credits - Generect\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a list of spent credits transactions based on the specified period and date range.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://generect.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Spent+amount+of+credits\u0026amp;description=Retrieve+a+list+of+spent+credits+transactions+based+on+the+specified+period+and+date+range.%0A\u0026amp;theme=7a2d4775dfc6308cdb829660\u0026amp;signature=801d2ef5ef0b825b0f626568c421255c062998cf2452c2565fd59764847e3aa0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/generect/SGauOST3QC9143DW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Generect\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2d59c8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.generect.com/api-reference/endpoint/transactions/spent-amount-of-transactions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/transactions/spent-amount-of-transactions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Generect\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Generect","nav":{"global":null,"tabs":[{"tab":"Introduction","groups":[{"group":"Getting Started","pages":[{"title":"What Is Generect","href":"/docs/what-is-generect"},{"title":"Why is Generect","href":"/docs/why-is-generect"},{"title":"Create an Account","href":"/docs/create-account"},{"title":"Platform Overview","href":"/docs/platform-overview"},{"title":"How Generect Works","href":"/docs/how-generect-works"},{"title":"How the Generect API Works","href":"/docs/api-overview"},{"title":"Choose the Right Workflow","href":"/docs/choose-the-right-workflow"},{"title":"What Data Does Generect Provide?","href":"/docs/data-coverage"},{"title":"Cached Databases","href":"/docs/cached-databases"},{"title":"Security \u0026 Compliance","icon":"shield-halved","href":"/docs/security-compliance"},{"title":"FAQ for New Users","href":"/docs/faq"}]},{"group":"Product Guides","pages":[{"title":"ICP Search","href":"/docs/icp-search"},{"title":"Exclude Lists","href":"/docs/exclude-lists"},{"title":"AI Corporate Email Finder","href":"/docs/email-finder"},{"title":"Email Validation","href":"/docs/email-validation"},{"title":"Catch-All Email Validation","href":"/docs/catch-all-validation"}]}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"},{"title":"Quickstart","icon":"rocket","href":"/api-reference/quickstart"},{"title":"Test mode","icon":"flask","href":"/api-reference/test-mode"},{"title":"Database vs Real-time","icon":"scale-balanced","href":"/api-reference/database-vs-realtime"},{"title":"Limits","icon":"gauge","href":"/api-reference/limits"},{"title":"Reliability","icon":"heart-pulse","href":"/api-reference/reliability"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Migration Guide","icon":"right-left","href":"/api-reference/migration-guide"}]},{"group":"Auth","pages":[{"title":"Authentication","icon":"key","href":"/api-reference/authentication"}]},{"group":"Enrich","pages":[{"group":"Companies","icon":"building","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/enrich/realtime/company/","title":"Enrich company in realtime","href":"/api-reference/endpoint/enrich/enrich-realtime-company"},{"sidebarTitle":"Database","openapi":"post /api/v1/enrich/database/company/","title":"Enrich company from database","href":"/api-reference/endpoint/enrich/enrich-database-company"},{"sidebarTitle":"Bulk (realtime)","openapi":"post /api/v1/enrich/realtime/companies/bulk/","title":"Start bulk company enrich (realtime)","href":"/api-reference/endpoint/enrich/enrich-realtime-companies-bulk"},{"sidebarTitle":"Bulk (database)","openapi":"post /api/v1/enrich/database/companies/bulk/","title":"Start bulk company enrich (database)","href":"/api-reference/endpoint/enrich/enrich-database-companies-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/enrich/companies/bulk/{job_id}/","title":"Get bulk company enrich job","href":"/api-reference/endpoint/enrich/get-companies-bulk"}]},{"group":"Leads","icon":"user","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/enrich/realtime/lead/","title":"Enrich lead in realtime","href":"/api-reference/endpoint/enrich/enrich-realtime-lead"},{"sidebarTitle":"Database","openapi":"post /api/v1/enrich/database/lead/","title":"Enrich lead from database","href":"/api-reference/endpoint/enrich/enrich-database-lead"},{"sidebarTitle":"Bulk (realtime)","openapi":"post /api/v1/enrich/realtime/leads/bulk/","title":"Start bulk lead enrich (realtime)","href":"/api-reference/endpoint/enrich/enrich-realtime-leads-bulk"},{"sidebarTitle":"Bulk (database)","openapi":"post /api/v1/enrich/database/leads/bulk/","title":"Start bulk lead enrich (database)","href":"/api-reference/endpoint/enrich/enrich-database-leads-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/enrich/leads/bulk/{job_id}/","title":"Get bulk lead enrich job","href":"/api-reference/endpoint/enrich/get-leads-bulk"}]}]},{"group":"Search","pages":[{"group":"Companies","icon":"building","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/search/realtime/companies/","title":"Search realtime companies","href":"/api-reference/endpoint/search/realtime-companies"},{"sidebarTitle":"Database","openapi":"post /api/v1/search/database/companies/","title":"Search database companies","href":"/api-reference/endpoint/search/database-companies"},{"sidebarTitle":"Real-time count","openapi":"post /api/v1/search/realtime/companies/count/","title":"Count realtime companies","href":"/api-reference/endpoint/search/count-realtime-companies"},{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/companies/count/","title":"Count database companies","href":"/api-reference/endpoint/search/count-database-companies"}]},{"group":"Leads","icon":"user","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/search/realtime/leads/","title":"Search realtime leads","href":"/api-reference/endpoint/search/realtime-leads"},{"sidebarTitle":"Database","openapi":"post /api/v1/search/database/leads/","title":"Search database leads","href":"/api-reference/endpoint/search/database-leads"},{"sidebarTitle":"Real-time count","openapi":"post /api/v1/search/realtime/leads/count/","title":"Count realtime leads","href":"/api-reference/endpoint/search/count-realtime-leads"},{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/leads/count/","title":"Count database leads","href":"/api-reference/endpoint/search/count-database-leads"},{"group":"Preview","icon":"eye","pages":[{"sidebarTitle":"Leads","openapi":"post /api/v1/preview/leads/","title":"Preview leads","href":"/api-reference/endpoint/preview/preview-leads"},{"sidebarTitle":"Count Leads","openapi":"post /api/v1/preview/leads/count/","title":"Count preview leads","href":"/api-reference/endpoint/preview/count-preview-leads"}]}]},{"group":"Company-Leads","icon":"building-user","pages":[{"sidebarTitle":"Real-time","openapi":"post /api/v1/search/realtime/company-leads/","title":"Search realtime company leads","href":"/api-reference/endpoint/search/realtime-company-leads"},{"sidebarTitle":"Database","openapi":"post /api/v1/search/database/company-leads/","title":"Search database company leads","href":"/api-reference/endpoint/search/database-company-leads"},{"sidebarTitle":"Database count","openapi":"post /api/v1/search/database/company-leads/count/","title":"Count database company leads","href":"/api-reference/endpoint/search/count-database-company-leads"}]}]},{"group":"Contacts","pages":[{"group":"Email","icon":"envelope","pages":[{"sidebarTitle":"Single find","openapi":"post /api/v1/email/find/","title":"Find email","href":"/api-reference/endpoint/emails/email-finder"},{"sidebarTitle":"Start bulk job","openapi":"post /api/v1/email/find/bulk/","title":"Start bulk email find","href":"/api-reference/endpoint/emails/email-finder-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/email/find/bulk/{job_id}/","title":"Get bulk email find job","href":"/api-reference/endpoint/emails/get-email-finder-bulk"},{"sidebarTitle":"Validate","openapi":"post /api/v1/email/validate/","title":"Validate emails","href":"/api-reference/endpoint/emails/email-validation"}]},{"group":"Phone","icon":"phone","pages":[{"sidebarTitle":"Find","openapi":"post /api/v1/phone/find/","title":"Find phone","href":"/api-reference/endpoint/phone/phone-finder"},{"sidebarTitle":"Start bulk job","openapi":"post /api/v1/phone/find/bulk/","title":"Start bulk phone find","href":"/api-reference/endpoint/phone/phone-finder-bulk"},{"sidebarTitle":"Get bulk job","openapi":"get /api/v1/phone/find/bulk/{job_id}/","title":"Get bulk phone find job","href":"/api-reference/endpoint/phone/get-phone-finder-bulk"}]}]},{"group":"Account","icon":"user-gear","pages":[{"openapi":"get /api/v1/accounts/me/","title":"Get account profile","href":"/api-reference/endpoint/accounts/get-account-me"},{"openapi":"get /api/v1/accounts/usage/","title":"Get account usage","href":"/api-reference/endpoint/accounts/get-account-usage"},{"openapi":"get /api/v1/accounts/transactions/","title":"Get account transactions","href":"/api-reference/endpoint/accounts/get-account-transactions"},{"openapi":"get /api/v1/accounts/tokens/analytics/","title":"Usage by token","href":"/api-reference/endpoint/accounts/get-account-token-analytics"}]},{"group":"Webhooks","icon":"bell","pages":[{"title":"Webhooks","sidebarTitle":"Overview","href":"/api-reference/endpoint/webhooks/overview"},{"openapi":"get /api/v1/webhooks/","title":"List webhooks","href":"/api-reference/endpoint/webhooks/list-webhooks"},{"openapi":"post /api/v1/webhooks/","title":"Register webhook","href":"/api-reference/endpoint/webhooks/create-webhook"},{"openapi":"get /api/v1/webhooks/{id}/","title":"Retrieve webhook","href":"/api-reference/endpoint/webhooks/get-webhook"},{"openapi":"put /api/v1/webhooks/{id}/","title":"Update webhook","href":"/api-reference/endpoint/webhooks/update-webhook"},{"openapi":"delete /api/v1/webhooks/{id}/","title":"Delete webhook","href":"/api-reference/endpoint/webhooks/delete-webhook"},{"openapi":"post /api/v1/webhooks/{id}/test/","title":"Test webhook","href":"/api-reference/endpoint/webhooks/test-webhook"}]}]},{"tab":"Billing \u0026 Pricing","groups":[{"group":"Billing \u0026 Pricing","pages":[{"title":"How Pay-as-you-go Works","href":"/billing/pay-as-you-go"},{"title":"Pricing","icon":"tags","href":"/billing/pricing"},{"title":"Managing Your Billing","href":"/billing/managing-billing"},{"title":"Usage History","href":"/billing/usage-history"},{"title":"Billing FAQ","href":"/billing/faq"}]}]},{"tab":"Integrations","groups":[{"group":"MCP","pages":[{"title":"What is MCP?","href":"/integrations/mcp/about-mcp"},{"title":"Remote MCP (Custom Connectors)","href":"/integrations/mcp/remote-mcp"},{"title":"MCP tools and what they cost","href":"/integrations/mcp/tools"},{"title":"Local MCP (npx)","href":"/integrations/mcp/quick-start"},{"title":"Common problems","href":"/integrations/mcp/common-problems"}]},{"group":"OpenAI Agent builder","pages":[{"title":"Agent Builder","href":"/integrations/agent-builder/agent-builder"}]}]},{"tab":"Use Cases \u0026 Best Practices","groups":[{"group":"SaaS","pages":[{"title":"Introduction","href":"/use-cases/saas/introduction"},{"title":"Lead search","href":"/use-cases/saas/lead-search"},{"title":"Company search","href":"/use-cases/saas/company-search"},{"title":null,"href":"/use-cases/saas/verify-emails"},{"title":"Find Contacts","href":"/use-cases/saas/find-contacts"}]},{"group":"API","pages":[{"title":"Data discovery","href":"/use-cases/api/data-discovery"},{"title":"Data enrichment","href":"/use-cases/api/data-enrichment"},{"title":"Bulk processing","href":"/use-cases/api/bulk-processing"},{"title":"Automations and integrations","href":"/use-cases/api/automations-and-integrations"},{"title":"Account managment","href":"/use-cases/api/account-managment"}]},{"group":"MCP","pages":[{"title":"Target prospects","href":"/use-cases/mcp/target-prospects"},{"title":"Account Sourcing","href":"/use-cases/mcp/account-sourcing"},{"title":"Email Generation","href":"/use-cases/mcp/email-generation"},{"title":"Profile Lookup","href":"/use-cases/mcp/profile-lookup"}]}]}]},"title":"Spent amount of credits - Generect","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}