The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Trace Knowledge Center","colors":{"primary":"#4DCAF4","light":"#91DDF5","dark":"#003A60"},"favicon":"https://mintcdn.com/fairfood/mue2WthdgXa-O-CD/logo/dark.svg?fit=max\u0026auto=format\u0026n=mue2WthdgXa-O-CD\u0026q=85\u0026s=a1a5cf2a9e2c9bd33a8a113f3c0b6238","logo":{"light":"https://mintcdn.com/fairfood/wZv_VjTAcDs8jOQ0/logo/fairfood_logo.png?fit=max\u0026auto=format\u0026n=wZv_VjTAcDs8jOQ0\u0026q=85\u0026s=d96a6f0638fe2bddf54518ba5307fc57","dark":"https://mintcdn.com/fairfood/wZv_VjTAcDs8jOQ0/logo/fairfood_logo.png?fit=max\u0026auto=format\u0026n=wZv_VjTAcDs8jOQ0\u0026q=85\u0026s=d96a6f0638fe2bddf54518ba5307fc57"},"api":{"openapi":["openapi.yml"]},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Support","href":"mailto:support@fairfood.org"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/orgs/Fairfood/repositories"}},"footer":{"socials":{"twitter":"https://twitter.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://www.linkedin.com/company/mintsearch"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fairfood","hasAudioNarration":false,"actualSubdomain":"fairfood","customDomains":["docs.fairfood.org"],"gitSource":{"type":"github","owner":"fairfood","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aa0141ec6ea76bd4f7650ab","collectionId":"eb6925c6-2921-4629-bab9-6c5f6f89c36e","schemaVersion":"v2","latestBuiltDeploymentHistoryId":"6aa0141ec6ea76bd4f7650ab"},"entitlements":{},"buildId":"6aa0141ec6ea76bd4f7650ab","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Documentation","count":43},{"language":"default","tag":"API Documentation","count":33},{"language":"default","tag":"Trace Connect APIs","count":32},{"language":"default","tag":"Support","count":25},{"language":"default","tag":"Advanced APIs","count":21},{"language":"default","tag":"Connect","count":13},{"language":"default","tag":"App","count":11},{"language":"default","tag":"Trace Dashboard","count":10},{"language":"default","tag":"Supply Chain","count":8},{"language":"default","tag":"Basic APIs","count":6}]},"assistantConfig":{},"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},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-references/transactions/post-transactionspayment-transactions","slug":"/api-references/transactions/post-transactionspayment-transactions","pageMetadata":{"title":"Create Payment Transaction Endpoint","sidebarTitle":"Make a Payment","description":"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.","openapi":"post /transactions/payment-transactions/","href":"/api-references/transactions/post-transactionspayment-transactions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.\"\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":"Create Payment Transaction Endpoint","sidebarTitle":"Make a Payment","description":"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.","openapi":"post /transactions/payment-transactions/","href":"/api-references/transactions/post-transactionspayment-transactions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["transactions"],"operationId":"transactions_payment-transactions_create","requestBody":"d772ad65-958e-4956-88e3-4990a5365114","responses":{"201":"c52ac685-a95e-4133-8c4d-c28264e9db71"},"x-codegen-request-body-name":"data","method":"post","type":"path","servers":["c5ec8572-8bee-4ca9-b83b-c2d3198096bd"],"security":["e9098456-4458-43f1-9f83-cd6b56423adf"],"path":"/transactions/payment-transactions/","baseUrlOptions":["http://localhost:3000/connect/v1"],"title":"","description":"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"required":["destination","source"],"type":"object","properties":{"source":{"type":"string","isRequired":true,"uniqueKey":"source","typeLabel":"string"},"destination":{"type":"string","isRequired":true,"uniqueKey":"destination","typeLabel":"string"},"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"premium_details":{"required":["name"],"type":"object","properties":{"name":{"title":"Premium Name","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"premium_details.name","typeLabel":"string"},"id":{"type":"string","uniqueKey":"premium_details.id","typeLabel":"string"},"options":{"type":"array","items":{"required":["amount","name"],"type":"object","properties":{"name":{"title":"Option Name","maxLength":25,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"premium_details.options.items.[INDEX].name","typeLabel":"string"},"amount":{"title":"Amount","type":"number","isRequired":true,"uniqueKey":"premium_details.options.items.[INDEX].amount","typeLabel":"number"},"id":{"type":"string","uniqueKey":"premium_details.options.items.[INDEX].id","typeLabel":"string"},"is_active":{"title":"Is Active","type":"boolean","uniqueKey":"premium_details.options.items.[INDEX].is_active","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"premium_details.options.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"premium_details.options.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"premium_details.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"premium_details.options","typeLabel":"object[]"},"category":{"title":"Premium Category","type":"string","enum":["PAYOUT","TRANSACTION"],"uniqueKey":"premium_details.category","typeLabel":"enum\u003cstring>"},"type":{"title":"Premium Type","type":"string","enum":["PER_TRANSACTION","PER_KG","PER_UNIT_CURRENCY","PER_FARMER"],"uniqueKey":"premium_details.type","typeLabel":"enum\u003cstring>"},"amount":{"oneOf":[{"title":"Amount","type":"number","uniqueKey":"premium_details.amount.oneOf.0","typeLabel":"number"},{"title":"Amount","type":"null","uniqueKey":"premium_details.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"premium_details.amount","typeLabel":"number | null"},"included":{"title":"Included","type":"boolean","uniqueKey":"premium_details.included","typeLabel":"boolean"},"dependant_on_card":{"title":"Dependant on Card","type":"boolean","uniqueKey":"premium_details.dependant_on_card","typeLabel":"boolean"},"applicable_activity":{"title":"Applicable Activity","type":"string","enum":["BUY","SELL"],"uniqueKey":"premium_details.applicable_activity","typeLabel":"enum\u003cstring>"},"calculation_type":{"title":"Calculation Type","type":"string","enum":["NORMAL","MANUAL","OPTIONS"],"uniqueKey":"premium_details.calculation_type","typeLabel":"enum\u003cstring>"},"is_active":{"title":"Is Active","type":"boolean","uniqueKey":"premium_details.is_active","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"premium_details.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"premium_details.updater","typeLabel":"string"},"owner":{"type":"string","uniqueKey":"premium_details.owner","typeLabel":"string"}},"uniqueKey":"premium_details","typeLabel":"object"},"currency_details":{"required":["name"],"type":"object","properties":{"name":{"title":"Currency Name","maxLength":1000,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"currency_details.name","typeLabel":"string"},"id":{"type":"string","uniqueKey":"currency_details.id","typeLabel":"string"},"code":{"oneOf":[{"title":"Currency Code","maxLength":100,"type":"string","uniqueKey":"currency_details.code.oneOf.0","typeLabel":"string"},{"title":"Currency Code","maxLength":100,"type":"null","uniqueKey":"currency_details.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency_details.code","typeLabel":"string | null"}},"uniqueKey":"currency_details","typeLabel":"object"},"currency":{"title":"Currency","minLength":1,"type":"string","uniqueKey":"currency","typeLabel":"string"},"number":{"oneOf":[{"title":"Number","maxLength":10,"type":"string","uniqueKey":"number.oneOf.0","typeLabel":"string"},{"title":"Number","maxLength":10,"type":"null","uniqueKey":"number.oneOf.1","typeLabel":"null"}],"uniqueKey":"number","typeLabel":"string | null"},"created_on":{"title":"Created On","type":"string","format":"date-time","uniqueKey":"created_on","typeLabel":"string\u003cdate-time>"},"date":{"title":"Date","type":"string","format":"date-time","uniqueKey":"date","typeLabel":"string\u003cdate-time>"},"invoice_number":{"oneOf":[{"title":"Invoice Number","maxLength":100,"type":"string","uniqueKey":"invoice_number.oneOf.0","typeLabel":"string"},{"title":"Invoice Number","maxLength":100,"type":"null","uniqueKey":"invoice_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice_number","typeLabel":"string | null"},"verification_latitude":{"title":"Verification Latitude","type":"number","uniqueKey":"verification_latitude","typeLabel":"number"},"verification_longitude":{"title":"Verification Longitude","type":"number","uniqueKey":"verification_longitude","typeLabel":"number"},"method":{"oneOf":[{"title":"Method","type":"string","enum":["CARD","INVOICE","NONE"],"uniqueKey":"method.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Method","type":"null","enum":["CARD","INVOICE","NONE"],"uniqueKey":"method.oneOf.1","typeLabel":"null"}],"uniqueKey":"method","typeLabel":"enum\u003cstring> | null"},"payment_type":{"title":"Payment Type","type":"string","enum":["TRANSACTION","PREMIUM","TRANSACTION_PREMIUM"],"uniqueKey":"payment_type","typeLabel":"enum\u003cstring>"},"amount":{"title":"Amount","type":"number","uniqueKey":"amount","typeLabel":"number"},"selected_option":{"oneOf":[{"title":"Selected Option","maxLength":100,"type":"string","uniqueKey":"selected_option.oneOf.0","typeLabel":"string"},{"title":"Selected Option","maxLength":100,"type":"null","uniqueKey":"selected_option.oneOf.1","typeLabel":"null"}],"uniqueKey":"selected_option","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"updater","typeLabel":"string"},"card":{"type":"string","uniqueKey":"card","typeLabel":"string"},"premium":{"type":"string","uniqueKey":"premium","typeLabel":"string"},"transaction":{"type":"string","uniqueKey":"transaction","typeLabel":"string"},"submissions":{"uniqueItems":true,"type":"array","items":{"type":"string","uniqueKey":"submissions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"submissions","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"source":"\u003cstring>","destination":"\u003cstring>","id":"\u003cstring>","currency":"\u003cstring>","number":"\u003cstring>","created_on":"2023-11-07T05:31:56Z","date":"2023-11-07T05:31:56Z","invoice_number":"\u003cstring>","verification_latitude":123,"verification_longitude":123,"amount":123,"selected_option":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>","card":"\u003cstring>","premium":"\u003cstring>","transaction":"\u003cstring>","submissions":["\u003cstring>"]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c52ac685-a95e-4133-8c4d-c28264e9db71":{"description":"","content":{"application/json":{"schema":{"required":["destination","source"],"type":"object","properties":{"source":{"type":"string","isRequired":true,"uniqueKey":"source","typeLabel":"string"},"destination":{"type":"string","isRequired":true,"uniqueKey":"destination","typeLabel":"string"},"id":{"type":"string","uniqueKey":"id","typeLabel":"string"},"premium_details":{"required":["name"],"type":"object","properties":{"name":{"title":"Premium Name","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"premium_details.name","typeLabel":"string"},"id":{"type":"string","uniqueKey":"premium_details.id","typeLabel":"string"},"options":{"type":"array","items":{"required":["amount","name"],"type":"object","properties":{"name":{"title":"Option Name","maxLength":25,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"premium_details.options.items.[INDEX].name","typeLabel":"string"},"amount":{"title":"Amount","type":"number","isRequired":true,"uniqueKey":"premium_details.options.items.[INDEX].amount","typeLabel":"number"},"id":{"type":"string","uniqueKey":"premium_details.options.items.[INDEX].id","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"premium_details.options.items.[INDEX].updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"premium_details.options.items.[INDEX].created_on","typeLabel":"string\u003cdate-time>"},"is_active":{"title":"Is Active","type":"boolean","uniqueKey":"premium_details.options.items.[INDEX].is_active","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"premium_details.options.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"premium_details.options.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"premium_details.options.items.[INDEX]","typeLabel":"object"},"uniqueKey":"premium_details.options","typeLabel":"object[]"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"premium_details.updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"premium_details.created_on","typeLabel":"string\u003cdate-time>"},"category":{"title":"Premium Category","type":"string","enum":["PAYOUT","TRANSACTION"],"uniqueKey":"premium_details.category","typeLabel":"enum\u003cstring>"},"type":{"title":"Premium Type","type":"string","enum":["PER_TRANSACTION","PER_KG","PER_UNIT_CURRENCY","PER_FARMER"],"uniqueKey":"premium_details.type","typeLabel":"enum\u003cstring>"},"amount":{"oneOf":[{"title":"Amount","type":"number","uniqueKey":"premium_details.amount.oneOf.0","typeLabel":"number"},{"title":"Amount","type":"null","uniqueKey":"premium_details.amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"premium_details.amount","typeLabel":"number | null"},"included":{"title":"Included","type":"boolean","uniqueKey":"premium_details.included","typeLabel":"boolean"},"dependant_on_card":{"title":"Dependant on Card","type":"boolean","uniqueKey":"premium_details.dependant_on_card","typeLabel":"boolean"},"applicable_activity":{"title":"Applicable Activity","type":"string","enum":["BUY","SELL"],"uniqueKey":"premium_details.applicable_activity","typeLabel":"enum\u003cstring>"},"calculation_type":{"title":"Calculation Type","type":"string","enum":["NORMAL","MANUAL","OPTIONS"],"uniqueKey":"premium_details.calculation_type","typeLabel":"enum\u003cstring>"},"is_active":{"title":"Is Active","type":"boolean","uniqueKey":"premium_details.is_active","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"premium_details.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"premium_details.updater","typeLabel":"string"},"owner":{"type":"string","uniqueKey":"premium_details.owner","typeLabel":"string"}},"uniqueKey":"premium_details","typeLabel":"object"},"currency_details":{"required":["name"],"type":"object","properties":{"name":{"title":"Currency Name","maxLength":1000,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"currency_details.name","typeLabel":"string"},"id":{"type":"string","uniqueKey":"currency_details.id","typeLabel":"string"},"code":{"oneOf":[{"title":"Currency Code","maxLength":100,"type":"string","uniqueKey":"currency_details.code.oneOf.0","typeLabel":"string"},{"title":"Currency Code","maxLength":100,"type":"null","uniqueKey":"currency_details.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency_details.code","typeLabel":"string | null"}},"uniqueKey":"currency_details","typeLabel":"object"},"type":{"title":"Type","type":"string","readOnly":true,"uniqueKey":"type","typeLabel":"string"},"currency":{"title":"Currency","minLength":1,"type":"string","uniqueKey":"currency","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"updated_on","typeLabel":"string\u003cdate-time>"},"number":{"oneOf":[{"title":"Number","maxLength":10,"type":"string","uniqueKey":"number.oneOf.0","typeLabel":"string"},{"title":"Number","maxLength":10,"type":"null","uniqueKey":"number.oneOf.1","typeLabel":"null"}],"uniqueKey":"number","typeLabel":"string | null"},"created_on":{"title":"Created On","type":"string","format":"date-time","uniqueKey":"created_on","typeLabel":"string\u003cdate-time>"},"date":{"title":"Date","type":"string","format":"date-time","uniqueKey":"date","typeLabel":"string\u003cdate-time>"},"invoice":{"oneOf":[{"title":"Invoice","type":"string","format":"uri","readOnly":true,"uniqueKey":"invoice.oneOf.0","typeLabel":"string\u003curi>"},{"title":"Invoice","type":"null","format":"uri","readOnly":true,"uniqueKey":"invoice.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice","typeLabel":"string\u003curi> | null"},"invoice_number":{"oneOf":[{"title":"Invoice Number","maxLength":100,"type":"string","uniqueKey":"invoice_number.oneOf.0","typeLabel":"string"},{"title":"Invoice Number","maxLength":100,"type":"null","uniqueKey":"invoice_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoice_number","typeLabel":"string | null"},"verification_latitude":{"title":"Verification Latitude","type":"number","uniqueKey":"verification_latitude","typeLabel":"number"},"verification_longitude":{"title":"Verification Longitude","type":"number","uniqueKey":"verification_longitude","typeLabel":"number"},"method":{"oneOf":[{"title":"Method","type":"string","enum":["CARD","INVOICE","NONE"],"uniqueKey":"method.oneOf.0","typeLabel":"enum\u003cstring>"},{"title":"Method","type":"null","enum":["CARD","INVOICE","NONE"],"uniqueKey":"method.oneOf.1","typeLabel":"null"}],"uniqueKey":"method","typeLabel":"enum\u003cstring> | null"},"payment_type":{"title":"Payment Type","type":"string","enum":["TRANSACTION","PREMIUM","TRANSACTION_PREMIUM"],"uniqueKey":"payment_type","typeLabel":"enum\u003cstring>"},"amount":{"title":"Amount","type":"number","uniqueKey":"amount","typeLabel":"number"},"selected_option":{"oneOf":[{"title":"Selected Option","maxLength":100,"type":"string","uniqueKey":"selected_option.oneOf.0","typeLabel":"string"},{"title":"Selected Option","maxLength":100,"type":"null","uniqueKey":"selected_option.oneOf.1","typeLabel":"null"}],"uniqueKey":"selected_option","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"updater","typeLabel":"string"},"card":{"type":"string","uniqueKey":"card","typeLabel":"string"},"premium":{"type":"string","uniqueKey":"premium","typeLabel":"string"},"transaction":{"type":"string","uniqueKey":"transaction","typeLabel":"string"},"submissions":{"uniqueItems":true,"type":"array","items":{"type":"string","uniqueKey":"submissions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"submissions","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"source":"\u003cstring>","destination":"\u003cstring>","id":"\u003cstring>","premium_details":{"name":"\u003cstring>","id":"\u003cstring>","options":[{"name":"\u003cstring>","amount":123,"id":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","is_active":true,"creator":"\u003cstring>","updater":"\u003cstring>"}],"updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","category":"PAYOUT","type":"PER_TRANSACTION","amount":123,"included":true,"dependant_on_card":true,"applicable_activity":"BUY","calculation_type":"NORMAL","is_active":true,"creator":"\u003cstring>","updater":"\u003cstring>","owner":"\u003cstring>"},"currency_details":{"name":"\u003cstring>","id":"\u003cstring>","code":"\u003cstring>"},"type":"\u003cstring>","currency":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","number":"\u003cstring>","created_on":"2023-11-07T05:31:56Z","date":"2023-11-07T05:31:56Z","invoice":"\u003cstring>","invoice_number":"\u003cstring>","verification_latitude":123,"verification_longitude":123,"method":"CARD","payment_type":"TRANSACTION","amount":123,"selected_option":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>","card":"\u003cstring>","premium":"\u003cstring>","transaction":"\u003cstring>","submissions":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e9098456-4458-43f1-9f83-cd6b56423adf":{"Bearer":{"type":"apiKey","name":"Authorization","in":"header","scopes":[]}}},"servers":{"c5ec8572-8bee-4ca9-b83b-c2d3198096bd":{"url":"http://localhost:3000/connect/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"Authorization","in":"header","scopes":[]},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"openapi.yml"},"subdomain":"fairfood","siteName":"Trace Knowledge Center","title":"Create Payment Transaction Endpoint - Trace Knowledge Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:47:45.518Z","originalFileLocation":"api-references/transactions/post-transactionspayment-transactions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trace Knowledge Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Payment Transaction Endpoint - Trace Knowledge Center\">\u003cmeta data-mint-head property=\"og:description\" content=\"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trace Knowledge Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fairfood.mintlify.app/_mintlify/api/og/v2?division=Payment+Transactions\u0026amp;title=Create+Payment+Transaction+Endpoint\u0026amp;description=The+Create+Payment+Transaction+endpoint+enables+the+creation+of+a+new+payment+transaction.+The+request+should+include+details+such+as+transaction+ID%2C+premium+de\u0026amp;theme=9c73c1d1f41ea162950a8f00\u0026amp;signature=9231767ff85c35e84d632702e165ab1f26db4e9d93bad40fb5aabc463798b7dc\">\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=\"Create Payment Transaction Endpoint - Trace Knowledge Center\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fairfood.mintlify.app/_mintlify/api/og/v2?division=Payment+Transactions\u0026amp;title=Create+Payment+Transaction+Endpoint\u0026amp;description=The+Create+Payment+Transaction+endpoint+enables+the+creation+of+a+new+payment+transaction.+The+request+should+include+details+such+as+transaction+ID%2C+premium+de\u0026amp;theme=9c73c1d1f41ea162950a8f00\u0026amp;signature=9231767ff85c35e84d632702e165ab1f26db4e9d93bad40fb5aabc463798b7dc\">\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/fairfood/G1F8ya8LTfEgmklL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trace Knowledge Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4DCAF4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-references/transactions/post-transactionspayment-transactions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fairfood.org/#organization\",\"name\":\"Trace Knowledge Center\",\"url\":\"https://docs.fairfood.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fairfood/wZv_VjTAcDs8jOQ0/logo/fairfood_logo.png?fit=max\u0026auto=format\u0026n=wZv_VjTAcDs8jOQ0\u0026q=85\u0026s=d96a6f0638fe2bddf54518ba5307fc57\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fairfood.org#website\",\"name\":\"Trace Knowledge Center\",\"url\":\"https://docs.fairfood.org\",\"publisher\":{\"@id\":\"https://docs.fairfood.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions#webpage\",\"url\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions\",\"name\":\"Create Payment Transaction Endpoint\",\"description\":\"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.\",\"dateModified\":\"2026-01-06T23:47:45.518Z\",\"isPartOf\":{\"@id\":\"https://docs.fairfood.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trace Connect APIs\",\"item\":\"https://docs.fairfood.org/api-references/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced APIs\",\"item\":\"https://docs.fairfood.org/api-references/accounts/get-accountsusers-\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Payment Transaction Endpoint\",\"item\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions#apireference\",\"headline\":\"Create Payment Transaction Endpoint\",\"name\":\"Create Payment Transaction Endpoint\",\"description\":\"The Create Payment Transaction endpoint enables the creation of a new payment transaction. The request should include details such as transaction ID, premium details, currency details, payment amount, and other relevant information. Upon successful creation, the API responds with the newly created payment transaction details, including the transaction ID, premium details, currency details, transaction type, amount, and other associated information.\",\"url\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fairfood.org/api-references/transactions/post-transactionspayment-transactions#webpage\"},\"dateModified\":\"2026-01-06T23:47:45.518Z\",\"publisher\":{\"@id\":\"https://docs.fairfood.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fairfood.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trace Knowledge Center\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trace Knowledge Center","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Documentation","groups":[{"group":"Trace Connect APIs","pages":[{"title":"Trace Connect Server","sidebarTitle":"Introduction","href":"/api-references/introduction"},{"group":"Authentication using JWT","pages":[{"title":"Login Endpoint","openapi":"post /auth/login/","sidebarTitle":"Obtain JWT Token for Secure Access","href":"/api-references/auth/api-to-login-user"},{"title":"Refresh Token Endpoint","openapi":"post /auth/token/refresh/","sidebarTitle":"Refresh JWT Tokens for Continuous Access","href":"/api-references/auth/api-to-refresh-token"},{"title":"Logout Endpoint","openapi":"post /auth/logout/","sidebarTitle":"Terminate User Session","href":"/api-references/auth/post-authlogout"}]},{"group":"OAuth 2.0","pages":[{"title":"Trace Connect OAuth 2.0 provider","sidebarTitle":"Introduction","href":"/api-references/oauth/oauth-introduction"}]},{"group":"Basic APIs","pages":[{"title":"Company Details Endpoint","sidebarTitle":"Retrieve Company Details","openapi":"get /supply-chains/companies/{hashid}/","href":"/api-references/supply-chains/get-supply-chainscompanies-"},{"title":"List Farmers Endpoint","sidebarTitle":"Retrieve Farmers","openapi":"get /supply-chains/farmers/","href":"/api-references/supply-chains/get-supply-chainsfarmers"},{"title":"Create Farmer Endpoint","sidebarTitle":"Create a Farmer","openapi":"post /supply-chains/farmers/","href":"/api-references/supply-chains/post-supply-chainsfarmers"},{"title":"List Products Endpoint","sidebarTitle":"Retrieve Products","openapi":"get /catalogs/products/","href":"/api-references/catalogs/get-catalogsproducts"},{"title":"Create Product Transaction Endpoint","sidebarTitle":"Make a Transaction","openapi":"post /transactions/product-transactions/","href":"/api-references/transactions/post-transactionsproduct-transactions"},{"title":"List Product Transactions Endpoint","sidebarTitle":"Retrieve Transactions","openapi":"get /transactions/product-transactions/","href":"/api-references/transactions/get-transactionsproduct-transactions"}]},{"group":"Advanced APIs","pages":[{"group":"Accounts","pages":[{"title":"User Details Endpoint","sidebarTitle":"Retrieve User Information","openapi":"get /accounts/users/{hashid}/","href":"/api-references/accounts/get-accountsusers-"},{"title":"Update User Endpoint","openapi":"patch /accounts/users/{hashid}/","sidebarTitle":"Update User Information","href":"/api-references/accounts/patch-accountsusers-"}]},{"group":"Catalogs","pages":[{"title":"Create Premium Endpoint","sidebarTitle":"Create a New Premium","openapi":"post /catalogs/premiums/","href":"/api-references/catalogs/post-catalogspremiums"},{"title":"List Premiums Endpoint","sidebarTitle":"Retrieve Premiums","openapi":"get /catalogs/premiums/","href":"/api-references/catalogs/get-catalogspremiums"},{"title":"List Connect Cards Endpoint","openapi":"get /catalogs/connect-cards/","sidebarTitle":"Retrieve Connect Cards","href":"/api-references/catalogs/get-catalogsconnect-cards"},{"title":"List Currencies Endpoint","sidebarTitle":"Retrieve Currencies","openapi":"get /catalogs/currencies/","href":"/api-references/catalogs/get-catalogscurrencies"}]},{"group":"Forms","pages":[{"title":"Create Form Endpoint","sidebarTitle":"Add Additional Fields Using Forms","openapi":"post /forms/forms/","href":"/api-references/forms/post-formsforms"}]},{"group":"Supply Chain","pages":[{"title":"Create Company Endpoint","sidebarTitle":"Create a New Company","openapi":"post /supply-chains/companies/","href":"/api-references/supply-chains/post-supply-chainscompanies"},{"title":"Update Company Details Endpoint","sidebarTitle":"Update Company Details","openapi":"patch /supply-chains/companies/{hashid}/","href":"/api-references/supply-chains/patch-supply-chainscompanies-"},{"title":"Add Company Member Endpoint","sidebarTitle":"Add Company Member","openapi":"post /supply-chains/company-members/","href":"/api-references/supply-chains/post-supply-chainscompany-members"},{"title":"Add Company Product Endpoint","sidebarTitle":"Add Company Product","openapi":"post /supply-chains/company-products/","href":"/api-references/supply-chains/post-supply-chainscompany-products"},{"title":"Farmer Details Endpoint","sidebarTitle":"Retrieve a Farmer","openapi":"get /supply-chains/farmers/{hashid}/","href":"/api-references/supply-chains/get-supply-chainsfarmers-"},{"title":"Update Farmer Endpoint","sidebarTitle":"Update a Farmer","openapi":"patch /supply-chains/farmers/{hashid}/","href":"/api-references/supply-chains/patch-supply-chainsfarmers-"},{"title":"Create Entity Card Endpoint","sidebarTitle":"Assign New Connect Card","openapi":"post /supply-chains/entity-cards/","href":"/api-references/supply-chains/post-supply-chainsentity-cards"},{"title":"List Entity Cards Endpoint","sidebarTitle":"Get Assigned Connect Cards","openapi":"get /supply-chains/entity-cards/","href":"/api-references/supply-chains/get-supply-chainsentity-cards"}]},{"group":"Product Transactions","pages":[{"title":"Product Transaction Detail Endpoint","sidebarTitle":"Retrieve a Product Transaction","openapi":"get /transactions/product-transactions/{hashid}/","href":"/api-references/transactions/get-transactionsproduct-transactions-"},{"title":"Update Product Invoice Endpoint","sidebarTitle":"Attach Product Invoice","description":"The Update Invoice for a Product Transaction endpoint allows you to patch and update the invoice for a specific product transaction identified by the `hashid` parameter. The request should include the invoice file in the form data. The API responds with the updated transaction details, including the transaction's ID and the new invoice value.","openapi":"patch /transactions/product-transactions/{hashid}/invoice/","href":"/api-references/transactions/patch-transactionsproduct-transactions-invoice"}]},{"group":"Payment Transactions","pages":[{"title":"Create Payment Transaction Endpoint","sidebarTitle":"Make a Payment","openapi":"post /transactions/payment-transactions/","href":"/api-references/transactions/post-transactionspayment-transactions"},{"title":"Payment Transaction Detail Endpoint","sidebarTitle":"Retrieve a Payment Transaction","description":"The Get Payment Transaction Details endpoint allows users to retrieve detailed information about a specific payment transaction identified by the provided `hashid`. The response includes transaction details such as transaction ID, premium details, currency details, transaction type, amount, invoice information, and other relevant details.","openapi":"get /transactions/payment-transactions/{hashid}/","href":"/api-references/transactions/get-transactionspayment-transactions-"},{"title":"List Payment Transactions Endpoint","sidebarTitle":"Retrieve Payment Transactions","openapi":"get /transactions/payment-transactions/","href":"/api-references/transactions/get-transactionspayment-transactions"},{"title":"Update Payment Invoice Endpoint","sidebarTitle":"Attach Payment Invoice","openapi":"patch /transactions/payment-transactions/{hashid}/invoice/","href":"/api-references/transactions/patch-transactionspayment-transactions-invoice"}]}]}]}]}]},"basePath":"","title":"Create Payment Transaction Endpoint - Trace Knowledge Center","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js"]}