How the payment reached you. CASH is money matched to a bank deposit and BANK_FEE is the fee a bank charged on one; PROCESSOR_FEE is what a payment provider took out of a sale, and every other value names the card network it came over.
Whether the money for this payment has arrived. PENDING: the payment has been made but the money has not arrived yet. POSTED: the money has arrived. VOIDED: the payment provider declined, voided or let the payment expire, so the money will never arrive.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Synthetic API","colors":{"primary":"#4f7658"},"logo":{"light":"https://mintcdn.com/synthetic-intelligences-inc/fQrygfnnSQo6sqbf/logo/light.svg?fit=max\u0026auto=format\u0026n=fQrygfnnSQo6sqbf\u0026q=85\u0026s=2dda80021fb41535557588dfc2db8171","dark":"https://mintcdn.com/synthetic-intelligences-inc/fQrygfnnSQo6sqbf/logo/dark.svg?fit=max\u0026auto=format\u0026n=fQrygfnnSQo6sqbf\u0026q=85\u0026s=5c52f16fb166ac48b3d84c1a873ee2f6","href":"https://synthetic.ai"},"favicon":"https://mintcdn.com/synthetic-intelligences-inc/fQrygfnnSQo6sqbf/favicon.svg?fit=max\u0026auto=format\u0026n=fQrygfnnSQo6sqbf\u0026q=85\u0026s=99c5d1fd4b2b7623472231c876aa54f9","navbar":{"links":[{"href":"https://app.synthetic.ai","label":"Open Synthetic"}]},"footer":{"links":[{"header":"Synthetic","items":[{"label":"Website","href":"https://synthetic.ai"},{"label":"Sign in","href":"https://app.synthetic.ai"}]}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"synthetic-intelligences-inc","hasAudioNarration":false,"actualSubdomain":"synthetic-intelligences-inc","customDomains":["docs.synthetic.ai"],"gitSource":{"type":"github","owner":"synthetic-intelligences","repo":"synthetic-monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae502b2240fd66bc490d4ad","collectionId":"4cb46970-d7ab-4e23-99d0-135b97fe157c","liveDeploymentHistoryId":"6ae502b2240fd66bc490d4ad","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae502b2240fd66bc490d4ad","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Contracts","count":7},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Invoices","count":3},{"language":"default","tag":"Customers","count":2},{"language":"default","tag":"Payments","count":2},{"language":"default","tag":"System","count":2}]},"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":"api-reference/payments/get-a-payment","slug":"/api-reference/payments/get-a-payment","pageMetadata":{"title":"Get a payment","description":"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding `payments:read`.","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /payments/{id}","href":"/api-reference/payments/get-a-payment","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding \", _jsx(_components.code, {\n children: \"payments:read\"\n }), \".\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a payment","description":"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding `payments:read`.","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /payments/{id}","href":"/api-reference/payments/get-a-payment","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"payments-get","summary":"Get a payment","description":"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding `payments:read`.","tags":["Payments"],"security":["644ce994-68ab-43c6-bc96-37cb0445ab17"],"parameters":["2fd90031-17fa-4f37-b84f-f4075f660dc2"],"responses":{"200":"312154a2-b4d0-4e24-9f17-8bd847614e7f","400":"965a70c0-a0cf-4a2c-ba66-ca0ea5144fb8","401":"ee0146f7-b03b-4afe-a419-f442f2fa4eb6","404":"c8acb75a-3d91-46df-b591-15e544b817c2","500":"5c912a6a-105d-4785-977c-d9901a302be8"},"method":"get","type":"path","servers":["cf001fbc-6f44-475c-a4d8-19bb294765d5"],"path":"/payments/{id}","baseUrlOptions":["https://app.synthetic.ai/api/v1"],"title":"Get a payment","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2fd90031-17fa-4f37-b84f-f4075f660dc2":{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The payment id.","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"The payment id."}},"responses":{"312154a2-b4d0-4e24-9f17-8bd847614e7f":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["CASH","BANK_FEE","PROCESSOR_FEE","VISA","MASTERCARD","AMEX","DISCOVER","CARD_OTHER","ACH"],"description":"How the payment reached you. CASH is money matched to a bank deposit and BANK_FEE is the fee a bank charged on one; PROCESSOR_FEE is what a payment provider took out of a sale, and every other value names the card network it came over.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"parentPaymentId":{"oneOf":[{"type":"string","description":"For a bank fee or a processor fee, the payment it was charged against; null for any other payment.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"parentPaymentId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","description":"For a bank fee or a processor fee, the payment it was charged against; null for any other payment.","isRequired":true,"uniqueKey":"parentPaymentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"parentPaymentId","typeLabel":"string\u003cuuid> | null"},"status":{"type":"string","enum":["PENDING","POSTED","VOIDED"],"description":"Whether the money for this payment has arrived. PENDING: the payment has been made but the money has not arrived yet. POSTED: the money has arrived. VOIDED: the payment provider declined, voided or let the payment expire, so the money will never arrive.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"receivedDate":{"format":"date-time","description":"The day the payment was received. Only the date matters; the time is always midnight UTC.","type":"string","isRequired":true,"uniqueKey":"receivedDate","typeLabel":"string\u003cdate-time>"},"customerId":{"oneOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"customerId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","isRequired":true,"uniqueKey":"customerId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customerId","typeLabel":"string\u003cuuid> | null"},"customerName":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"customerName.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"customerName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"customerName","typeLabel":"string | null"},"amount":{"type":"object","properties":{"value":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"amount.value","typeLabel":"integer"},"currencyCode":{"type":"string","enum":["USD","CAD","EUR","USDC"],"isRequired":true,"uniqueKey":"amount.currencyCode","typeLabel":"enum\u003cstring>"}},"required":["value","currencyCode"],"additionalProperties":false,"description":"The amount paid. Its value is a whole number of the currency's smallest unit, so { \"value\": 200000, \"currencyCode\": \"USD\" } is $2,000.00.","isRequired":true,"uniqueKey":"amount","typeLabel":"object"},"appliedAmount":{"type":"object","properties":{"value":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"appliedAmount.value","typeLabel":"integer"},"currencyCode":{"type":"string","enum":["USD","CAD","EUR","USDC"],"isRequired":true,"uniqueKey":"appliedAmount.currencyCode","typeLabel":"enum\u003cstring>"}},"required":["value","currencyCode"],"additionalProperties":false,"description":"How much of the payment has been applied to invoices.","isRequired":true,"uniqueKey":"appliedAmount","typeLabel":"object"},"unappliedAmount":{"type":"object","properties":{"value":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"unappliedAmount.value","typeLabel":"integer"},"currencyCode":{"type":"string","enum":["USD","CAD","EUR","USDC"],"isRequired":true,"uniqueKey":"unappliedAmount.currencyCode","typeLabel":"enum\u003cstring>"}},"required":["value","currencyCode"],"additionalProperties":false,"description":"How much of the payment is not yet applied to any invoice.","isRequired":true,"uniqueKey":"unappliedAmount","typeLabel":"object"},"journalEntryId":{"oneOf":[{"type":"string","description":"The journal entry the payment posted in; null while the payment is PENDING.","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"journalEntryId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","description":"The journal entry the payment posted in; null while the payment is PENDING.","isRequired":true,"uniqueKey":"journalEntryId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"journalEntryId","typeLabel":"string\u003cuuid> | null"},"bankFee":{"oneOf":[{"description":"Deprecated: read fees.bank instead. The bank fee charged against this payment, itself a payment. A fee has none.","deprecated":true,"isRequired":true,"uniqueKey":"bankFee.oneOf.0","typeLabel":"any"},{"type":"null","description":"Deprecated: read fees.bank instead. The bank fee charged against this payment, itself a payment. A fee has none.","deprecated":true,"isRequired":true,"uniqueKey":"bankFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"bankFee","typeLabel":"any | null"},"fees":{"type":"object","properties":{"bank":{"oneOf":[{"description":"The fee a bank charged on this cash payment, itself a payment of type BANK_FEE. Null when there is none.","isRequired":true,"uniqueKey":"fees.bank.oneOf.0","typeLabel":"any"},{"type":"null","description":"The fee a bank charged on this cash payment, itself a payment of type BANK_FEE. Null when there is none.","isRequired":true,"uniqueKey":"fees.bank.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fees.bank","typeLabel":"any | null"},"processor":{"oneOf":[{"description":"The fee a payment provider kept from this card payment, itself a payment of type PROCESSOR_FEE. Null when there is none.","isRequired":true,"uniqueKey":"fees.processor.oneOf.0","typeLabel":"any"},{"type":"null","description":"The fee a payment provider kept from this card payment, itself a payment of type PROCESSOR_FEE. Null when there is none.","isRequired":true,"uniqueKey":"fees.processor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fees.processor","typeLabel":"any | null"}},"required":["bank","processor"],"additionalProperties":false,"description":"The fees charged against this payment. A fee's own fees are both null.","isRequired":true,"uniqueKey":"fees","typeLabel":"object"},"createdAt":{"type":"string","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string"},"updatedAt":{"type":"string","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string"}},"required":["id","type","parentPaymentId","status","receivedDate","customerId","customerName","amount","appliedAmount","unappliedAmount","journalEntryId","bankFee","fees","createdAt","updatedAt"],"additionalProperties":false,"description":"Money a customer paid: how much, which customer, how much of it has been applied to invoices, and the fees charged against it, each itself a payment.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","type":"CASH","parentPaymentId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"PENDING","receivedDate":"2023-11-07T05:31:56Z","customerId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","customerName":"\u003cstring>","amount":{"value":0,"currencyCode":"USD"},"appliedAmount":{"value":0,"currencyCode":"USD"},"unappliedAmount":{"value":0,"currencyCode":"USD"},"journalEntryId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","bankFee":"\u003cunknown>","fees":{"bank":"\u003cunknown>","processor":"\u003cunknown>"},"createdAt":"\u003cstring>","updatedAt":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"965a70c0-a0cf-4a2c-ba66-ca0ea5144fb8":{"description":"Input validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Input validation failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Input validation failed error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Input validation failed","issues":[]},"uniqueKey":"","typeLabel":"Input validation failed error (400) · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Input validation failed","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"ee0146f7-b03b-4afe-a419-f442f2fa4eb6":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Unauthorized","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"Unauthorized error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Unauthorized","issues":[]},"uniqueKey":"","typeLabel":"Unauthorized error (401) · object"},"examples":{"Example":{"title":"Example","value":{"code":"UNAUTHORIZED","message":"Unauthorized","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"c8acb75a-3d91-46df-b591-15e544b817c2":{"description":"The record does not exist for your business.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"The record does not exist for your business.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"NOT_FOUND","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"The record does not exist for your business. error (404)","description":"The error information","example":{"code":"NOT_FOUND","message":"The record does not exist for your business.","issues":[]},"uniqueKey":"","typeLabel":"The record does not exist for your business. error (404) · object"},"examples":{"Example":{"title":"Example","value":{"code":"NOT_FOUND","message":"The record does not exist for your business.","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"5c912a6a-105d-4785-977c-d9901a302be8":{"description":"An unexpected error occurred.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"An unexpected error occurred.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"description":"An array of issues that were responsible for the error","example":[],"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"title":"An unexpected error occurred. error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"An unexpected error occurred.","issues":[]},"uniqueKey":"","typeLabel":"An unexpected error occurred. error (500) · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"An unexpected error occurred.","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"644ce994-68ab-43c6-bc96-37cb0445ab17":{"BearerAuth":{"type":"http","scheme":"bearer","description":"An API key created in Settings, sent as `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"cf001fbc-6f44-475c-a4d8-19bb294765d5":{"url":"https://app.synthetic.ai/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key created in Settings, sent as `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key created in Settings, sent as `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"https://app.synthetic.ai/api/v1/openapi.json"},"subdomain":"synthetic-intelligences-inc","siteName":"Synthetic API","title":"Get a payment - Synthetic API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T20:48:55.260Z","originalFileLocation":"api-reference/payments/get-a-payment.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=\"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding payments:read.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Synthetic API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a payment - Synthetic API\">\u003cmeta data-mint-head property=\"og:description\" content=\"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding payments:read.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Synthetic API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.synthetic.ai/api-reference/payments/get-a-payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://synthetic-intelligences-inc.mintlify.app/_mintlify/api/og/v2?division=Payments\u0026amp;title=Get+a+payment\u0026amp;description=One+payment+of+any+type+by+id%2C+including+a+fee+or+a+voided+card+payment.+A+payment+of+another+entity+is+not+found.+Needs+a+key+holding+%60payments%3Aread%60.\u0026amp;theme=a479a14ec030af800e1f5c00\u0026amp;signature=8ea2f0df84989d07d2504f76bd88c4ef6b94f74b383e921c0e052acaee997a48\">\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=\"Get a payment - Synthetic API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding payments:read.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://synthetic-intelligences-inc.mintlify.app/_mintlify/api/og/v2?division=Payments\u0026amp;title=Get+a+payment\u0026amp;description=One+payment+of+any+type+by+id%2C+including+a+fee+or+a+voided+card+payment.+A+payment+of+another+entity+is+not+found.+Needs+a+key+holding+%60payments%3Aread%60.\u0026amp;theme=a479a14ec030af800e1f5c00\u0026amp;signature=8ea2f0df84989d07d2504f76bd88c4ef6b94f74b383e921c0e052acaee997a48\">\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/synthetic-intelligences-inc/Mg1HiyJW6ibf7wLe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Synthetic API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f7658\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.synthetic.ai/api-reference/payments/get-a-payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payments/get-a-payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.synthetic.ai/#organization\",\"name\":\"Synthetic API\",\"url\":\"https://docs.synthetic.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/synthetic-intelligences-inc/fQrygfnnSQo6sqbf/logo/light.svg?fit=max\u0026auto=format\u0026n=fQrygfnnSQo6sqbf\u0026q=85\u0026s=2dda80021fb41535557588dfc2db8171\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.synthetic.ai#website\",\"name\":\"Synthetic API\",\"url\":\"https://docs.synthetic.ai\",\"publisher\":{\"@id\":\"https://docs.synthetic.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment#webpage\",\"url\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment\",\"name\":\"Get a payment\",\"description\":\"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding payments:read.\",\"dateModified\":\"2026-10-30T20:48:55.260Z\",\"isPartOf\":{\"@id\":\"https://docs.synthetic.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payments\",\"item\":\"https://docs.synthetic.ai/api-reference/payments/list-payments\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a payment\",\"item\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment#apireference\",\"headline\":\"Get a payment\",\"name\":\"Get a payment\",\"description\":\"One payment of any type by id, including a fee or a voided card payment. A payment of another entity is not found. Needs a key holding payments:read.\",\"url\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.synthetic.ai/api-reference/payments/get-a-payment#webpage\"},\"dateModified\":\"2026-10-30T20:48:55.260Z\",\"publisher\":{\"@id\":\"https://docs.synthetic.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.synthetic.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Synthetic API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Synthetic API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /customers","href":"/api-reference/customers/list-customers"},{"title":"Get a customer","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /customers/{id}","href":"/api-reference/customers/get-a-customer"}]},{"group":"Contracts","pages":[{"title":"List a contract's amendments","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /amendments","href":"/api-reference/contracts/list-a-contracts-amendments"},{"title":"Get an amendment","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /amendments/{id}","href":"/api-reference/contracts/get-an-amendment"},{"title":"List contracts","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /contracts","href":"/api-reference/contracts/list-contracts"},{"title":"Get a contract","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /contracts/{id}","href":"/api-reference/contracts/get-a-contract"},{"title":"List a contract's line items","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /contract-line-items","href":"/api-reference/contracts/list-a-contracts-line-items"},{"title":"List invoice previews","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json query /invoice-previews","href":"/api-reference/contracts/list-invoice-previews"},{"title":"Get a link to an invoice preview's PDF","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json query /invoice-previews/pdf","href":"/api-reference/contracts/get-a-link-to-an-invoice-previews-pdf"}]},{"group":"Invoices","pages":[{"title":"List invoices","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Get an invoice","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /invoices/{id}","href":"/api-reference/invoices/get-an-invoice"},{"title":"Get a link to an invoice's PDF","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /invoices/{id}/pdf","href":"/api-reference/invoices/get-a-link-to-an-invoices-pdf"}]},{"group":"Payments","pages":[{"title":"List payments","description":"Lists cash and card payments, newest received first unless `orderBy` asks for another order. Page with `limit` and the cursors from the previous page; `hasMore` says whether more rows lie in the direction being read. Keep the same filters and the same `orderBy` for the whole run. Needs a key holding `payments:read`.","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /payments","href":"/api-reference/payments/list-payments"},{"title":"Get a payment","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /payments/{id}","href":"/api-reference/payments/get-a-payment"}]},{"group":"System","pages":[{"title":"Identify the caller","description":"Returns the entity the credential belongs to and the permissions it holds. Use it to confirm an API key works. A public link is reported with the id ANONYMOUS and no entity or permissions.","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /me","href":"/api-reference/system/identify-the-caller"},{"title":"Check that the API is reachable","deprecated":null,"version":null,"openapi":"https://app.synthetic.ai/api/v1/openapi.json get /health","href":"/api-reference/system/check-that-the-api-is-reachable"}]}]}]},"basePath":"","title":"Get a payment - Synthetic API","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"]}