Returns a receipt for any completed transaction. Pass pdf as the type parameter to receive a base64-encoded PDF, or json for a structured data response.
GET https://api.yativo.com/api/v1/business/transaction/{transactionId}/{type}/receipt
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Yativo","description":"Yativo developer docs: APIs and guides for cross-border fiat payments, payouts and virtual accounts, plus multi-chain crypto wallets, cards, swaps and AI agent integrations.","colors":{"primary":"#813AE3","light":"#A855F7","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/yativo/_4AojVs77vZSnaI6/logo/yativo-light.png?fit=max\u0026auto=format\u0026n=_4AojVs77vZSnaI6\u0026q=85\u0026s=925bc977f579b795be5138bca21d9aca","dark":"https://mintcdn.com/yativo/_4AojVs77vZSnaI6/logo/yativo-dark.png?fit=max\u0026auto=format\u0026n=_4AojVs77vZSnaI6\u0026q=85\u0026s=4a7277d59a65fc0b185ee3ef73f89555"},"favicon":"https://mintcdn.com/yativo/_4AojVs77vZSnaI6/favicon.svg?fit=max\u0026auto=format\u0026n=_4AojVs77vZSnaI6\u0026q=85\u0026s=853b46d93c6f173e4fa3bdf617b4065a","api":{"playground":{}},"navbar":{"links":[{"href":"https://yativo.com","label":"Yativo Website"},{"href":"https://yativo.com/support","label":"Support"}],"primary":{"type":"button","label":"Get Started — Fiat","href":"https://app.yativo.com"}},"footer":{"socials":{"x":"https://x.com/yativo","linkedin":"https://linkedin.com/company/yativo","website":"https://yativo.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Fiat Dashboard","icon":"building-columns","href":"https://app.yativo.com"},{"anchor":"Status","icon":"signal","href":"https://status.yativo.com"},{"anchor":"Support","icon":"headset","href":"https://yativo.com/support"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yativo","hasAudioNarration":false,"actualSubdomain":"yativo","customDomains":["docs.yativo.com"],"gitSource":{"type":"github","owner":"sotonye-m","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf500f9fac823faefd8f9a","collectionId":"9967f826-b2e4-41e8-82e8-9698c0bd13cb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf500f9fac823faefd8f9a"},"entitlements":{},"buildId":"6adf535dd13963272de876fe","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Fiat API References","count":137},{"language":"default","tag":"Yativo Fiat","count":39},{"language":"default","tag":"Corporate Cards","count":20},{"language":"default","tag":"KYC Lookups","count":13},{"language":"default","tag":"Corporate Card Links","count":11},{"language":"default","tag":"KYC / KYB","count":11},{"language":"default","tag":"Shared","count":10},{"language":"default","tag":"Deposits","count":9},{"language":"default","tag":"Payments \u0026 Transfers","count":9},{"language":"default","tag":"Virtual Accounts","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"fiat-api-reference/transactions/receipt","slug":"/fiat-api-reference/transactions/receipt","pageMetadata":{"title":"Download Receipt","description":"Download a receipt for a completed transaction","openapi":"openapi-fiat.yaml GET /business/transaction/{transactionId}/{type}/receipt","href":"/fiat-api-reference/transactions/receipt"},"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: \"Download a receipt for a completed transaction\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns a receipt for any completed transaction. Pass `,_jsx(_components.code,{children:`pdf`}),` as the `,_jsx(_components.code,{children:`type`}),` parameter to receive a base64-encoded PDF, or `,_jsx(_components.code,{children:`json`}),` for a structured data response.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://api.yativo.com/api/v1/business/transaction/{transactionId}/{type}/receipt`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,`\n`,`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`data`}),` field contains the PDF as a base64-encoded string. Decode it before writing to disk or serving to a client.`]})})]})}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":{"title":"Download Receipt","description":"Download a receipt for a completed transaction","openapi":"openapi-fiat.yaml GET /business/transaction/{transactionId}/{type}/receipt","href":"/fiat-api-reference/transactions/receipt"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Note,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Note)_missingMdxReference(`Note`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns a receipt for any completed transaction. Pass `,_jsx(_components.code,{children:`pdf`}),` as the `,_jsx(_components.code,{children:`type`}),` parameter to receive a base64-encoded PDF, or `,_jsx(_components.code,{children:`json`}),` for a structured data response.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://api.yativo.com/api/v1/business/transaction/{transactionId}/{type}/receipt`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL — PDF receipt`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.yativo.com/api/v1/business/transaction/a0e9e50e-81be-4bd0-9941-0151e68b9e97/pdf/receipt'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Api-Key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Api-Secret: YOUR_API_SECRET'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` transactionId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'a0e9e50e-81be-4bd0-9941-0151e68b9e97'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'pdf'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `https://api.yativo.com/api/v1/business/transaction/\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`transactionId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"/receipt`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-Api-Key'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`YATIVO_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'X-Api-Secret'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`YATIVO_API_SECRET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Decode and save the PDF`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'fs'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` pdfBuffer`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Buffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'base64'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`writeFileSync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'receipt.pdf'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pdfBuffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Success`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Request successful\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9MZW5ndGggMTM4Ni9GaWx0ZXIvRmxhdGVEZWNvZGU+Pg...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Not found`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`404`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Request failed.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Transaction not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`data`}),` field contains the PDF as a base64-encoded string. Decode it before writing to disk or serving to a client.`]})})]})}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":{"title":"Download Receipt","description":"Download a receipt for a completed transaction","openapi":"openapi-fiat.yaml GET /business/transaction/{transactionId}/{type}/receipt","href":"/fiat-api-reference/transactions/receipt"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL — PDF receipt","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.yativo.com/api/v1/business/transaction/a0e9e50e-81be-4bd0-9941-0151e68b9e97/pdf/receipt'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'X-Api-Key: YOUR_API_KEY'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'X-Api-Secret: YOUR_API_SECRET'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> transactionId\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'a0e9e50e-81be-4bd0-9941-0151e68b9e97'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> type\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'pdf'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> `https://api.yativo.com/api/v1/business/transaction/\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">transactionId\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">${\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">type\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#569CD6\">}\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">/receipt`\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'X-Api-Key'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> process\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">YATIVO_API_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'X-Api-Secret'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> process\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">YATIVO_API_SECRET\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> data\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> response\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">json\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\">// Decode and save the PDF\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> fs\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> from\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'fs'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> pdfBuffer\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> Buffer\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">from\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">data\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'base64'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">fs\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">writeFileSync\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'receipt.pdf'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">pdfBuffer\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Request successful\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9MZW5ndGggMTM4Ni9GaWx0ZXIvRmxhdGVEZWNvZGU+Pg...\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Not found","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"failed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">404\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Request failed.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Transaction not found\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Transactions"],"summary":"Download Receipt","description":"Download a receipt for a completed transaction","parameters":["af64fe45-1cc6-4d92-a31e-398dfb385806","0b6a6274-3ea7-47ca-9bbb-5b6f0400851b"],"responses":{"200":"48e07659-5a01-4585-8f7b-235cd4d6f040","404":"ed44beda-f3dc-436b-8be3-cc97abb5372b"},"method":"get","type":"path","servers":["2b9f6e02-2259-49bb-ba14-7dadc0dbf93d","3c231853-46a5-42e4-99a2-f1587c52fd94"],"security":["f3512356-f78f-4df7-acdd-2f1497e87475"],"path":"/business/transaction/{transactionId}/{type}/receipt","baseUrlOptions":["https://api.yativo.com/api/v1","https://smtp.yativo.com/api/v1"],"title":"Download Receipt","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"3","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" GET"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'https://api.yativo.com/api/v1/business/transaction/a0e9e50e-81be-4bd0-9941-0151e68b9e97/pdf/receipt'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'X-Api-Key: YOUR_API_KEY'"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'X-Api-Secret: YOUR_API_SECRET'"}}]}},"\n"]}}}},"filename":"cURL — PDF receipt"},{"dropdown":false,"language":"javascript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"javascript","children":{"type":"code","key":null,"ref":null,"props":{"language":"javascript","numberOfLines":"14","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" transactionId"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'a0e9e50e-81be-4bd0-9941-0151e68b9e97'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":";"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" type"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'pdf'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":";"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" response"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":" fetch"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" `https://api.yativo.com/api/v1/business/transaction/"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"${"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"transactionId"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"/"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"${"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"type"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#569CD6"},"children":"}"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"/receipt`"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"headers:"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"'X-Api-Key'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":":"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" process"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"env"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":"YATIVO_API_KEY"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"'X-Api-Secret'"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":":"}},{"type":"span","key":"13","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" process"}},{"type":"span","key":"14","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"15","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"env"}},{"type":"span","key":"16","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"17","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":"YATIVO_API_SECRET"}},{"type":"span","key":"18","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" } }"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":");"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" data"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" response"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"json"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"();"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#6E7781","--shiki-dark":"#6A9955"},"children":"// Decode and save the PDF"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" fs"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#C586C0"},"children":" from"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" 'fs'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":";"}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#4FC1FF"},"children":" pdfBuffer"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":" Buffer"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"from"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"data"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"data"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"'base64'"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":");"}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"fs"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#8250DF","--shiki-dark":"#DCDCAA"},"children":"writeFileSync"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"("}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"'receipt.pdf'"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"pdfBuffer"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":");"}}]}},"\n"]}}}},"filename":"Node.js"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"6","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status_code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"200"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Request successful\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9MZW5ndGggMTM4Ni9GaWx0ZXIvRmxhdGVEZWNvZGU+Pg...\""}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Success"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"8","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"failed\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status_code\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"404"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Request failed.\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"error\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Transaction not found\""}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Not found"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"af64fe45-1cc6-4d92-a31e-398dfb385806":{"name":"transactionId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The UUID of the transaction.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The UUID of the transaction."},"0b6a6274-3ea7-47ca-9bbb-5b6f0400851b":{"name":"type","in":"path","required":true,"schema":{"type":"string","enum":["pdf","json"],"isRequired":true,"description":"Receipt format. Use `\"pdf\"` to receive a base64-encoded PDF document.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Receipt format. Use `\"pdf\"` to receive a base64-encoded PDF document."}},"responses":{"48e07659-5a01-4585-8f7b-235cd4d6f040":{"description":"Receipt (base64 PDF when type=pdf)","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","uniqueKey":"status_code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"data":{"type":"string","description":"Base64-encoded PDF when type is pdf.","uniqueKey":"data","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"\u003cstring>","status_code":123,"message":"\u003cstring>","data":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ed44beda-f3dc-436b-8be3-cc97abb5372b":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"failed","uniqueKey":"status","typeLabel":"string"},"status_code":{"type":"integer","uniqueKey":"status_code","typeLabel":"integer"},"message":{"type":"string","example":"Request failed.","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","properties":{"error":{"type":"string","uniqueKey":"data.oneOf.0.error","typeLabel":"string"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"error":{"type":"string"}},"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error_details":{"type":"object","description":"Included on every failed response, with the same shape for every endpoint.","properties":{"code":{"type":"string","enum":["bad_request","unauthenticated","payment_required","forbidden","not_found","method_not_allowed","conflict","validation_error","rate_limited","server_error","not_implemented","upstream_error","service_unavailable","upstream_timeout"],"example":"validation_error","uniqueKey":"error_details.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The amount field is required.","uniqueKey":"error_details.message","typeLabel":"string"},"http_status":{"type":"integer","example":422,"uniqueKey":"error_details.http_status","typeLabel":"integer"},"fields":{"type":"object","description":"Messages per field. When the error isn't about a field, the message is under `error`.","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"error_details.fields.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error_details.fields.additionalProperties","typeLabel":"string[]"},"uniqueKey":"error_details.fields","typeLabel":"object"},"retryable":{"type":"boolean","description":"`true` for 409, 429, 500, 502, 503 and 504.","example":false,"uniqueKey":"error_details.retryable","typeLabel":"boolean"},"retry_after":{"oneOf":[{"type":"integer","description":"Seconds to wait before retrying, from the `Retry-After` header.","uniqueKey":"error_details.retry_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds to wait before retrying, from the `Retry-After` header.","uniqueKey":"error_details.retry_after.oneOf.1","typeLabel":"null"}],"uniqueKey":"error_details.retry_after","typeLabel":"integer | null"}},"uniqueKey":"error_details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"failed","status_code":123,"message":"Request failed.","data":{"error":"\u003cstring>"},"error_details":{"code":"validation_error","message":"The amount field is required.","http_status":422,"fields":{},"retryable":false,"retry_after":123}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f3512356-f78f-4df7-acdd-2f1497e87475":{"apiKey":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your API key (`yativo_pk_...`) from Developers → API Keys. Send together with X-Api-Secret.","scopes":[],"schemeName":"apiKey"},"apiSecret":{"type":"apiKey","in":"header","name":"X-Api-Secret","description":"Your API secret (`yativo_sk_...`), shown once when the key is created.","scopes":[],"schemeName":"apiSecret"}}},"servers":{"2b9f6e02-2259-49bb-ba14-7dadc0dbf93d":{"url":"https://api.yativo.com/api/v1","description":"Production"},"3c231853-46a5-42e4-99a2-f1587c52fd94":{"url":"https://smtp.yativo.com/api/v1","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Your API key (`yativo_pk_...`) from Developers → API Keys. Send together with X-Api-Secret.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-Api-Key","type":"string","description":"Your API key (`yativo_pk_...`) from Developers → API Keys. Send together with X-Api-Secret.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-Api-Key"},{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Secret","description":"Your API secret (`yativo_sk_...`), shown once when the key is created.","scopes":[],"schemeName":"apiSecret"},"schema":{"title":"X-Api-Secret","type":"string","description":"Your API secret (`yativo_sk_...`), shown once when the key is created.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiSecret","name":"X-Api-Secret"}],"title":"apiKey \u0026 apiSecret"}]},"originalFileLocation":"openapi-fiat.yaml"},"subdomain":"yativo","siteName":"Yativo","title":"Download Receipt - Yativo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T17:35:45.318Z","originalFileLocation":"fiat-api-reference/transactions/receipt.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=\"Download a receipt for a completed transaction\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yativo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_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/yativo/exEDFeWoXCL_KYHd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Download Receipt - Yativo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Download a receipt for a completed transaction\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yativo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yativo.com/fiat-api-reference/transactions/receipt\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yativo.mintlify.app/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Download+Receipt\u0026amp;description=Download+a+receipt+for+a+completed+transaction\u0026amp;theme=eff4602daf63bc7b03c9f022\u0026amp;signature=61af7e404bc6e7d5f4accef6c109dbd9cd14dd3846c17538ab5bd1618e9aee3c\">\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=\"Download Receipt - Yativo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Download a receipt for a completed transaction\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yativo.mintlify.app/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Download+Receipt\u0026amp;description=Download+a+receipt+for+a+completed+transaction\u0026amp;theme=eff4602daf63bc7b03c9f022\u0026amp;signature=61af7e404bc6e7d5f4accef6c109dbd9cd14dd3846c17538ab5bd1618e9aee3c\">\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/yativo/exEDFeWoXCL_KYHd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yativo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#813AE3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yativo.com/fiat-api-reference/transactions/receipt\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fiat-api-reference/transactions/receipt.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yativo.com/#organization\",\"name\":\"Yativo\",\"url\":\"https://docs.yativo.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yativo/_4AojVs77vZSnaI6/logo/yativo-light.png?fit=max\u0026auto=format\u0026n=_4AojVs77vZSnaI6\u0026q=85\u0026s=925bc977f579b795be5138bca21d9aca\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yativo.com#website\",\"name\":\"Yativo\",\"url\":\"https://docs.yativo.com\",\"publisher\":{\"@id\":\"https://docs.yativo.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt#webpage\",\"url\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt\",\"name\":\"Download Receipt\",\"description\":\"Download a receipt for a completed transaction\",\"dateModified\":\"2026-10-20T17:35:45.318Z\",\"isPartOf\":{\"@id\":\"https://docs.yativo.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Transactions\",\"item\":\"https://docs.yativo.com/fiat-api-reference/transactions/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download Receipt\",\"item\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt#apireference\",\"headline\":\"Download Receipt\",\"name\":\"Download Receipt\",\"description\":\"Download a receipt for a completed transaction\",\"url\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yativo.com/fiat-api-reference/transactions/receipt#webpage\"},\"dateModified\":\"2026-10-20T17:35:45.318Z\",\"publisher\":{\"@id\":\"https://docs.yativo.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yativo.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yativo\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Yativo","nav":{"global":{"anchors":[{"anchor":"Fiat Dashboard","icon":"building-columns","href":"https://app.yativo.com"},{"anchor":"Status","icon":"signal","href":"https://status.yativo.com"},{"anchor":"Support","icon":"headset","href":"https://yativo.com/support"}]},"tabs":[{"tab":"Yativo","pages":[{"title":"Yativo","href":"/yativo/introduction"}]},{"tab":"Yativo Fiat","pages":[{"title":"Yativo Fiat","href":"/yativo-fiat/introduction"}]},{"tab":"Fiat API References","groups":[{"group":"Overview","pages":[{"title":"Fiat API References","href":"/fiat-api-reference/introduction"}]},{"group":"Customers","pages":[{"title":"Create Customer","openapi":"openapi-fiat.yaml POST /customer","href":"/fiat-api-reference/customers/create"},{"title":"List Customers","openapi":"openapi-fiat.yaml GET /customer","href":"/fiat-api-reference/customers/list"},{"title":"Get Customer","openapi":"openapi-fiat.yaml GET /customer/{customer_id}","href":"/fiat-api-reference/customers/get"},{"title":"Update Customer","openapi":"openapi-fiat.yaml PUT /customer/{customer_id}","href":"/fiat-api-reference/customers/update"},{"title":"Delete Customer","openapi":"openapi-fiat.yaml DELETE /customer/{customer_id}","href":"/fiat-api-reference/customers/delete"}]},{"group":"KYC / KYB","pages":[{"group":"Individual","pages":[{"title":"Submit Individual KYC","openapi":"openapi-fiat.yaml POST /individual-kyc/submit","href":"/fiat-api-reference/kyc/submit-individual"},{"title":"Update Individual KYC (Partial)","openapi":"openapi-fiat.yaml PATCH /individual-kyc/{customerId}","href":"/fiat-api-reference/kyc/update-individual"},{"title":"Get Occupation Codes","openapi":"openapi-fiat.yaml GET /auth/occupation-codes","href":"/fiat-api-reference/kyc/occupation-codes"}]},{"group":"Business","pages":[{"title":"Submit Business KYB","openapi":"openapi-fiat.yaml POST /business-kyc/submit","href":"/fiat-api-reference/kyc/submit-business"},{"title":"Update Business KYB (Partial)","openapi":"openapi-fiat.yaml PATCH /business-kyc/{customerId}","href":"/fiat-api-reference/kyc/update-business"}]},{"group":"Shared","pages":[{"title":"Upload File","openapi":"openapi-fiat.yaml POST /storage/upload","href":"/fiat-api-reference/kyc/upload"},{"title":"Update KYC Submission","openapi":"openapi-fiat.yaml PUT /customer/kyc/update","href":"/fiat-api-reference/kyc/update"},{"title":"Resubmit Endorsement","openapi":"openapi-fiat.yaml POST /customer/kyc/resubmit/{customerId}/{endorsement}","href":"/fiat-api-reference/kyc/resubmit-endorsement"},{"title":"Resubmit Endorsement (KYC Platform)","openapi":"openapi-fiat.yaml POST /kyc/endorsements/{customerId}/{service}/resubmit","href":"/fiat-api-reference/kyc/resubmit-endorsement-platform"},{"title":"Regenerate Endorsement Link","openapi":"openapi-fiat.yaml GET /kyc/regenerate/{customerId}/{service}","href":"/fiat-api-reference/kyc/endorsement-regenerate"},{"title":"Get Verification Locations","openapi":"openapi-fiat.yaml GET /auth/verification-locations","href":"/fiat-api-reference/kyc/verification-locations"}]}]},{"group":"KYC Lookups","pages":[{"group":"Individual","pages":[{"title":"List Occupations","openapi":"openapi-fiat.yaml GET /occupations","href":"/fiat-api-reference/kyc-lookups/occupations"},{"title":"List Account Purposes (Individual)","openapi":"openapi-fiat.yaml GET /individual-kyc/account-purposes","href":"/fiat-api-reference/kyc-lookups/individual-account-purposes"},{"title":"List Sources of Funds (Individual)","openapi":"openapi-fiat.yaml GET /individual-kyc/source-of-funds","href":"/fiat-api-reference/kyc-lookups/individual-source-of-funds"},{"title":"List Expected Monthly Payment Ranges","openapi":"openapi-fiat.yaml GET /individual-kyc/expected-monthly-payments-usd","href":"/fiat-api-reference/kyc-lookups/expected-monthly-payments"}]},{"group":"Business","pages":[{"title":"List Business Industries","openapi":"openapi-fiat.yaml GET /business-industries","href":"/fiat-api-reference/kyc-lookups/business-industries"},{"title":"List Account Purposes (Business)","openapi":"openapi-fiat.yaml GET /business-kyc/account-purposes","href":"/fiat-api-reference/kyc-lookups/business-account-purposes"},{"title":"List Sources of Funds (Business)","openapi":"openapi-fiat.yaml GET /business-kyc/source-of-funds","href":"/fiat-api-reference/kyc-lookups/business-source-of-funds"},{"title":"List Transaction Currencies","openapi":"openapi-fiat.yaml GET /transaction-currencies","href":"/fiat-api-reference/kyc-lookups/transaction-currencies"},{"title":"List Transaction Countries","openapi":"openapi-fiat.yaml GET /transaction-countries","href":"/fiat-api-reference/kyc-lookups/transaction-countries"}]},{"group":"Shared","pages":[{"title":"List Countries","openapi":"openapi-fiat.yaml GET /countries","href":"/fiat-api-reference/kyc-lookups/countries"},{"title":"List Subdivisions","openapi":"openapi-fiat.yaml GET /subdivisions/{countryCode}","href":"/fiat-api-reference/kyc-lookups/subdivisions"},{"title":"Get Postal Code Format","openapi":"openapi-fiat.yaml GET /postal-codes/{countryCode}","href":"/fiat-api-reference/kyc-lookups/postal-codes"},{"title":"List ID Types","openapi":"openapi-fiat.yaml GET /identification-types/{countryCode}","href":"/fiat-api-reference/kyc-lookups/identification-types"}]}]},{"group":"Payments \u0026 Transfers","pages":[{"title":"Get Exchange Rate / Quote","openapi":"openapi-fiat.yaml POST /exchange-rate","href":"/fiat-api-reference/payments/exchange-rate"},{"title":"Get Market Rates","openapi":"openapi-fiat.yaml GET /exchange-rates","href":"/fiat-api-reference/payments/market-rates"},{"title":"Get Fee Schedule","openapi":"openapi-fiat.yaml GET /fees","href":"/fiat-api-reference/payments/fees"},{"title":"Get Payout Methods","openapi":"openapi-fiat.yaml GET /payment-methods/payout","href":"/fiat-api-reference/payments/methods"},{"title":"Get Payin Methods","openapi":"openapi-fiat.yaml GET /payment-methods/payin","href":"/fiat-api-reference/payments/payin-methods"},{"title":"Get Payout Form Fields","openapi":"openapi-fiat.yaml GET /beneficiary/form/show/{payment_method_id}","href":"/fiat-api-reference/payments/methods-form"},{"title":"Get Supported Countries","openapi":"openapi-fiat.yaml GET /payment-methods/payout/countries","href":"/fiat-api-reference/payments/countries"},{"title":"List Currencies","openapi":"openapi-fiat.yaml GET /currencies/all","href":"/fiat-api-reference/payments/currencies"},{"title":"Initiate Payout","openapi":"openapi-fiat.yaml POST /wallet/payout","href":"/fiat-api-reference/payments/payout"}]},{"group":"Deposits","pages":[{"title":"Create Deposit (Payin)","openapi":"openapi-fiat.yaml POST /wallet/deposits/new","href":"/fiat-api-reference/deposits/create"},{"title":"List Deposits","openapi":"openapi-fiat.yaml GET /wallet/deposits","href":"/fiat-api-reference/deposits/list"},{"title":"Get Deposit","openapi":"openapi-fiat.yaml GET /wallet/deposits/{depositId}","href":"/fiat-api-reference/deposits/get"},{"title":"List Pay-in Countries","openapi":"openapi-fiat.yaml GET /payment-methods/payin/countries","href":"/fiat-api-reference/deposits/payin-countries"},{"title":"List Pay-in Currencies","openapi":"openapi-fiat.yaml GET /payment-methods/payin/currency","href":"/fiat-api-reference/deposits/payin-currencies"},{"title":"Create Deposit Wallet","openapi":"openapi-fiat.yaml POST /crypto/create-wallet","href":"/fiat-api-reference/deposits/crypto-create-wallet"},{"title":"List Deposit Wallets","openapi":"openapi-fiat.yaml GET /crypto/get-wallets","href":"/fiat-api-reference/deposits/crypto-wallets"},{"title":"List Stablecoin Deposits","openapi":"openapi-fiat.yaml GET /crypto/deposit-histories","href":"/fiat-api-reference/deposits/crypto-deposit-history"},{"title":"List Deposits to an Address","openapi":"openapi-fiat.yaml GET /crypto/wallet/deposit/histories/{wallet_address}","href":"/fiat-api-reference/deposits/crypto-wallet-history"}]},{"group":"Virtual Accounts","pages":[{"title":"Create Virtual Account","openapi":"openapi-fiat.yaml POST /business/virtual-account/create","href":"/fiat-api-reference/virtual-accounts/create"},{"title":"List Currencies and Endorsements","openapi":"openapi-fiat.yaml GET /business/virtual-account/currencies-and-endorsements","href":"/fiat-api-reference/virtual-accounts/currencies"},{"title":"List Virtual Accounts","openapi":"openapi-fiat.yaml GET /business/virtual-account","href":"/fiat-api-reference/virtual-accounts/list"},{"title":"Get Virtual Account","openapi":"openapi-fiat.yaml GET /business/virtual-account/show/{externalId}","href":"/fiat-api-reference/virtual-accounts/get"},{"title":"Delete Virtual Account","openapi":"openapi-fiat.yaml DELETE /business/virtual-account/delete-virtual-account/{account_id}","href":"/fiat-api-reference/virtual-accounts/delete"},{"title":"Virtual Account Transaction History","openapi":"openapi-fiat.yaml GET /business/virtual-account/history/{accountNumber}","href":"/fiat-api-reference/virtual-accounts/history"},{"title":"All Virtual Account Histories","openapi":"openapi-fiat.yaml GET /business/virtual-account/histories","href":"/fiat-api-reference/virtual-accounts/all-histories"},{"title":"Customer Virtual Accounts","openapi":"openapi-fiat.yaml GET /business/virtual-account/customer/accounts/{customerId}","href":"/fiat-api-reference/virtual-accounts/customer-accounts"}]},{"group":"Wallets","pages":[{"title":"Get Wallet Balance","openapi":"openapi-fiat.yaml GET /wallet/balance","href":"/fiat-api-reference/wallets/balance"},{"title":"Get Total Balance","openapi":"openapi-fiat.yaml GET /wallet/balance/total","href":"/fiat-api-reference/wallets/balance-total"},{"title":"List Wallet Payouts","openapi":"openapi-fiat.yaml GET /wallet/payouts","href":"/fiat-api-reference/wallets/payouts"}]},{"group":"Sandbox","pages":[{"title":"Top up wallet (sandbox only)","openapi":"openapi-fiat.yaml POST /wallet/sandbox/topup","href":"/fiat-api-reference/sandbox/wallet-topup"},{"title":"Mark transaction successful (sandbox only)","openapi":"openapi-fiat.yaml POST /sandbox/transactions/{id}/succeed","href":"/fiat-api-reference/sandbox/transactions-succeed"},{"title":"Mark transaction failed (sandbox only)","openapi":"openapi-fiat.yaml POST /sandbox/transactions/{id}/fail","href":"/fiat-api-reference/sandbox/transactions-fail"},{"title":"Simulate a virtual account deposit (sandbox only)","openapi":"openapi-fiat.yaml POST /sandbox/virtual-accounts/{accountId}/simulate-deposit","href":"/fiat-api-reference/sandbox/virtual-account-deposit"},{"title":"Simulate a virtual card event (sandbox only)","openapi":"openapi-fiat.yaml POST /sandbox/virtual-cards/{cardId}/simulate","href":"/fiat-api-reference/sandbox/virtual-card"},{"title":"Simulate a spend card event (sandbox only)","openapi":"openapi-fiat.yaml POST /sandbox/spend-cards/{cardId}/simulate","href":"/fiat-api-reference/sandbox/spend-card"},{"title":"Simulate webhook (sandbox only)","openapi":"openapi-fiat.yaml POST /demo/webhook/{type}","href":"/fiat-api-reference/sandbox/simulate-webhook"}]},{"group":"Beneficiaries","pages":[{"title":"Add Beneficiary","openapi":"openapi-fiat.yaml POST /beneficiaries/payment-methods","href":"/fiat-api-reference/beneficiaries/payment-methods-create"},{"title":"List Beneficiaries","openapi":"openapi-fiat.yaml GET /beneficiaries/payment-methods/all","href":"/fiat-api-reference/beneficiaries/payment-methods-list"},{"title":"Get Beneficiary","openapi":"openapi-fiat.yaml POST /beneficiaries/payment-methods/{id}","href":"/fiat-api-reference/beneficiaries/payment-methods-get"},{"title":"Update Beneficiary","openapi":"openapi-fiat.yaml PUT /beneficiaries/payment-methods/update/{id}","href":"/fiat-api-reference/beneficiaries/payment-methods-update"},{"title":"Delete Beneficiary","openapi":"openapi-fiat.yaml DELETE /beneficiaries/payment-methods/delete/{id}","href":"/fiat-api-reference/beneficiaries/payment-methods-delete"}]},{"group":"Transactions","pages":[{"title":"List Transactions","openapi":"openapi-fiat.yaml GET /business/transactions/index","href":"/fiat-api-reference/transactions/list"},{"title":"List Transactions by Currency","openapi":"openapi-fiat.yaml GET /business/transaction/by-currency","href":"/fiat-api-reference/transactions/by-currency"},{"title":"Get Transaction","openapi":"openapi-fiat.yaml GET /business/transaction/show/{id}","href":"/fiat-api-reference/transactions/get"},{"title":"Track Transaction","openapi":"openapi-fiat.yaml GET /transaction/tracking/{quote_id}","href":"/fiat-api-reference/transactions/track"},{"title":"Track Transaction by ID","description":"Look up a transaction by its transaction ID and type","openapi":"openapi-fiat.yaml GET /transaction/track","href":"/fiat-api-reference/transactions/track-by-id"},{"title":"Download Receipt","openapi":"openapi-fiat.yaml GET /business/transaction/{transactionId}/{type}/receipt","href":"/fiat-api-reference/transactions/receipt"}]},{"group":"Virtual Cards","pages":[{"title":"Create Virtual Card","description":"Issue a virtual prepaid card to a customer","openapi":"openapi-fiat.yaml POST /customer/virtual/cards/create","href":"/fiat-api-reference/virtual-cards/create"},{"title":"List Virtual Cards","openapi":"openapi-fiat.yaml GET /customer/virtual/cards/list","href":"/fiat-api-reference/virtual-cards/list"},{"title":"Get Virtual Card","openapi":"openapi-fiat.yaml GET /customer/virtual/cards/get/{card_id}","href":"/fiat-api-reference/virtual-cards/get"},{"title":"Top Up Card","openapi":"openapi-fiat.yaml POST /customer/virtual/cards/topup","href":"/fiat-api-reference/virtual-cards/topup"},{"title":"Freeze / Unfreeze Card","openapi":"openapi-fiat.yaml PUT /customer/virtual/cards/update/{card_id}","href":"/fiat-api-reference/virtual-cards/update"},{"title":"Card Transactions","openapi":"openapi-fiat.yaml GET /customer/virtual/cards/transactions/{card_id}","href":"/fiat-api-reference/virtual-cards/transactions"},{"title":"Withdraw from Card","openapi":"openapi-fiat.yaml POST /customer/virtual/cards/withdraw","href":"/fiat-api-reference/virtual-cards/withdraw"},{"title":"Terminate Card","openapi":"openapi-fiat.yaml POST /customer/virtual/cards/terminate","href":"/fiat-api-reference/virtual-cards/terminate"}]},{"group":"Payouts","pages":[{"title":"Single Payout","openapi":"openapi-fiat.yaml POST /payout/simple","href":"/fiat-api-reference/payouts/simple"},{"title":"List Payouts","openapi":"openapi-fiat.yaml GET /payout/get","href":"/fiat-api-reference/payouts/list"},{"title":"Get Payout","openapi":"openapi-fiat.yaml GET /payout/fetch/{payout_id}","href":"/fiat-api-reference/payouts/get"}]},{"group":"Currency Swap","pages":[{"title":"List Swap Pairs","openapi":"openapi-fiat.yaml GET /wallet/swap/pairs","href":"/fiat-api-reference/swap/pairs"},{"title":"Quote Swap","openapi":"openapi-fiat.yaml POST /wallet/swap/quote","href":"/fiat-api-reference/swap/quote"},{"title":"Run Swap","openapi":"openapi-fiat.yaml POST /wallet/swap","href":"/fiat-api-reference/swap/create"},{"title":"List Swaps","openapi":"openapi-fiat.yaml GET /wallet/swap","href":"/fiat-api-reference/swap/list"},{"title":"Get Swap","openapi":"openapi-fiat.yaml GET /wallet/swap/{reference}","href":"/fiat-api-reference/swap/get"}]},{"group":"IP Whitelist","pages":[{"title":"Check IP Whitelist","openapi":"openapi-fiat.yaml GET /ip-whitelist/check","href":"/fiat-api-reference/ip/check"}]},{"group":"Corporate Cards","pages":[{"group":"Funding","pages":[{"title":"Get Funding Address and Balance","openapi":"openapi-fiat.yaml GET /corporate-card/wallet","href":"/fiat-api-reference/corporate-cards/wallet-get"}]},{"group":"Employees","pages":[{"title":"Create Employee","openapi":"openapi-fiat.yaml POST /corporate-card/employees","href":"/fiat-api-reference/corporate-cards/employees-create"},{"title":"List Employees","openapi":"openapi-fiat.yaml GET /corporate-card/employees","href":"/fiat-api-reference/corporate-cards/employees-list"},{"title":"Get Employee","openapi":"openapi-fiat.yaml GET /corporate-card/employees/{employee_id}","href":"/fiat-api-reference/corporate-cards/employees-get"},{"title":"Update Employee","openapi":"openapi-fiat.yaml PUT /corporate-card/employees/{employee_id}","href":"/fiat-api-reference/corporate-cards/employees-update"},{"title":"Terminate Employee","openapi":"openapi-fiat.yaml DELETE /corporate-card/employees/{employee_id}","href":"/fiat-api-reference/corporate-cards/employees-terminate"},{"title":"Submit Employee KYC","openapi":"openapi-fiat.yaml POST /corporate-card/employees/kyc","href":"/fiat-api-reference/corporate-cards/kyc-submit"}]},{"group":"Employee Balance","pages":[{"title":"Fund Employee","openapi":"openapi-fiat.yaml POST /corporate-card/employees/balance","href":"/fiat-api-reference/corporate-cards/employees-fund"},{"title":"Get Employee Balance","openapi":"openapi-fiat.yaml GET /corporate-card/employees/{employee_id}/balance","href":"/fiat-api-reference/corporate-cards/employees-balance"}]},{"group":"Cards","pages":[{"title":"Issue Card","openapi":"openapi-fiat.yaml POST /corporate-card/employees/cards","href":"/fiat-api-reference/corporate-cards/cards-create"},{"title":"List Cards","openapi":"openapi-fiat.yaml GET /corporate-card/employees/cards","href":"/fiat-api-reference/corporate-cards/cards-list"},{"title":"Get Card","openapi":"openapi-fiat.yaml GET /corporate-card/employees/cards/{card_id}","href":"/fiat-api-reference/corporate-cards/cards-get"},{"title":"Change Card Status","openapi":"openapi-fiat.yaml POST /corporate-card/employees/cards/status","href":"/fiat-api-reference/corporate-cards/cards-status"},{"title":"Set Card Limits","openapi":"openapi-fiat.yaml PUT /corporate-card/employees/cards/limits","href":"/fiat-api-reference/corporate-cards/cards-limits"}]},{"group":"Memos","pages":[{"title":"Create Memo","openapi":"openapi-fiat.yaml POST /corporate-card/employees/memos","href":"/fiat-api-reference/corporate-cards/memos-create"},{"title":"List Memos","openapi":"openapi-fiat.yaml GET /corporate-card/employees/{employee_id}/memos","href":"/fiat-api-reference/corporate-cards/memos-list"},{"title":"Approve Memo","openapi":"openapi-fiat.yaml POST /corporate-card/employees/memos/{memo_id}/approve","href":"/fiat-api-reference/corporate-cards/memos-approve"},{"title":"Reject Memo","openapi":"openapi-fiat.yaml POST /corporate-card/employees/memos/{memo_id}/reject","href":"/fiat-api-reference/corporate-cards/memos-reject"}]},{"group":"Locations","pages":[{"title":"List Location Countries","openapi":"openapi-fiat.yaml GET /locations/countries","href":"/fiat-api-reference/corporate-cards/locations-countries"},{"title":"List States","openapi":"openapi-fiat.yaml GET /locations/states/{country_id}","href":"/fiat-api-reference/corporate-cards/locations-states"}]}]},{"group":"Corporate Card Transactions","pages":[{"title":"List Card Transactions","openapi":"openapi-fiat.yaml GET /business/spend-card/transactions","href":"/fiat-api-reference/corporate-card-transactions/list"},{"title":"Get Card Transaction","openapi":"openapi-fiat.yaml GET /business/spend-card/transactions/{id}","href":"/fiat-api-reference/corporate-card-transactions/get"},{"title":"Dispute Card Transaction","openapi":"openapi-fiat.yaml POST /business/spend-card/transactions/{id}/dispute","href":"/fiat-api-reference/corporate-card-transactions/dispute"},{"title":"Add Transaction Note","openapi":"openapi-fiat.yaml POST /business/spend-card/transactions/{id}/notes","href":"/fiat-api-reference/corporate-card-transactions/notes"},{"title":"Upload Transaction Invoice","openapi":"openapi-fiat.yaml POST /business/spend-card/transactions/{id}/invoices","href":"/fiat-api-reference/corporate-card-transactions/invoices"}]},{"group":"Corporate Card Links","pages":[{"title":"Get Card Link","openapi":"openapi-fiat.yaml GET /corporate-card/employees/cards/{card_id}/link","href":"/fiat-api-reference/corporate-card-links/get-link"},{"title":"Replace Card Link","openapi":"openapi-fiat.yaml POST /corporate-card/employees/cards/{card_id}/link/rotate","href":"/fiat-api-reference/corporate-card-links/rotate-link"},{"title":"Get Employee Card Sign-in","openapi":"openapi-fiat.yaml GET /corporate-card/employees/{employee_id}/card-access","href":"/fiat-api-reference/corporate-card-links/get-card-access"},{"title":"Reset Employee Card Sign-in","openapi":"openapi-fiat.yaml POST /corporate-card/employees/{employee_id}/card-access/reset","href":"/fiat-api-reference/corporate-card-links/reset-card-access"},{"title":"Cancel Employee Email Change","openapi":"openapi-fiat.yaml DELETE /corporate-card/employees/{employee_id}/email/pending","href":"/fiat-api-reference/corporate-card-links/cancel-email-change"},{"title":"List Card Link Themes","openapi":"openapi-fiat.yaml GET /corporate-card/card-link/themes","href":"/fiat-api-reference/corporate-card-links/list-themes"},{"title":"Create Card Link Theme","openapi":"openapi-fiat.yaml POST /corporate-card/card-link/themes","href":"/fiat-api-reference/corporate-card-links/create-theme"},{"title":"Get Card Link Theme","openapi":"openapi-fiat.yaml GET /corporate-card/card-link/themes/{theme_id}","href":"/fiat-api-reference/corporate-card-links/get-theme"},{"title":"Update Card Link Theme","openapi":"openapi-fiat.yaml PUT /corporate-card/card-link/themes/{theme_id}","href":"/fiat-api-reference/corporate-card-links/update-theme"},{"title":"Delete Card Link Theme","openapi":"openapi-fiat.yaml DELETE /corporate-card/card-link/themes/{theme_id}","href":"/fiat-api-reference/corporate-card-links/delete-theme"},{"title":"Send Theme Test Email","openapi":"openapi-fiat.yaml POST /corporate-card/card-link/themes/{theme_id}/test-email","href":"/fiat-api-reference/corporate-card-links/test-theme-email"}]},{"group":"Webhooks","pages":[{"title":"Create / Update Webhook","openapi":"openapi-fiat.yaml POST /business/webhook","href":"/fiat-api-reference/webhooks/create"},{"title":"List Webhooks","openapi":"openapi-fiat.yaml GET /business/webhook","href":"/fiat-api-reference/webhooks/list"},{"title":"Update Webhook","openapi":"openapi-fiat.yaml PUT /business/webhook/{webhook_id}","href":"/fiat-api-reference/webhooks/update"},{"title":"Delete Webhook","openapi":"openapi-fiat.yaml DELETE /business/webhook/{webhook_id}","href":"/fiat-api-reference/webhooks/delete"},{"title":"Regenerate Webhook Secret","openapi":"openapi-fiat.yaml POST /business/webhook/{webhook_id}/regenerate-secret","href":"/fiat-api-reference/webhooks/regenerate-secret"}]},{"group":"Developer","pages":[{"title":"Events","openapi":"openapi-fiat.yaml GET /business/events/all","href":"/fiat-api-reference/developer/events"},{"title":"Get Event","openapi":"openapi-fiat.yaml GET /business/events/show/{id}","href":"/fiat-api-reference/developer/event-get"}]}]}]},"basePath":"","title":"Download Receipt - Yativo","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}