The Enrichment API allows you to add enhanced transaction metadata to all your payment events (e.g. transactions, refunds, disputes), regardless of which data connection or payment service provider (PSP) we ingest your data from. This additional metadata is always linked to a payments event using the original transaction reference from the connected data source. This ensures updates and data points are linked accurately.
Sensitive Data Warning:Never pass sensitive customer data to Pagos via the Enrichment API.
The primary use case for enriching your payment events with metadata is the custom data segmentation and transaction categorization it facilitates. In other words, the more information you tag transactions with, the more parameters you have to filter your transaction data by. For example, you may want to track transaction volume or segment sales traffic based on a product line, customer acquisition channel, or customer cohort. Behaviorally, the best use for metadata is retries; you can categorize your transactions by a First Attempt, Retry, Second Retry, etc. Then, you can track transaction approval performance or even customer churn via the number of transaction attempts.Enhanced metadata is also valuable for capturing pre-checkout transaction properties. The ability to capture data before a transaction is even finalized opens avenues for analyzing customer behavior during checkout, understanding drop-off points, and improving the overall user experience. Information such as Device ID and IP address can also help in fraud detection, geolocation targeting, and device-specific optimizations.
The Pagos platform uses API keys to authenticate requests to all our services. See our API Authentication guide for full instructions on generating API keys and authenticating with the Pagos APIs.
You can identify a transaction in your enrichment request using either of the following:
transaction_id - The transaction reference your PSP provided to you when processing the transaction. This is the most accurate way to identify a transaction for enrichment, as Pagos also uses this as the key reference for an order. In this case please note the appropriate field to specify this value so that we can find the correct record for a metadata update.
order_id - The transaction identifier generated in your own system. Keep in mind, if multiple transactions are identified with the order_id, all matching transactions will be enriched.
We provide these methods in order to make it as easy as possible to link additional data and labels to a transaction. Every enrichment request must include at least one.
The enrichment process operates asynchronously, allowing you to submit enrichment data even before a transaction has finished processing. To support this feature, we impose a restriction on the enrichment window.
Enrichment Duration: Once an enrichment record is submitted, the system will attempt to enrich any linked transactions for up to 7 days. Which means any future transactions also will be eligible for enrichment for the next 7 days.
Transaction Eligibility: Only transactions created within the last 45 days are eligible for enrichment. This window can be extended upon request.
To enrich your events with additional metadata, your enrichment request should include a metadata object. This object allows you to add any valid key-value pair or JSON object to provide extra information about the event. The metadata object is a flexible structure that can contain any valid key-value pairs. This can include additional information such as retry attempts, custom keys, and other relevant data.
Enrichment record processed and saved in enrichment queue successfully
400 (bad request)
No transaction identifier provided; please populate order_id and/or transaction_id
401 (unauthorized)
Authorization failed. Possible reasons include invalid API key or API key from another environment
{ "statusCode": 400, "message": "Validation error: Identifier should we populated with at least one strategy: transaction_id or order_id"}
{ "statusCode": 401, "message": "Unauthorized"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pagos","colors":{"primary":"#03BBFF","light":"#03BBFF","dark":"#03BBFF"},"logo":{"light":"https://mintcdn.com/pagossolutionsinc/3ldyTV7p7miCx1ZO/logo/light2.png?fit=max\u0026auto=format\u0026n=3ldyTV7p7miCx1ZO\u0026q=85\u0026s=2a2e5dc2e58df96233f2a62db0204cf1","dark":"https://mintcdn.com/pagossolutionsinc/3ldyTV7p7miCx1ZO/logo/dark2.png?fit=max\u0026auto=format\u0026n=3ldyTV7p7miCx1ZO\u0026q=85\u0026s=402e696eca3e01c75ea0063842833cc3"},"favicon":"https://mintcdn.com/pagossolutionsinc/f9_N58ZHpBMuG2e5/favicon.svg?fit=max\u0026auto=format\u0026n=f9_N58ZHpBMuG2e5\u0026q=85\u0026s=95f2a4dc8eed2e6945beb38faad3efd4","navbar":{"links":[{"href":"https://pagos.ai/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://secure.pagos.ai/"}},"footer":{"socials":{"x":"https://twitter.com/Pagos_AI","github":"https://github.com/pagos-ai","linkedin":"https://www.linkedin.com/company/pagos-ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pagossolutionsinc","hasAudioNarration":false,"actualSubdomain":"pagossolutionsinc","customDomains":["docs.pagos.ai"],"gitSource":{"type":"github","owner":"pagos-ai","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4e199f8344a2328cd0851","collectionId":"051a4a85-907c-4f9e-8473-857865cd86b1","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4e199f8344a2328cd0851"},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4e199f8344a2328cd0851","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":80},{"language":"default","tag":"Pagos Service Panel","count":59},{"language":"default","tag":"BIN Database","count":27},{"language":"default","tag":"Insights","count":22},{"language":"default","tag":"Data \u0026 Response Codes","count":20},{"language":"default","tag":"Account Updater","count":18},{"language":"default","tag":"Importing Your Data","count":15},{"language":"default","tag":"Connecting Your PSPs","count":13},{"language":"default","tag":"Payments Basics","count":13},{"language":"default","tag":"Network Tokenization","count":12}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"data-ingestion-api/enrichment-api-overview","slug":"/data-ingestion-api/enrichment-api-overview","pageMetadata":{"title":"Enrichment API Overview","description":null,"href":"/data-ingestion-api/enrichment-api-overview"},"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={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Enrichment API allows you to add enhanced transaction metadata to all your payment events (e.g. transactions, refunds, disputes), regardless of which data connection or payment service provider (PSP) we ingest your data from. This additional metadata is always linked to a payments event using the original transaction reference from the connected data source. This ensures updates and data points are linked accurately.`}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Sensitive Data Warning:`})}),_jsx(_components.p,{children:`Never pass sensitive customer data to Pagos via the Enrichment API.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsx(_components.p,{children:`The primary use case for enriching your payment events with metadata is the custom data segmentation and transaction categorization it facilitates. In other words, the more information you tag transactions with, the more parameters you have to filter your transaction data by. For example, you may want to track transaction volume or segment sales traffic based on a product line, customer acquisition channel, or customer cohort. Behaviorally, the best use for metadata is retries; you can categorize your transactions by a First Attempt, Retry, Second Retry, etc. Then, you can track transaction approval performance or even customer churn via the number of transaction attempts.`}),`\n`,_jsx(_components.p,{children:`Enhanced metadata is also valuable for capturing pre-checkout transaction properties. The ability to capture data before a transaction is even finalized opens avenues for analyzing customer behavior during checkout, understanding drop-off points, and improving the overall user experience. Information such as Device ID and IP address can also help in fraud detection, geolocation targeting, and device-specific optimizations.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`The Pagos platform uses API keys to authenticate requests to all our services. See our `,_jsx(_components.a,{href:`/authentication/authentication-overview`,children:`API Authentication`}),` guide for full instructions on generating API keys and authenticating with the Pagos APIs.`]}),`\n`,_jsx(Heading,{level:`2`,id:`enrichment-request`,children:`Enrichment Request`}),`\n`,_jsx(_components.p,{children:`You can enrich a payments event with additional data on POST:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.a,{href:`/data-ingestion-api/endpoint/enrichment`,children:[_jsx(_components.code,{children:`{account_id}`}),`/transactions/enrichment`]}),` to enrich transactions from one of the `,_jsx(_components.a,{href:`/importing-data/managing-data-connections`,children:`data connections`}),` you import data into Pagos from`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/data-ingestion-api/endpoint/enrichment-all`,children:`/transactions/enrichment`}),` to enrich transactions imported into Pagos from all your data connections`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The enrichment request includes the following fields:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Property`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Variable Type`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`transaction_id`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`string`}),_jsx(_components.td,{style:{textAlign:`left`},children:`The unique transaction identifier as provided by your PSP; max 255 characters`}),_jsx(_components.td,{style:{textAlign:`left`},children:`”SQK3T3B6SRZSRYV5”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`order_id`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`string`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The order reference identifier you generated (`,_jsx(_components.a,{href:`#transaction-id-vs-order-id`,children:`see note below`}),`); max 255 characters`]}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:`”5671790218”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`metadata`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`object`}),_jsx(_components.td,{style:{textAlign:`left`},children:`A transaction-level label used to segment transactions into meaningful groups`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`See `,_jsx(_components.a,{href:`#metadata`,children:`Metadata`}),` section below`]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`transaction-id-vs-order-id`,children:`Transaction ID vs. Order ID`}),`\n`,_jsx(_components.p,{children:`You can identify a transaction in your enrichment request using either of the following:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`transaction_id`})}),` - The transaction reference your PSP provided to you when processing the transaction. This is the most accurate way to identify a transaction for enrichment, as Pagos also uses this as the key reference for an order. In this case please note the appropriate field to specify this value so that we can find the correct record for a metadata update.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`order_id`})}),` - The transaction identifier generated in your own system. Keep in mind, if multiple transactions are identified with the `,_jsx(_components.em,{children:`order_id`}),`, all matching transactions will be enriched.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`We provide these methods in order to make it as easy as possible to link additional data and labels to a transaction. Every enrichment request must include at least one.`}),`\n`,_jsx(Heading,{level:`3`,id:`enrichment-window-limitations`,children:`Enrichment Window Limitations`}),`\n`,_jsx(_components.p,{children:`The enrichment process operates asynchronously, allowing you to submit enrichment data even before a transaction has finished processing. To support this feature, we impose a restriction on the enrichment window.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enrichment Duration`}),`: Once an enrichment record is submitted, the system will attempt to enrich any linked transactions for up to 7 days. Which means any future transactions also will be eligible for enrichment for the next 7 days.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Transaction Eligibility`}),`: Only transactions created within the last 45 days are eligible for enrichment. This window can be extended upon request.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`metadata-requirements`,children:`Metadata Requirements`}),`\n`,_jsxs(_components.p,{children:[`To enrich your events with additional metadata, your enrichment request should include a `,_jsx(_components.code,{children:`metadata`}),` object. This object allows you to add any valid key-value pair or JSON object to provide extra information about the event. The metadata object is a flexible structure that can contain any valid key-value pairs. This can include additional information such as retry attempts, custom keys, and other relevant data.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,children:[_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:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\t...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`\t...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:` metadata`}),_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:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value\"`}),_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:` \"retryAttempt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"anotherCustomKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customValue\"`})]}),`\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(Heading,{level:`3`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(_components.p,{children:`Request body example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"transaction_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SQK3T3B6SRZSRYV5\"`}),_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:` \"order_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5671790218\"`}),_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:` \"metadata\"`}),_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:` \"subscription_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"s_9kBsm9XudQKhIKpJmNaG2J3zeCwshgtk\"`}),_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:` \"retryAttempt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_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:` \"purchase_flow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Recurring\"`}),_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:` \"isLastRetry\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\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(_components.p,{children:`CURL example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sandbox.nest.pagosapi.com/v1/transactions/enrichment`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer XXX_YYY_ZZZ'`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_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:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transaction_id\": \"SQK3T3B6GSRZZCV5\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"subscription_id\": \"s_9kBsm9XudQKhIKpJmNaG2J3zeCwshgtk\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`enrichment-response`,children:`Enrichment Response`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`HTTP Response Code`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`201 (created)`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Enrichment record processed and saved in enrichment queue successfully`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`400 (bad request)`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`No transaction identifier provided; please populate `,_jsx(_components.code,{children:`order_id`}),` and/or `,_jsx(_components.code,{children:`transaction_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`401 (unauthorized)`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Authorization failed. Possible reasons include invalid API key or API key from another environment`})]})]})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`400`,numberOfLines:`4`,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:`4`,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:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_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:`\"Validation error: Identifier should we populated with at least one strategy: transaction_id or order_id\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`4`,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:`4`,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:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`401`}),_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:`\"Unauthorized\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Enrichment API Overview","description":null,"href":"/data-ingestion-api/enrichment-api-overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use Cases","slug":"use-cases","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Enrichment Request","slug":"enrichment-request","depth":2,"children":[{"title":"Transaction ID vs. Order ID","slug":"transaction-id-vs-order-id","depth":3,"children":[]},{"title":"Enrichment Window Limitations","slug":"enrichment-window-limitations","depth":3,"children":[]},{"title":"Metadata Requirements","slug":"metadata-requirements","depth":3,"children":[]},{"title":"Example Request","slug":"example-request","depth":3,"children":[]}]},{"title":"Enrichment Response","slug":"enrichment-response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/pagossolutionsinc/8da47cc75b7da22f/playground.js"],"subdomain":"pagossolutionsinc","siteName":"Pagos","title":"Enrichment API Overview - Pagos","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T18:25:00.785Z","originalFileLocation":"data-ingestion-api/enrichment-api-overview.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=\"application-name\" content=\"Pagos\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_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/pagossolutionsinc/RJpyMeY4pItT7M1t/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Enrichment API Overview - Pagos\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pagos\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pagossolutionsinc.mintlify.app/_mintlify/api/og/v2?division=Data+Ingestion\u0026amp;title=Enrichment+API+Overview\u0026amp;theme=bda2eebcc66aa5d76b101631\u0026amp;signature=894be5b931d0d818b6f39fa687b4f5be6f23eca229aeb3e2aeca74e2411a7063\">\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=\"Enrichment API Overview - Pagos\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pagossolutionsinc.mintlify.app/_mintlify/api/og/v2?division=Data+Ingestion\u0026amp;title=Enrichment+API+Overview\u0026amp;theme=bda2eebcc66aa5d76b101631\u0026amp;signature=894be5b931d0d818b6f39fa687b4f5be6f23eca229aeb3e2aeca74e2411a7063\">\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/pagossolutionsinc/RJpyMeY4pItT7M1t/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pagos\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#03BBFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/data-ingestion-api/enrichment-api-overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pagos.ai/#organization\",\"name\":\"Pagos\",\"url\":\"https://docs.pagos.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pagossolutionsinc/3ldyTV7p7miCx1ZO/logo/light2.png?fit=max\u0026auto=format\u0026n=3ldyTV7p7miCx1ZO\u0026q=85\u0026s=2a2e5dc2e58df96233f2a62db0204cf1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pagos.ai#website\",\"name\":\"Pagos\",\"url\":\"https://docs.pagos.ai\",\"publisher\":{\"@id\":\"https://docs.pagos.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview#webpage\",\"url\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview\",\"name\":\"Enrichment API Overview\",\"dateModified\":\"2026-10-30T18:25:00.785Z\",\"isPartOf\":{\"@id\":\"https://docs.pagos.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data Ingestion\",\"item\":\"https://docs.pagos.ai/data-ingestion-api/data-ingestion-api-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enrichment API Overview\",\"item\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview#article\",\"headline\":\"Enrichment API Overview\",\"name\":\"Enrichment API Overview\",\"url\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pagos.ai/data-ingestion-api/enrichment-api-overview#webpage\"},\"dateModified\":\"2026-10-30T18:25:00.785Z\",\"publisher\":{\"@id\":\"https://docs.pagos.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pagos.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pagos\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Pagos","nav":{"global":null,"tabs":[{"tab":"Pagos Service Panel","pages":[{"title":"Pagos Service Panel","href":"/getting-started/getting-started-with-pagos"}]},{"tab":"BIN Database","pages":[{"title":"BIN Database","href":"/bin-database/getting-started-with-bin-database"}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"title":"Pagos API Authentication","sidebarTitle":"Pagos API Authentication","href":"/authentication/authentication-overview"},{"title":"September 2026 API Migration","sidebarTitle":"September 2026 Migration","href":"/authentication/september-2026-api-migration"}]},{"group":"Data \u0026 Response Codes","pages":[{"title":"Pagos Data Dictionary","mode":"wide","href":"/response-codes/pagos-data-dictionary"},{"title":"AVS Response Codes","mode":"wide","href":"/response-codes/avs-response-codes"},{"title":"CVV Check Response Codes","mode":"wide","href":"/response-codes/cvv-check-response-codes"},{"title":"Disbursement Response Codes","mode":"wide","href":"/response-codes/disbursement-response-codes"},{"title":"3DS Response Codes","mode":"wide","href":"/response-codes/3ds-response-codes"},{"title":"Stored Credential Response Codes","mode":"wide","href":"/response-codes/stored-credential-response-codes"},{"title":"Settlement Type Codes","mode":"wide","href":"/response-codes/settlement-type-codes"},{"title":"Transaction Status Codes","mode":"wide","href":"/response-codes/transaction-status-codes"},{"title":"POS Entry Mode Codes","mode":"wide","href":"/response-codes/pos-entry-mode-codes"},{"group":"Chargeback Reason Codes","pages":[{"title":"Chargeback Reason Codes","mode":"wide","href":"/response-codes/chargebacks/chargeback-reason-codes"},{"title":"Chargeback Reason Category Codes","mode":"wide","href":"/response-codes/chargebacks/chargeback-reason-category-codes"}]},{"group":"Chargeback Status Codes","pages":[{"title":"Chargeback Status Codes","mode":"wide","href":"/response-codes/chargebacks/chargeback-status-codes"},{"title":"Chargeback Status Category Codes","mode":"wide","href":"/response-codes/chargebacks/chargeback-status-category-codes"}]},{"group":"Fee Type Codes","pages":[{"title":"Fee Type Codes","mode":"wide","href":"/response-codes/fees/fee-type-codes"},{"title":"Fee Type Category Codes","mode":"wide","href":"/response-codes/fees/fee-type-category-codes"},{"title":"Fee Type Subcategory Codes","mode":"wide","href":"/response-codes/fees/fee-type-subcategory-codes"}]},{"group":"Refund Status Codes","pages":[{"title":"Refund Status Codes","mode":"wide","href":"/response-codes/refunds/refund-status-codes"},{"title":"Refund Status Category Codes","mode":"wide","href":"/response-codes/refunds/refund-status-category-codes"}]},{"group":"Transaction Response Codes (Decline Codes)","pages":[{"title":"Transaction Response Codes (Decline Codes)","mode":"wide","href":"/response-codes/transactions/transaction-response-codes"},{"title":"Transaction Response Category Codes (Decline Code Categories)","mode":"wide","href":"/response-codes/transactions/transaction-response-category-codes"}]}]},{"group":"Data Ingestion","pages":[{"title":"Pagos Data Ingestion API Overview","sidebarTitle":"Data Ingestion API Overview","description":null,"href":"/data-ingestion-api/data-ingestion-api-overview"},{"title":"Enrichment API Overview","href":"/data-ingestion-api/enrichment-api-overview"},{"title":"SFTP Batch Data Ingestion","description":null,"href":"/data-ingestion-api/sftp-batch-data-ingestion"},{"title":"Transactions","openapi":"POST /v1/{account_id}/transactions","href":"/data-ingestion-api/endpoint/transactions"},{"title":"Refunds","openapi":"POST /v1/{account_id}/refunds","href":"/data-ingestion-api/endpoint/refunds"},{"title":"Disputes","openapi":"POST /v1/{account_id}/disputes","href":"/data-ingestion-api/endpoint/disputes"},{"title":"Disbursements","openapi":"POST /v1/{account_id}/disbursements","href":"/data-ingestion-api/endpoint/disbursements"},{"title":"Fees","openapi":"POST /v1/{account_id}/fees","href":"/data-ingestion-api/endpoint/fees"},{"title":"Enrichment: One Data Connection","openapi":"POST /v1/{account_id}/transactions/enrichment","href":"/data-ingestion-api/endpoint/enrichment"},{"title":"Enrichment: All Transactions","openapi":"POST /v1/transactions/enrichment","href":"/data-ingestion-api/endpoint/enrichment-all"},{"title":"Healthcheck","openapi":"GET /healthcheck","href":"/data-ingestion-api/endpoint/healthcheck"}]},{"group":"BIN Database","pages":[{"title":"Pagos BIN Data Tools","sidebarTitle":"BIN Data Tools","href":"/bin-data-APIs/pagos-bin-data-tools"},{"group":"BIN Data API","pages":[{"title":"BIN Data API Overview","sidebarTitle":"Overview","href":"/bin-data-APIs/bin-data-api-overview"},{"title":"BIN Data API Error Handling","sidebarTitle":"Error Handling","href":"/bin-data-APIs/bin-data-api-error-handling"},{"title":"BIN Data API Dictionary","sidebarTitle":"BIN Data API Dictionary","href":"/bin-data-APIs/bin-data-api-dictionary"},{"title":"Single BIN Lookup","openapi":"GET /bins","href":"/bin-data-APIs/endpoint/single"},{"title":"Multiple BIN Lookups","openapi":"POST /bins/multiple","href":"/bin-data-APIs/endpoint/multiple"}]},{"group":"BIN Data Batch","pages":[{"title":"BIN Data Batch API Overview","sidebarTitle":"Overview","href":"/bin-data-APIs/batch-api-overview"},{"title":"BIN Data Batch API Dictionary","sidebarTitle":"Batch API Dictionary","href":"/bin-data-APIs/batch-api-dictionary"},{"title":"Get Snapshot File of All BINs","openapi":"GET /batch/files","href":"/bin-data-APIs/endpoint/file-snapshot"}]},{"group":"BIN Continuity API","pages":[{"title":"BIN Continuity API Overview","sidebarTitle":"Overview","href":"/bin-data-APIs/bin-continuity-api-overview"},{"title":"BIN Continuity API Error Handling","sidebarTitle":"Error Handling","href":"/bin-data-APIs/bin-continuity-api-error-handling"},{"title":"BIN Continuity API Dictionary","sidebarTitle":"BIN Continuity Dictionary","href":"/bin-data-APIs/bin-continuity-api-dictionary"},{"title":"BIN Continuity Lookup","openapi":"GET /bins/continuity","href":"/bin-data-APIs/endpoint/continuity"}]},{"group":"BIN Benchmark API","pages":[{"title":"BIN Benchmark API Overview","sidebarTitle":"Overview","href":"/bin-data-APIs/bin-benchmark-api-overview"},{"title":"BIN Benchmark API Error Handling","sidebarTitle":"Error Handling","href":"/bin-data-APIs/bin-benchmark-api-error-handling"},{"title":"BIN Benchmark API Dictionary","sidebarTitle":"BIN Benchmark Dictionary","href":"/bin-data-APIs/bin-benchmark-api-dictionary"},{"title":"BIN Benchmark API Testing","sidebarTitle":"Testing","href":"/bin-data-APIs/bin-benchmark-api-testing"}]}]},{"group":"Account Updater","pages":[{"title":"Pagos Account Updater Tools","sidebarTitle":"Account Updater Tools","href":"/account-updater/pagos-account-updater-tools"},{"group":"Batch Account Updater API","pages":[{"title":"Batch Account Updater API Overview","sidebarTitle":"Overview","href":"/account-updater/batch-api-overview"},{"title":"Batch Account Updater API Headers","sidebarTitle":"Headers","href":"/account-updater/batch-api-headers"},{"title":"Batch Account Updater Webhooks","sidebarTitle":"Webhooks","href":"/account-updater/batch-webhooks"},{"title":"Batch Account Updater Update Codes","sidebarTitle":"Update Codes","href":"/account-updater/batch-update-codes"},{"title":"Batch Account Updater API Error Handling","sidebarTitle":"Error Handling","href":"/account-updater/batch-error-handling"},{"title":"Batch Account Updater Testing","sidebarTitle":"Testing","href":"/account-updater/batch-testing"},{"title":"Pagos Public PGP Key (Live)","sidebarTitle":"Public PGP Key (Live)","href":"/account-updater/pagos-public-pgp-key-live"},{"title":"Pagos Public PGP Key (Test)","sidebarTitle":"Public PGP Key (Test)","href":"/account-updater/pagos-public-pgp-key-test"},{"title":"Submit Cards for Updates","openapi":"POST /loon/inquiries/jobs","href":"/account-updater/endpoint/inquiries"},{"title":"Check Status of an Inquiry","openapi":"GET /loon/inquiries/jobs/{jobId}","href":"/account-updater/endpoint/status"},{"title":"Download Updated Card Details","openapi":"GET /loon/inquiries/jobs/{jobId}/download","href":"/account-updater/endpoint/download"}]},{"group":"Real-Time Account Updater API","pages":[{"title":"Real-Time Account Updater API Overview","sidebarTitle":"Overview","href":"/account-updater/real-time-api-overview"},{"title":"Real-Time Account Updater API Headers","sidebarTitle":"Headers","href":"/account-updater/real-time-api-headers"},{"title":"Real-Time Account Updater Update Codes","sidebarTitle":"Update Codes","href":"/account-updater/real-time-update-codes"},{"title":"Real-Time Account Updater Error Handling","sidebarTitle":"Error Handling","href":"/account-updater/real-time-error-handling"},{"title":"Real-Time Account Updater Testing","sidebarTitle":"Testing","href":"/account-updater/real-time-testing"},{"title":"Real-Time Account Updater Inquiry","sidebarTitle":"Inquiry","openapi":"POST /loon/rtau/inquiry","href":"/account-updater/endpoint/rtau-inquiry"}]}]},{"group":"Network Tokenization","pages":[{"title":"Network Tokenization API Overview","sidebarTitle":"Overview","href":"/network-tokenization/overview"},{"title":"Network Tokenization API Headers","sidebarTitle":"Headers","href":"/network-tokenization/headers"},{"title":"Network Tokenization Webhooks","sidebarTitle":"Webhooks","href":"/network-tokenization/webhooks"},{"title":"Network Tokenization API Error Handling","sidebarTitle":"Error Handling","href":"/network-tokenization/error-handling"},{"title":"Network Tokenization API Testing","sidebarTitle":"Testing","href":"/network-tokenization/testing"},{"title":"Tokenize a PAN","openapi":"POST /toucan/tokens/tokenize","href":"/network-tokenization/endpoint/tokenize"},{"title":"Fetch Account Data","openapi":"GET /toucan/tokens/{tokenRefId}/account","href":"/network-tokenization/endpoint/account"},{"title":"Get Token Status","openapi":"GET /toucan/tokens/{tokenRefId}/status","href":"/network-tokenization/endpoint/status"},{"title":"Create a Cryptogram","openapi":"POST /toucan/tokens/transact/{tokenRefId}","href":"/network-tokenization/endpoint/transact"},{"title":"Suspends an Active Token","openapi":"PUT /toucan/tokens/{tokenRefId}/suspend","href":"/network-tokenization/endpoint/suspends"},{"title":"Resumes a Suspended Token","openapi":"PUT /toucan/tokens/{tokenRefId}/resume","href":"/network-tokenization/endpoint/resumes"},{"title":"Delete a Token","openapi":"DELETE /toucan/tokens/{tokenRefId}/delete","href":"/network-tokenization/endpoint/deletes"}]}]},{"tab":"Payments Basics","pages":[{"title":"Payments Basics","href":"/payments-basics/the-card-payment-lifecycle"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Enrichment API Overview - Pagos","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":[],"chunks":[]}