A unique, 36 character identifier created by Tesouro and assigned to the entity providing the goods or services to the cardholder, such as a Merchant, a Submerchant of a Payment Facilitator, a Seller within a Marketplace, or a Biller of a Consumer Bill Payment Service Provider (CBPS). Historically, processors have called this identifier the Merchant ID (or MID), Outlet ID, or Customer number.
Line item details for this order. If line items are provided on the refund any line items from the original authorization will be overridden. If line items are provided, transactionAmountDetails must be provided.See LineItemInput
Details pertaining to the customer’s order. If null, order details from the original authorization will be used. If provided, all details from the original authorization will be overridden.See OrderDetailsInput
The base transaction amount intended to be collected by this payment not including any cashback, gratuity, fees, or taxes.Deprecated: Use subtotalAmount instead.
The total amount of local tax for this payment transaction request. Local tax is imposed by municipal, city, or regional governments and may include sales tax, service tax, or other location-based levies applicable to the transaction. Must be a non-negative value.
The total amount of national tax for this payment transaction request. National tax is a government-imposed tax at the federal or country level, such as Goods and Services Tax (GST), or federal sales tax. Must be a non-negative value.
The requested amount intended to be collected by this transaction. A positive decimal with precision depending on transaction currency. For example: $10.00 would be 10.00 or 10.
The total amount of all taxes for this payment transaction request. Must be present if either local or national tax are present. Must be a non-negative value.
A unique identifier created by the entity holding the direct relationship with the Acceptor, and used by that entity for reconciliation and transaction search. Tesouro uses this identifier to manage idempotency.
Result of Tesouro’s idempotency check. If the transaction reference matches that of another transaction from that presenter it will be treated as a duplicate.
A unique 36 character identifier created by Tesouro and assigned to a group of transactions in the same payment request cohort. e.g., An authorization request, incremental authorization request, and the final capture would have the same paymentID.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tesouro","description":"Guides, references, and resources to integrate with the Tesouro platform.","colors":{"primary":"#8b5cf6","light":"#8b5cf6","dark":"#8b5cf6"},"logo":{"light":"https://mintcdn.com/tesouro-dc896113/EiyyRmHDHMxOKA4r/.shared/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=EiyyRmHDHMxOKA4r\u0026q=85\u0026s=7806042ddc87fa143686df9c7b515c71","dark":"https://mintcdn.com/tesouro-dc896113/EiyyRmHDHMxOKA4r/.shared/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=EiyyRmHDHMxOKA4r\u0026q=85\u0026s=055476f7bf095ab7104d5f0dc91bd674"},"favicon":"https://mintcdn.com/tesouro-dc896113/OrJhEQvpoHU_GZRr/.shared/logo/favicon.ico?fit=max\u0026auto=format\u0026n=OrJhEQvpoHU_GZRr\u0026q=85\u0026s=3619a3722b157ddf06545cfe36402ec6","background":{"color":{"dark":"#121212"}},"navbar":{"links":[{"href":"/contact","label":"Support"}]},"fonts":{"family":"Figtree"},"integrations":{"posthog":{"apiKey":"phc_Y5Ie0oFk2jzq4TnDcK0SbVtj7HzeVRUqFoC9hJsOV8j"}},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tesouro-dc896113","hasAudioNarration":false,"actualSubdomain":"tesouro-dc896113","customDomains":["docs.tesouro.com"],"gitSource":{"type":"github","owner":"tesourohq","repo":"tesouro.platform.frontends.docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adfce3b728ed5a3208384b0","collectionId":"4e256b65-7121-48dc-b374-8d3cbdb7a264","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adfce3b728ed5a3208384b0"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adfce3b728ed5a3208384b0","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API reference","count":809},{"language":"default","tag":"FinOps","count":486},{"language":"default","tag":"Acquiring","count":330},{"language":"default","tag":"Types","count":318},{"language":"default","tag":"Guides","count":194},{"language":"default","tag":"Underwriting","count":150},{"language":"default","tag":"Accounts receivable","count":113},{"language":"default","tag":"Embedded Banking","count":110},{"language":"default","tag":"Accounts payable","count":62},{"language":"default","tag":"Organization \u0026 access","count":61}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":".vertical-image img{max-height:400px;width:auto}.no-line-numbers .code-block-line-gutter>span{display:none}.no-line-numbers .code-block-line-content>.line{display:inline-block}#content-area a code{z-index:0!important}svg#mermaid-svg,svg.statediagram{display:block;margin:auto}.method-pill+[data-component-part=scroll-area] [data-component-part=scroll-area-viewport]{direction:rtl}.method-pill+[data-component-part=scroll-area] [data-component-part=scroll-area-viewport]>*{direction:ltr}"}],"page":{"pagePath":"acquiring/reference/graphql/operations/refund-previous-payment","slug":"/acquiring/reference/graphql/operations/refund-previous-payment","pageMetadata":{"title":"refundPreviousPayment","description":"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.","sidebarTitle":"Refund previous payment","api":"POST refundPreviousPayment","playground":"none","href":"/acquiring/reference/graphql/operations/refund-previous-payment"},"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: \"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsx(_components.code,{children:`Mutation`})}),`\n`,_jsx(Heading,{level:`2`,id:`arguments`,children:`Arguments`}),`\n`,_jsx(ParamField,{path:`refundPreviousPaymentInput`,type:`RefundPreviousPaymentInput!`,required:true,id:`param-refund-previous-payment-input`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ParamField,{path:`acceptorId`,type:`UUID!`,required:true,id:`param-acceptor-id`,children:_jsx(_components.p,{children:`A unique, 36 character identifier created by Tesouro and assigned to the entity providing the goods or services to the cardholder, such as a Merchant, a Submerchant of a Payment Facilitator, a Seller within a Marketplace, or a Biller of a Consumer Bill Payment Service Provider (CBPS). Historically, processors have called this identifier the Merchant ID (or MID), Outlet ID, or Customer number.`})}),_jsxs(ParamField,{path:`lineItems`,type:`[LineItemInput!]`,id:`param-line-items`,children:[_jsx(_components.p,{children:`Line item details for this order. If line items are provided on the refund any line items from the original authorization will be overridden. If line items are provided, transactionAmountDetails must be provided.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/line-item-input`,children:`LineItemInput`})]})]}),_jsxs(ParamField,{path:`orderDetails`,type:`OrderDetailsInput`,id:`param-order-details`,children:[_jsx(_components.p,{children:`Details pertaining to the customer’s order. If null, order details from the original authorization will be used. If provided, all details from the original authorization will be overridden.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/order-details-input`,children:`OrderDetailsInput`})]})]}),_jsx(ParamField,{path:`paymentId`,type:`UUID!`,required:true,id:`param-payment-id`,children:_jsx(_components.p,{children:`The unique ‘paymentId’ of the payment that is to be refunded.`})}),_jsxs(ParamField,{path:`transactionAmountDetails`,type:`AmountDetailsInput`,id:`param-transaction-amount-details`,children:[_jsx(_components.p,{children:`The partial or full amount of the transaction to be refunded. If you do not specify an amount, Tesouro will refund the full amount.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ParamField,{path:`baseAmount`,type:`DecimalAmount`,deprecated:true,id:`param-base-amount`,children:[_jsx(_components.p,{children:`The base transaction amount intended to be collected by this payment not including any cashback, gratuity, fees, or taxes.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use subtotalAmount instead.`]})]}),_jsx(ParamField,{path:`cashBackAmount`,type:`DecimalAmount`,id:`param-cash-back-amount`,children:_jsx(_components.p,{children:`The cash back amount. Must be a non-negative value.`})}),_jsxs(ParamField,{path:`currency`,type:`TransactionAmountCurrencyCode!`,required:true,id:`param-currency`,children:[_jsx(_components.p,{children:`The purchasing currency code of the request amount.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/transaction-amount-currency-code`,children:`TransactionAmountCurrencyCode`})]})]}),_jsx(ParamField,{path:`discountAmount`,type:`Decimal`,id:`param-discount-amount`,children:_jsx(_components.p,{children:`Total discount amount applied to the order. Must be a non-negative value.`})}),_jsx(ParamField,{path:`dutyAmount`,type:`Decimal`,id:`param-duty-amount`,children:_jsx(_components.p,{children:`Total charges for any import or export duties included in the order. Must be a non-negative value.`})}),_jsx(ParamField,{path:`gratuityAmount`,type:`DecimalAmount`,id:`param-gratuity-amount`,children:_jsx(_components.p,{children:`The gratuity amount. Must be a non-negative value.`})}),_jsx(ParamField,{path:`localTaxAmount`,type:`Decimal`,id:`param-local-tax-amount`,children:_jsx(_components.p,{children:`The total amount of local tax for this payment transaction request. Local tax is imposed by municipal, city, or regional governments and may include sales tax, service tax, or other location-based levies applicable to the transaction. Must be a non-negative value.`})}),_jsx(ParamField,{path:`nationalTaxAmount`,type:`Decimal`,id:`param-national-tax-amount`,children:_jsx(_components.p,{children:`The total amount of national tax for this payment transaction request. National tax is a government-imposed tax at the federal or country level, such as Goods and Services Tax (GST), or federal sales tax. Must be a non-negative value.`})}),_jsx(ParamField,{path:`shippingAmount`,type:`Decimal`,id:`param-shipping-amount`,children:_jsx(_components.p,{children:`Total shipping charges for the transaction. Must be a non-negative value.`})}),_jsx(ParamField,{path:`subtotalAmount`,type:`DecimalAmount`,id:`param-subtotal-amount`,children:_jsx(_components.p,{children:`The sum of all item costs in the transaction before applying any additional charges such as taxes, or fees. Must be a non-negative value.`})}),_jsx(ParamField,{path:`totalAmount`,type:`Decimal!`,required:true,id:`param-total-amount`,children:_jsx(_components.p,{children:`The requested amount intended to be collected by this transaction. A positive decimal with precision depending on transaction currency. For example: $10.00 would be 10.00 or 10.`})}),_jsx(ParamField,{path:`totalTaxAmount`,type:`Decimal`,id:`param-total-tax-amount`,children:_jsx(_components.p,{children:`The total amount of all taxes for this payment transaction request. Must be present if either local or national tax are present. Must be a non-negative value.`})})]})]}),_jsx(ParamField,{path:`transactionReference`,type:`Max36Text!`,required:true,id:`param-transaction-reference`,children:_jsx(_components.p,{children:`A unique identifier created by the entity holding the direct relationship with the Acceptor, and used by that entity for reconciliation and transaction search. Tesouro uses this identifier to manage idempotency.`})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`return-type`,children:`Return type`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`RefundPreviousPaymentPayload!`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`[RefundPreviousPaymentError!]`,id:`param-errors`,children:_jsxs(Expandable,{title:`Possible types`,children:[_jsxs(Expandable,{title:`InternalServiceError`,children:[_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})})]}),_jsxs(Expandable,{title:`RuleInViolationError`,children:[_jsx(_components.p,{children:`This occurs when an internal Tesouro business rule is in violation.`}),_jsx(ResponseField,{name:`advice`,type:`String!`,required:true,id:`param-advice`,children:_jsx(_components.p,{children:`Advice on how to overcome the rule in the future.`})}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-1`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-1`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`explanationOfRule`,type:`String!`,required:true,id:`param-explanation-of-rule`,children:_jsx(_components.p,{children:`An explanation of why the rule exists.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-1`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-1`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsxs(ResponseField,{name:`ruleName`,type:`RuleName!`,required:true,id:`param-rule-name`,children:[_jsx(_components.p,{children:`The name of the rule in violation`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/rule-name`,children:`RuleName`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-1`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})})]}),_jsxs(Expandable,{title:`SyntaxOnNetworkResponseError`,children:[_jsxs(ResponseField,{name:`attemptedNetwork`,type:`Network!`,required:true,id:`param-attempted-network`,children:[_jsx(_components.p,{children:`The network the transaction request was attempted with.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/network`,children:`Network`})]})]}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-2`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-2`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-2`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-2`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-2`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})})]}),_jsxs(Expandable,{title:`TimeoutOnNetworkResponseError`,children:[_jsxs(ResponseField,{name:`attemptedNetwork`,type:`Network!`,required:true,id:`param-attempted-network-1`,children:[_jsx(_components.p,{children:`The network the authorization was attempted.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/network`,children:`Network`})]})]}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-3`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-3`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-3`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-3`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-3`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})}),_jsx(ResponseField,{name:`waitTime`,type:`Int!`,required:true,id:`param-wait-time`,children:_jsx(_components.p,{children:`The amount of time Tesouro waited for a response in milliseconds.`})})]}),_jsxs(Expandable,{title:`ValidationFailureError`,children:[_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-4`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-4`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`fieldName`,type:`String!`,required:true,id:`param-field-name`,children:_jsx(_components.p,{children:`The name of the graphql field in error.`})}),_jsx(ResponseField,{name:`fieldPath`,type:`String!`,required:true,id:`param-field-path`,children:_jsx(_components.p,{children:`The path to the graphql field in error.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-4`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-4`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-4`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})}),_jsx(ResponseField,{name:`valueInError`,type:`String!`,required:true,id:`param-value-in-error`,children:_jsx(_components.p,{children:`The value of the graphql field in error.`})})]}),_jsxs(Expandable,{title:`PriorPaymentNotFoundError`,children:[_jsx(_components.p,{children:`This occurs when a prior referenced payment cannot be found`}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-5`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-5`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-5`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-5`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-5`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})}),_jsx(ResponseField,{name:`unknownPaymentId`,type:`UUID!`,required:true,id:`param-unknown-payment-id`,children:_jsx(_components.p,{children:`The payment id that cannot be found.`})})]})]})}),`\n`,_jsx(ResponseField,{name:`refundPreviousPaymentResponse`,type:`RefundPreviousPaymentResponse`,id:`param-refund-previous-payment-response`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`activityDate`,type:`Date!`,required:true,id:`param-activity-date`,children:_jsx(_components.p,{children:`The date Tesouro received the transaction based on acceptor cutoff time`})}),_jsxs(ResponseField,{name:`cardDetails`,type:`CardInformation`,deprecated:true,id:`param-card-details`,children:[_jsx(_components.p,{children:`Details related to the card used on the transaction`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use paymentMethodResponse instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/card-information`,children:`CardInformation`})]})]}),_jsxs(ResponseField,{name:`duration`,type:`Int!`,required:true,deprecated:true,id:`param-duration`,children:[_jsx(_components.p,{children:`Difference between request receipt and response in milliseconds.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` New durations coming soon.`]})]}),_jsx(ResponseField,{name:`isDuplicateRequest`,type:`Boolean!`,required:true,id:`param-is-duplicate-request`,children:_jsx(_components.p,{children:`Result of Tesouro’s idempotency check. If the transaction reference matches that of another transaction from that presenter it will be treated as a duplicate.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-6`,children:_jsx(_components.p,{children:`A detailed description of the response code. e.g., Insufficient funds.`})}),_jsxs(ResponseField,{name:`networkResponseDetails`,type:`NetworkResponseDetails!`,required:true,deprecated:true,id:`param-network-response-details`,children:[_jsx(_components.p,{children:`The response code from the network.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use paymentMethodResponse instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/network-response-details`,children:`NetworkResponseDetails`})]})]}),_jsx(ResponseField,{name:`paymentId`,type:`UUID!`,required:true,id:`param-payment-id-1`,children:_jsx(_components.p,{children:`A unique 36 character identifier created by Tesouro and assigned to a group of transactions in the same payment request cohort. e.g., An authorization request, incremental authorization request, and the final capture would have the same paymentID.`})}),_jsxs(ResponseField,{name:`paymentMethodResponse`,type:`PaymentMethodResponse!`,required:true,id:`param-payment-method-response`,children:[_jsx(_components.p,{children:`Details related to the payment method used on the transaction`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`bankPaymentMethodDetails`,type:`BankPaymentMethodDetailsResponse`,id:`param-bank-payment-method-details`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`acquirerTokenDetails`,type:`AcquirerTokenDetails!`,required:true,id:`param-acquirer-token-details`,children:_jsx(_components.p,{children:`Details associated with the token generated on a tokenization request.`})}),_jsxs(ResponseField,{name:`paymentBrand`,type:`PaymentBrand!`,required:true,id:`param-payment-brand`,children:[_jsx(_components.p,{children:`Specifies which payment brand was used, e.g., Visa, MasterCard, Discover, American Express, etc.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/payment-brand`,children:`PaymentBrand`})]})]})]})}),_jsx(ResponseField,{name:`cardPaymentMethodDetails`,type:`CardPaymentMethodDetailsResponse`,id:`param-card-payment-method-details`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`acquirerTokenDetails`,type:`AcquirerTokenDetails!`,required:true,id:`param-acquirer-token-details-1`,children:_jsx(_components.p,{children:`Details associated with the token generated on a tokenization request.`})}),_jsx(ResponseField,{name:`cardDetails`,type:`CardInformation!`,required:true,id:`param-card-details-1`,children:_jsx(_components.p,{children:`Details related to the card used on the transaction`})}),_jsx(ResponseField,{name:`networkResponseDetails`,type:`NetworkResponseDetails!`,required:true,id:`param-network-response-details-1`,children:_jsx(_components.p,{children:`The response code from the network.`})}),_jsxs(ResponseField,{name:`paymentBrand`,type:`PaymentBrand!`,required:true,id:`param-payment-brand-1`,children:[_jsx(_components.p,{children:`Specifies which payment brand was used, e.g., Visa, MasterCard, Discover, American Express, etc.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/payment-brand`,children:`PaymentBrand`})]})]})]})})]})]}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-6`,children:[_jsx(_components.p,{children:`A normalized 4-character response code defined by Tesouro that represents the outcome of the payment transaction request.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsxs(ResponseField,{name:`sanitizedFields`,type:`[SanitizedFieldOutput!]!`,required:true,id:`param-sanitized-fields`,children:[_jsx(_components.p,{children:`List of fields that were detected as invalid and sanitized by Tesouro to prevent the payment transaction request from failing.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/sanitized-field-output`,children:`SanitizedFieldOutput`})]})]}),_jsx(ResponseField,{name:`timestampUtc`,type:`DateTime!`,required:true,id:`param-timestamp-utc`,children:_jsx(_components.p,{children:`The UTC date and time the transaction was received by Tesouro.`})}),_jsxs(ResponseField,{name:`tokenDetails`,type:`TokenDetails`,id:`param-token-details`,children:[_jsx(_components.p,{children:`Details associated with the token generated on a tokenization request.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/token-details`,children:`TokenDetails`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-6`,children:_jsx(_components.p,{children:`A unique identifier created by Tesouro and assigned to the transaction.`})})]})})]})}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":"refundPreviousPayment","description":"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.","sidebarTitle":"Refund previous payment","api":"POST refundPreviousPayment","playground":"none","href":"/acquiring/reference/graphql/operations/refund-previous-payment"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:_jsx(_components.code,{children:`Mutation`})}),`\n`,_jsx(Heading,{level:`2`,id:`arguments`,children:`Arguments`}),`\n`,_jsx(ParamField,{path:`refundPreviousPaymentInput`,type:`RefundPreviousPaymentInput!`,required:true,id:`param-refund-previous-payment-input`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ParamField,{path:`acceptorId`,type:`UUID!`,required:true,id:`param-acceptor-id`,children:_jsx(_components.p,{children:`A unique, 36 character identifier created by Tesouro and assigned to the entity providing the goods or services to the cardholder, such as a Merchant, a Submerchant of a Payment Facilitator, a Seller within a Marketplace, or a Biller of a Consumer Bill Payment Service Provider (CBPS). Historically, processors have called this identifier the Merchant ID (or MID), Outlet ID, or Customer number.`})}),_jsxs(ParamField,{path:`lineItems`,type:`[LineItemInput!]`,id:`param-line-items`,children:[_jsx(_components.p,{children:`Line item details for this order. If line items are provided on the refund any line items from the original authorization will be overridden. If line items are provided, transactionAmountDetails must be provided.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/line-item-input`,children:`LineItemInput`})]})]}),_jsxs(ParamField,{path:`orderDetails`,type:`OrderDetailsInput`,id:`param-order-details`,children:[_jsx(_components.p,{children:`Details pertaining to the customer’s order. If null, order details from the original authorization will be used. If provided, all details from the original authorization will be overridden.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/order-details-input`,children:`OrderDetailsInput`})]})]}),_jsx(ParamField,{path:`paymentId`,type:`UUID!`,required:true,id:`param-payment-id`,children:_jsx(_components.p,{children:`The unique ‘paymentId’ of the payment that is to be refunded.`})}),_jsxs(ParamField,{path:`transactionAmountDetails`,type:`AmountDetailsInput`,id:`param-transaction-amount-details`,children:[_jsx(_components.p,{children:`The partial or full amount of the transaction to be refunded. If you do not specify an amount, Tesouro will refund the full amount.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ParamField,{path:`baseAmount`,type:`DecimalAmount`,deprecated:true,id:`param-base-amount`,children:[_jsx(_components.p,{children:`The base transaction amount intended to be collected by this payment not including any cashback, gratuity, fees, or taxes.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use subtotalAmount instead.`]})]}),_jsx(ParamField,{path:`cashBackAmount`,type:`DecimalAmount`,id:`param-cash-back-amount`,children:_jsx(_components.p,{children:`The cash back amount. Must be a non-negative value.`})}),_jsxs(ParamField,{path:`currency`,type:`TransactionAmountCurrencyCode!`,required:true,id:`param-currency`,children:[_jsx(_components.p,{children:`The purchasing currency code of the request amount.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/transaction-amount-currency-code`,children:`TransactionAmountCurrencyCode`})]})]}),_jsx(ParamField,{path:`discountAmount`,type:`Decimal`,id:`param-discount-amount`,children:_jsx(_components.p,{children:`Total discount amount applied to the order. Must be a non-negative value.`})}),_jsx(ParamField,{path:`dutyAmount`,type:`Decimal`,id:`param-duty-amount`,children:_jsx(_components.p,{children:`Total charges for any import or export duties included in the order. Must be a non-negative value.`})}),_jsx(ParamField,{path:`gratuityAmount`,type:`DecimalAmount`,id:`param-gratuity-amount`,children:_jsx(_components.p,{children:`The gratuity amount. Must be a non-negative value.`})}),_jsx(ParamField,{path:`localTaxAmount`,type:`Decimal`,id:`param-local-tax-amount`,children:_jsx(_components.p,{children:`The total amount of local tax for this payment transaction request. Local tax is imposed by municipal, city, or regional governments and may include sales tax, service tax, or other location-based levies applicable to the transaction. Must be a non-negative value.`})}),_jsx(ParamField,{path:`nationalTaxAmount`,type:`Decimal`,id:`param-national-tax-amount`,children:_jsx(_components.p,{children:`The total amount of national tax for this payment transaction request. National tax is a government-imposed tax at the federal or country level, such as Goods and Services Tax (GST), or federal sales tax. Must be a non-negative value.`})}),_jsx(ParamField,{path:`shippingAmount`,type:`Decimal`,id:`param-shipping-amount`,children:_jsx(_components.p,{children:`Total shipping charges for the transaction. Must be a non-negative value.`})}),_jsx(ParamField,{path:`subtotalAmount`,type:`DecimalAmount`,id:`param-subtotal-amount`,children:_jsx(_components.p,{children:`The sum of all item costs in the transaction before applying any additional charges such as taxes, or fees. Must be a non-negative value.`})}),_jsx(ParamField,{path:`totalAmount`,type:`Decimal!`,required:true,id:`param-total-amount`,children:_jsx(_components.p,{children:`The requested amount intended to be collected by this transaction. A positive decimal with precision depending on transaction currency. For example: $10.00 would be 10.00 or 10.`})}),_jsx(ParamField,{path:`totalTaxAmount`,type:`Decimal`,id:`param-total-tax-amount`,children:_jsx(_components.p,{children:`The total amount of all taxes for this payment transaction request. Must be present if either local or national tax are present. Must be a non-negative value.`})})]})]}),_jsx(ParamField,{path:`transactionReference`,type:`Max36Text!`,required:true,id:`param-transaction-reference`,children:_jsx(_components.p,{children:`A unique identifier created by the entity holding the direct relationship with the Acceptor, and used by that entity for reconciliation and transaction search. Tesouro uses this identifier to manage idempotency.`})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`return-type`,children:`Return type`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`RefundPreviousPaymentPayload!`})}),`\n`,_jsx(ResponseField,{name:`errors`,type:`[RefundPreviousPaymentError!]`,id:`param-errors`,children:_jsxs(Expandable,{title:`Possible types`,children:[_jsxs(Expandable,{title:`InternalServiceError`,children:[_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})})]}),_jsxs(Expandable,{title:`RuleInViolationError`,children:[_jsx(_components.p,{children:`This occurs when an internal Tesouro business rule is in violation.`}),_jsx(ResponseField,{name:`advice`,type:`String!`,required:true,id:`param-advice`,children:_jsx(_components.p,{children:`Advice on how to overcome the rule in the future.`})}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-1`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-1`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`explanationOfRule`,type:`String!`,required:true,id:`param-explanation-of-rule`,children:_jsx(_components.p,{children:`An explanation of why the rule exists.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-1`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-1`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsxs(ResponseField,{name:`ruleName`,type:`RuleName!`,required:true,id:`param-rule-name`,children:[_jsx(_components.p,{children:`The name of the rule in violation`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/rule-name`,children:`RuleName`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-1`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})})]}),_jsxs(Expandable,{title:`SyntaxOnNetworkResponseError`,children:[_jsxs(ResponseField,{name:`attemptedNetwork`,type:`Network!`,required:true,id:`param-attempted-network`,children:[_jsx(_components.p,{children:`The network the transaction request was attempted with.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/network`,children:`Network`})]})]}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-2`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-2`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-2`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-2`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-2`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})})]}),_jsxs(Expandable,{title:`TimeoutOnNetworkResponseError`,children:[_jsxs(ResponseField,{name:`attemptedNetwork`,type:`Network!`,required:true,id:`param-attempted-network-1`,children:[_jsx(_components.p,{children:`The network the authorization was attempted.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/network`,children:`Network`})]})]}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-3`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-3`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-3`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-3`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-3`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})}),_jsx(ResponseField,{name:`waitTime`,type:`Int!`,required:true,id:`param-wait-time`,children:_jsx(_components.p,{children:`The amount of time Tesouro waited for a response in milliseconds.`})})]}),_jsxs(Expandable,{title:`ValidationFailureError`,children:[_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-4`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-4`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`fieldName`,type:`String!`,required:true,id:`param-field-name`,children:_jsx(_components.p,{children:`The name of the graphql field in error.`})}),_jsx(ResponseField,{name:`fieldPath`,type:`String!`,required:true,id:`param-field-path`,children:_jsx(_components.p,{children:`The path to the graphql field in error.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-4`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-4`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-4`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})}),_jsx(ResponseField,{name:`valueInError`,type:`String!`,required:true,id:`param-value-in-error`,children:_jsx(_components.p,{children:`The value of the graphql field in error.`})})]}),_jsxs(Expandable,{title:`PriorPaymentNotFoundError`,children:[_jsx(_components.p,{children:`This occurs when a prior referenced payment cannot be found`}),_jsxs(ResponseField,{name:`dateTimeUtc`,type:`DateTime!`,required:true,deprecated:true,id:`param-date-time-utc-5`,children:[_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use errorDateTime instead.`]})]}),_jsx(ResponseField,{name:`errorDateTime`,type:`DateTime!`,required:true,id:`param-error-date-time-5`,children:_jsx(_components.p,{children:`The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-5`,children:_jsx(_components.p,{children:`A human readable description of the error.`})}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-5`,children:[_jsx(_components.p,{children:`Tesouro response code indicating the error.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-5`,children:_jsx(_components.p,{children:`Unique ID for the transaction assigned by Tesouro.`})}),_jsx(ResponseField,{name:`unknownPaymentId`,type:`UUID!`,required:true,id:`param-unknown-payment-id`,children:_jsx(_components.p,{children:`The payment id that cannot be found.`})})]})]})}),`\n`,_jsx(ResponseField,{name:`refundPreviousPaymentResponse`,type:`RefundPreviousPaymentResponse`,id:`param-refund-previous-payment-response`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`activityDate`,type:`Date!`,required:true,id:`param-activity-date`,children:_jsx(_components.p,{children:`The date Tesouro received the transaction based on acceptor cutoff time`})}),_jsxs(ResponseField,{name:`cardDetails`,type:`CardInformation`,deprecated:true,id:`param-card-details`,children:[_jsx(_components.p,{children:`Details related to the card used on the transaction`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use paymentMethodResponse instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/card-information`,children:`CardInformation`})]})]}),_jsxs(ResponseField,{name:`duration`,type:`Int!`,required:true,deprecated:true,id:`param-duration`,children:[_jsx(_components.p,{children:`Difference between request receipt and response in milliseconds.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` New durations coming soon.`]})]}),_jsx(ResponseField,{name:`isDuplicateRequest`,type:`Boolean!`,required:true,id:`param-is-duplicate-request`,children:_jsx(_components.p,{children:`Result of Tesouro’s idempotency check. If the transaction reference matches that of another transaction from that presenter it will be treated as a duplicate.`})}),_jsx(ResponseField,{name:`message`,type:`String!`,required:true,id:`param-message-6`,children:_jsx(_components.p,{children:`A detailed description of the response code. e.g., Insufficient funds.`})}),_jsxs(ResponseField,{name:`networkResponseDetails`,type:`NetworkResponseDetails!`,required:true,deprecated:true,id:`param-network-response-details`,children:[_jsx(_components.p,{children:`The response code from the network.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecated:`}),` Use paymentMethodResponse instead.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/network-response-details`,children:`NetworkResponseDetails`})]})]}),_jsx(ResponseField,{name:`paymentId`,type:`UUID!`,required:true,id:`param-payment-id-1`,children:_jsx(_components.p,{children:`A unique 36 character identifier created by Tesouro and assigned to a group of transactions in the same payment request cohort. e.g., An authorization request, incremental authorization request, and the final capture would have the same paymentID.`})}),_jsxs(ResponseField,{name:`paymentMethodResponse`,type:`PaymentMethodResponse!`,required:true,id:`param-payment-method-response`,children:[_jsx(_components.p,{children:`Details related to the payment method used on the transaction`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`bankPaymentMethodDetails`,type:`BankPaymentMethodDetailsResponse`,id:`param-bank-payment-method-details`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`acquirerTokenDetails`,type:`AcquirerTokenDetails!`,required:true,id:`param-acquirer-token-details`,children:_jsx(_components.p,{children:`Details associated with the token generated on a tokenization request.`})}),_jsxs(ResponseField,{name:`paymentBrand`,type:`PaymentBrand!`,required:true,id:`param-payment-brand`,children:[_jsx(_components.p,{children:`Specifies which payment brand was used, e.g., Visa, MasterCard, Discover, American Express, etc.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/payment-brand`,children:`PaymentBrand`})]})]})]})}),_jsx(ResponseField,{name:`cardPaymentMethodDetails`,type:`CardPaymentMethodDetailsResponse`,id:`param-card-payment-method-details`,children:_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`acquirerTokenDetails`,type:`AcquirerTokenDetails!`,required:true,id:`param-acquirer-token-details-1`,children:_jsx(_components.p,{children:`Details associated with the token generated on a tokenization request.`})}),_jsx(ResponseField,{name:`cardDetails`,type:`CardInformation!`,required:true,id:`param-card-details-1`,children:_jsx(_components.p,{children:`Details related to the card used on the transaction`})}),_jsx(ResponseField,{name:`networkResponseDetails`,type:`NetworkResponseDetails!`,required:true,id:`param-network-response-details-1`,children:_jsx(_components.p,{children:`The response code from the network.`})}),_jsxs(ResponseField,{name:`paymentBrand`,type:`PaymentBrand!`,required:true,id:`param-payment-brand-1`,children:[_jsx(_components.p,{children:`Specifies which payment brand was used, e.g., Visa, MasterCard, Discover, American Express, etc.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/payment-brand`,children:`PaymentBrand`})]})]})]})})]})]}),_jsxs(ResponseField,{name:`processorResponseCode`,type:`ProcessorResponseCode!`,required:true,id:`param-processor-response-code-6`,children:[_jsx(_components.p,{children:`A normalized 4-character response code defined by Tesouro that represents the outcome of the payment transaction request.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/processor-response-code`,children:`ProcessorResponseCode`})]})]}),_jsxs(ResponseField,{name:`sanitizedFields`,type:`[SanitizedFieldOutput!]!`,required:true,id:`param-sanitized-fields`,children:[_jsx(_components.p,{children:`List of fields that were detected as invalid and sanitized by Tesouro to prevent the payment transaction request from failing.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/sanitized-field-output`,children:`SanitizedFieldOutput`})]})]}),_jsx(ResponseField,{name:`timestampUtc`,type:`DateTime!`,required:true,id:`param-timestamp-utc`,children:_jsx(_components.p,{children:`The UTC date and time the transaction was received by Tesouro.`})}),_jsxs(ResponseField,{name:`tokenDetails`,type:`TokenDetails`,id:`param-token-details`,children:[_jsx(_components.p,{children:`Details associated with the token generated on a tokenization request.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/acquiring/reference/graphql/types/token-details`,children:`TokenDetails`})]})]}),_jsx(ResponseField,{name:`transactionId`,type:`UUID!`,required:true,id:`param-transaction-id-6`,children:_jsx(_components.p,{children:`A unique identifier created by Tesouro and assigned to the transaction.`})})]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Operation`,lines:`true`,expandable:`true`,numberOfLines:`82`,language:`graphql`,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:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`82`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`mutation`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` RefundPreviousPayment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`$refundPreviousPaymentInput`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`RefundPreviousPaymentInput`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` refundPreviousPayment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`refundPreviousPaymentInput`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`$refundPreviousPaymentInput`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errors`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` InternalServiceError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dateTimeUtc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errorDateTime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` processorResponseCode`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` transactionId`})}),`\n`,_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:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` RuleInViolationError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` advice`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dateTimeUtc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errorDateTime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` explanationOfRule`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_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:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` SyntaxOnNetworkResponseError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` attemptedNetwork`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dateTimeUtc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errorDateTime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` processorResponseCode`})}),`\n`,_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:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` TimeoutOnNetworkResponseError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` attemptedNetwork`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dateTimeUtc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errorDateTime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` processorResponseCode`})}),`\n`,_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:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` ValidationFailureError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dateTimeUtc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errorDateTime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` fieldName`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` fieldPath`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_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:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` on`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` PriorPaymentNotFoundError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dateTimeUtc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` errorDateTime`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` processorResponseCode`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` transactionId`})}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` refundPreviousPaymentResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` activityDate`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` cardDetails`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` last4`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` paymentBrand`})}),`\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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` duration`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` isDuplicateRequest`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` message`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` networkResponseDetails`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` networkResponseCode`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` processorResponseCode`})}),`\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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` paymentId`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` paymentMethodResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` processorResponseCode`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` sanitizedFields`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` fieldName`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` fieldPath`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` originalValue`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` reason`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` sanitizedValue`})}),`\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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` timestampUtc`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tokenDetails`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tokenizedPan`})}),`\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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` transactionId`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(CodeBlock,{filename:`Variables`,lines:`true`,expandable:`true`,numberOfLines:`7`,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:`7`,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:` \"refundPreviousPaymentInput\"`}),_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:` \"acceptorId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"`}),_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:` \"paymentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f47ac10b-58cc-4372-a567-0e02b2c3d479\"`}),_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:` \"transactionReference\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`cURL`,lines:`true`,expandable:`true`,numberOfLines:`14`,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:`14`,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.com/graphql`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003cYOUR_ACCESS_TOKEN>'`}),_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,{children:` \"query\": \"mutation RefundPreviousPayment($refundPreviousPaymentInput: RefundPreviousPaymentInput!) {\\\\n refundPreviousPayment(refundPreviousPaymentInput: $refundPreviousPaymentInput) {\\\\n errors {\\\\n ... on InternalServiceError {\\\\n dateTimeUtc\\\\n errorDateTime\\\\n message\\\\n processorResponseCode\\\\n transactionId\\\\n }\\\\n ... on RuleInViolationError {\\\\n advice\\\\n dateTimeUtc\\\\n errorDateTime\\\\n explanationOfRule\\\\n message\\\\n }\\\\n ... on SyntaxOnNetworkResponseError {\\\\n attemptedNetwork\\\\n dateTimeUtc\\\\n errorDateTime\\\\n message\\\\n processorResponseCode\\\\n }\\\\n ... on TimeoutOnNetworkResponseError {\\\\n attemptedNetwork\\\\n dateTimeUtc\\\\n errorDateTime\\\\n message\\\\n processorResponseCode\\\\n }\\\\n ... on ValidationFailureError {\\\\n dateTimeUtc\\\\n errorDateTime\\\\n fieldName\\\\n fieldPath\\\\n message\\\\n }\\\\n ... on PriorPaymentNotFoundError {\\\\n dateTimeUtc\\\\n errorDateTime\\\\n message\\\\n processorResponseCode\\\\n transactionId\\\\n }\\\\n }\\\\n refundPreviousPaymentResponse {\\\\n activityDate\\\\n cardDetails {\\\\n last4\\\\n paymentBrand\\\\n }\\\\n duration\\\\n isDuplicateRequest\\\\n message\\\\n networkResponseDetails {\\\\n networkResponseCode\\\\n processorResponseCode\\\\n }\\\\n paymentId\\\\n paymentMethodResponse {\\\\n\\\\n }\\\\n processorResponseCode\\\\n sanitizedFields {\\\\n fieldName\\\\n fieldPath\\\\n originalValue\\\\n reason\\\\n sanitizedValue\\\\n }\\\\n timestampUtc\\\\n tokenDetails {\\\\n token\\\\n tokenizedPan\\\\n }\\\\n transactionId\\\\n }\\\\n }\\\\n}\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"variables\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"refundPreviousPaymentInput\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"acceptorId\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentId\": \"f47ac10b-58cc-4372-a567-0e02b2c3d479\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"transactionReference\": \"example\"`})}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,lines:`true`,expandable:`true`,numberOfLines:`51`,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:`51`,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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"refundPreviousPayment\"`}),_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:` \"errors\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"__typename\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"InternalServiceError\"`}),_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:` \"dateTimeUtc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T14:30:00Z\"`}),_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:` \"errorDateTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T14:30:00Z\"`}),_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:`\"example\"`}),_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:` \"processorResponseCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A0000\"`}),_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:` \"transactionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c9a1e2d3-4b5f-6789-0abc-def123456789\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"refundPreviousPaymentResponse\"`}),_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:` \"activityDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15\"`}),_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:` \"cardDetails\"`}),_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:` \"last4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234\"`}),_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:` \"paymentBrand\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VISA\"`})]}),`\n`,_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:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"isDuplicateRequest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_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:`\"example\"`}),_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:` \"networkResponseDetails\"`}),_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:` \"networkResponseCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"processorResponseCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A0000\"`})]}),`\n`,_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:` \"paymentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"d8b2f3e4-5c6a-7890-1bcd-ef2345678901\"`}),_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:` \"paymentMethodResponse\"`}),_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:` \"bankPaymentMethodDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"cardPaymentMethodDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`})]}),`\n`,_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:` \"processorResponseCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A0000\"`}),_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:` \"sanitizedFields\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fieldName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"fieldPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"originalValue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"sanitizedValue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestampUtc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-01-15T14:30:00Z\"`}),_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:` \"tokenDetails\"`}),_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:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`}),_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:` \"tokenizedPan\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`})]}),`\n`,_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:` \"transactionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e7c3a4b5-6d7e-8901-2cde-f34567890123\"`})]}),`\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`,_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`]})})})})]})}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":"refundPreviousPayment","description":"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.","sidebarTitle":"Refund previous payment","api":"POST refundPreviousPayment","playground":"none","href":"/acquiring/reference/graphql/operations/refund-previous-payment"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Arguments","slug":"arguments","depth":2,"children":[]},{"title":"Return type","slug":"return-type","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Operation","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"graphql\">\u003ccode language=\"graphql\" numberOfLines=\"82\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">mutation\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> RefundPreviousPayment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">$refundPreviousPaymentInput\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\">RefundPreviousPaymentInput\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">!\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> refundPreviousPayment\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">refundPreviousPaymentInput\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\">$refundPreviousPaymentInput\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">) {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errors\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ...\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> on\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> InternalServiceError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> dateTimeUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errorDateTime\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> processorResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> transactionId\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ...\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> on\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> RuleInViolationError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> advice\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> dateTimeUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errorDateTime\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> explanationOfRule\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ...\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> on\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> SyntaxOnNetworkResponseError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> attemptedNetwork\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> dateTimeUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errorDateTime\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> processorResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ...\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> on\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> TimeoutOnNetworkResponseError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> attemptedNetwork\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> dateTimeUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errorDateTime\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> processorResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ...\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> on\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> ValidationFailureError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> dateTimeUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errorDateTime\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> fieldName\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> fieldPath\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> ...\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> on\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4EC9B0\"> PriorPaymentNotFoundError\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> dateTimeUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> errorDateTime\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> processorResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> transactionId\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> refundPreviousPaymentResponse\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> activityDate\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> cardDetails\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> last4\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> paymentBrand\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> duration\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> isDuplicateRequest\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> message\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> networkResponseDetails\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> networkResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> processorResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> paymentId\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> paymentMethodResponse\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> processorResponseCode\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> sanitizedFields\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> fieldName\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> fieldPath\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> originalValue\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> reason\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> sanitizedValue\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> timestampUtc\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> tokenDetails\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> token\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> tokenizedPan\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> transactionId\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Variables","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"refundPreviousPaymentInput\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"acceptorId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"paymentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"f47ac10b-58cc-4372-a567-0e02b2c3d479\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transactionReference\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sandbox.com/graphql\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;YOUR_ACCESS_TOKEN>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> \"query\": \"mutation RefundPreviousPayment($refundPreviousPaymentInput: RefundPreviousPaymentInput!) {\\n refundPreviousPayment(refundPreviousPaymentInput: $refundPreviousPaymentInput) {\\n errors {\\n ... on InternalServiceError {\\n dateTimeUtc\\n errorDateTime\\n message\\n processorResponseCode\\n transactionId\\n }\\n ... on RuleInViolationError {\\n advice\\n dateTimeUtc\\n errorDateTime\\n explanationOfRule\\n message\\n }\\n ... on SyntaxOnNetworkResponseError {\\n attemptedNetwork\\n dateTimeUtc\\n errorDateTime\\n message\\n processorResponseCode\\n }\\n ... on TimeoutOnNetworkResponseError {\\n attemptedNetwork\\n dateTimeUtc\\n errorDateTime\\n message\\n processorResponseCode\\n }\\n ... on ValidationFailureError {\\n dateTimeUtc\\n errorDateTime\\n fieldName\\n fieldPath\\n message\\n }\\n ... on PriorPaymentNotFoundError {\\n dateTimeUtc\\n errorDateTime\\n message\\n processorResponseCode\\n transactionId\\n }\\n }\\n refundPreviousPaymentResponse {\\n activityDate\\n cardDetails {\\n last4\\n paymentBrand\\n }\\n duration\\n isDuplicateRequest\\n message\\n networkResponseDetails {\\n networkResponseCode\\n processorResponseCode\\n }\\n paymentId\\n paymentMethodResponse {\\n\\n }\\n processorResponseCode\\n sanitizedFields {\\n fieldName\\n fieldPath\\n originalValue\\n reason\\n sanitizedValue\\n }\\n timestampUtc\\n tokenDetails {\\n token\\n tokenizedPan\\n }\\n transactionId\\n }\\n }\\n}\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"variables\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"refundPreviousPaymentInput\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"acceptorId\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"paymentId\": \"f47ac10b-58cc-4372-a567-0e02b2c3d479\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"transactionReference\": \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"51\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"refundPreviousPayment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"__typename\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"InternalServiceError\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dateTimeUtc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T14:30:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"errorDateTime\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T14:30:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"processorResponseCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A0000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transactionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c9a1e2d3-4b5f-6789-0abc-def123456789\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"refundPreviousPaymentResponse\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"activityDate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cardDetails\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1234\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"paymentBrand\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"VISA\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isDuplicateRequest\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"networkResponseDetails\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"networkResponseCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"processorResponseCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A0000\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"paymentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"d8b2f3e4-5c6a-7890-1bcd-ef2345678901\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"paymentMethodResponse\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"bankPaymentMethodDetails\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cardPaymentMethodDetails\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"processorResponseCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A0000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sanitizedFields\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fieldName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"fieldPath\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"originalValue\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sanitizedValue\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestampUtc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-01-15T14:30:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tokenDetails\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tokenizedPan\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transactionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"e7c3a4b5-6d7e-8901-2cde-f34567890123\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"refundPreviousPayment","path":"refundPreviousPayment","method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"refundPreviousPaymentInput":{"schema":[{"type":"object","properties":{"acceptorId":[{"type":"object","properties":{},"description":"A unique, 36 character identifier created by Tesouro and assigned to the entity providing the goods or services to the cardholder, such as a Merchant, a Submerchant of a Payment Facilitator, a Seller within a Marketplace, or a Biller of a Consumer Bill Payment Service Provider (CBPS). Historically, processors have called this identifier the Merchant ID (or MID), Outlet ID, or Customer number.","required":true}],"lineItems":[{"type":"object","properties":{},"description":"Line item details for this order. If line items are provided on the refund any line items from the original authorization will be overridden. If line items are provided, transactionAmountDetails must be provided. See LineItemInput"}],"orderDetails":[{"type":"object","properties":{},"description":"Details pertaining to the customer’s order. If null, order details from the original authorization will be used. If provided, all details from the original authorization will be overridden. See OrderDetailsInput"}],"paymentId":[{"type":"object","properties":{},"description":"The unique ‘paymentId’ of the payment that is to be refunded.","required":true}],"transactionAmountDetails":[{"type":"object","properties":{"baseAmount":[{"type":"object","properties":{},"description":"The base transaction amount intended to be collected by this payment not including any cashback, gratuity, fees, or taxes. Deprecated: Use subtotalAmount instead.","deprecated":true}],"cashBackAmount":[{"type":"object","properties":{},"description":"The cash back amount. Must be a non-negative value."}],"currency":[{"type":"object","properties":{},"description":"The purchasing currency code of the request amount. See TransactionAmountCurrencyCode","required":true}],"discountAmount":[{"type":"number","description":"Total discount amount applied to the order. Must be a non-negative value."}],"dutyAmount":[{"type":"number","description":"Total charges for any import or export duties included in the order. Must be a non-negative value."}],"gratuityAmount":[{"type":"object","properties":{},"description":"The gratuity amount. Must be a non-negative value."}],"localTaxAmount":[{"type":"number","description":"The total amount of local tax for this payment transaction request. Local tax is imposed by municipal, city, or regional governments and may include sales tax, service tax, or other location-based levies applicable to the transaction. Must be a non-negative value."}],"nationalTaxAmount":[{"type":"number","description":"The total amount of national tax for this payment transaction request. National tax is a government-imposed tax at the federal or country level, such as Goods and Services Tax (GST), or federal sales tax. Must be a non-negative value."}],"shippingAmount":[{"type":"number","description":"Total shipping charges for the transaction. Must be a non-negative value."}],"subtotalAmount":[{"type":"object","properties":{},"description":"The sum of all item costs in the transaction before applying any additional charges such as taxes, or fees. Must be a non-negative value."}],"totalAmount":[{"type":"object","properties":{},"description":"The requested amount intended to be collected by this transaction. A positive decimal with precision depending on transaction currency. For example: $10.00 would be 10.00 or 10.","required":true}],"totalTaxAmount":[{"type":"number","description":"The total amount of all taxes for this payment transaction request. Must be present if either local or national tax are present. Must be a non-negative value."}]},"description":"The partial or full amount of the transaction to be refunded. If you do not specify an amount, Tesouro will refund the full amount."}],"transactionReference":[{"type":"object","properties":{},"description":"A unique identifier created by the entity holding the direct relationship with the Acceptor, and used by that entity for reconciliation and transaction search. Tesouro uses this identifier to manage idempotency.","required":true}]},"required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"errors":[{"type":"object","properties":{"dateTimeUtc":[{"type":"object","properties":{},"description":"The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z. Deprecated: Use errorDateTime instead.","required":true,"deprecated":true}],"errorDateTime":[{"type":"object","properties":{},"description":"The date and time, in UTC, that the error occured. Formatted as 2024-03-27T02:40:00Z.","required":true}],"message":[{"type":"object","properties":{},"description":"A human readable description of the error.","required":true}],"processorResponseCode":[{"type":"object","properties":{},"description":"Tesouro response code indicating the error. See ProcessorResponseCode","required":true}],"transactionId":[{"type":"object","properties":{},"description":"Unique ID for the transaction assigned by Tesouro.","required":true}],"advice":[{"type":"object","properties":{},"description":"Advice on how to overcome the rule in the future.","required":true}],"explanationOfRule":[{"type":"object","properties":{},"description":"An explanation of why the rule exists.","required":true}],"ruleName":[{"type":"object","properties":{},"description":"The name of the rule in violation See RuleName","required":true}],"attemptedNetwork":[{"type":"object","properties":{},"description":"The network the authorization was attempted. See Network","required":true}],"waitTime":[{"type":"object","properties":{},"description":"The amount of time Tesouro waited for a response in milliseconds.","required":true}],"fieldName":[{"type":"object","properties":{},"description":"The name of the graphql field in error.","required":true}],"fieldPath":[{"type":"object","properties":{},"description":"The path to the graphql field in error.","required":true}],"valueInError":[{"type":"object","properties":{},"description":"The value of the graphql field in error.","required":true}],"unknownPaymentId":[{"type":"object","properties":{},"description":"The payment id that cannot be found.","required":true}]}}],"refundPreviousPaymentResponse":[{"type":"object","properties":{"activityDate":[{"type":"object","properties":{},"description":"The date Tesouro received the transaction based on acceptor cutoff time","required":true}],"cardDetails":[{"type":"object","properties":{},"description":"Details related to the card used on the transaction Deprecated: Use paymentMethodResponse instead. See CardInformation","deprecated":true}],"duration":[{"type":"object","properties":{},"description":"Difference between request receipt and response in milliseconds. Deprecated: New durations coming soon.","required":true,"deprecated":true}],"isDuplicateRequest":[{"type":"object","properties":{},"description":"Result of Tesouro’s idempotency check. If the transaction reference matches that of another transaction from that presenter it will be treated as a duplicate.","required":true}],"message":[{"type":"object","properties":{},"description":"A detailed description of the response code. e.g., Insufficient funds.","required":true}],"networkResponseDetails":[{"type":"object","properties":{},"description":"The response code from the network. Deprecated: Use paymentMethodResponse instead. See NetworkResponseDetails","required":true,"deprecated":true}],"paymentId":[{"type":"object","properties":{},"description":"A unique 36 character identifier created by Tesouro and assigned to a group of transactions in the same payment request cohort. e.g., An authorization request, incremental authorization request, and the final capture would have the same paymentID.","required":true}],"paymentMethodResponse":[{"type":"object","properties":{"bankPaymentMethodDetails":[{"type":"object","properties":{"acquirerTokenDetails":[{"type":"object","properties":{},"description":"Details associated with the token generated on a tokenization request.","required":true}],"paymentBrand":[{"type":"object","properties":{},"description":"Specifies which payment brand was used, e.g., Visa, MasterCard, Discover, American Express, etc. See PaymentBrand","required":true}]}}],"cardPaymentMethodDetails":[{"type":"object","properties":{"acquirerTokenDetails":[{"type":"object","properties":{},"description":"Details associated with the token generated on a tokenization request.","required":true}],"cardDetails":[{"type":"object","properties":{},"description":"Details related to the card used on the transaction","required":true}],"networkResponseDetails":[{"type":"object","properties":{},"description":"The response code from the network.","required":true}],"paymentBrand":[{"type":"object","properties":{},"description":"Specifies which payment brand was used, e.g., Visa, MasterCard, Discover, American Express, etc. See PaymentBrand","required":true}]}}]},"description":"Details related to the payment method used on the transaction","required":true}],"processorResponseCode":[{"type":"object","properties":{},"description":"A normalized 4-character response code defined by Tesouro that represents the outcome of the payment transaction request. See ProcessorResponseCode","required":true}],"sanitizedFields":[{"type":"object","properties":{},"description":"List of fields that were detected as invalid and sanitized by Tesouro to prevent the payment transaction request from failing. See SanitizedFieldOutput","required":true}],"timestampUtc":[{"type":"object","properties":{},"description":"The UTC date and time the transaction was received by Tesouro.","required":true}],"tokenDetails":[{"type":"object","properties":{},"description":"Details associated with the token generated on a tokenization request. See TokenDetails"}],"transactionId":[{"type":"object","properties":{},"description":"A unique identifier created by Tesouro and assigned to the transaction.","required":true}]}}]}}],"examples":{"example":{"value":{"errors":{"dateTimeUtc":{},"errorDateTime":{},"message":{},"processorResponseCode":{},"transactionId":{},"advice":{},"explanationOfRule":{},"ruleName":{},"attemptedNetwork":{},"waitTime":{},"fieldName":{},"fieldPath":{},"valueInError":{},"unknownPaymentId":{}},"refundPreviousPaymentResponse":{"activityDate":{},"cardDetails":{},"duration":{},"isDuplicateRequest":{},"message":{},"networkResponseDetails":{},"paymentId":{},"paymentMethodResponse":{"bankPaymentMethodDetails":{"acquirerTokenDetails":{},"paymentBrand":{}},"cardPaymentMethodDetails":{"acquirerTokenDetails":{},"cardDetails":{},"networkResponseDetails":{},"paymentBrand":{}}},"processorResponseCode":{},"sanitizedFields":{},"timestampUtc":{},"tokenDetails":{},"transactionId":{}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tesouro-dc896113","siteName":"Tesouro","title":"refundPreviousPayment - Tesouro","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-23T15:04:55.128Z","originalFileLocation":"acquiring/reference/graphql/operations/refund-previous-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=\"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tesouro\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_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/tesouro-dc896113/7Bbt6o3aeKao26ng/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"refundPreviousPayment - Tesouro\">\u003cmeta data-mint-head property=\"og:description\" content=\"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tesouro\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tesouro-dc896113.mintlify.app/_mintlify/api/og/v2?division=Transaction+Processing\u0026amp;title=refundPreviousPayment\u0026amp;description=Refund+a+previously+authorized+payment+using+its+payment+ID+and+return+a+payload+that+includes+details+of+the+resulting+transaction.\u0026amp;theme=aea269d490030ed12aee6415\u0026amp;signature=a94ebb047cac6b3d782b5d26c68dde0afd5394a56462669753152700fb90f786\">\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=\"refundPreviousPayment - Tesouro\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tesouro-dc896113.mintlify.app/_mintlify/api/og/v2?division=Transaction+Processing\u0026amp;title=refundPreviousPayment\u0026amp;description=Refund+a+previously+authorized+payment+using+its+payment+ID+and+return+a+payload+that+includes+details+of+the+resulting+transaction.\u0026amp;theme=aea269d490030ed12aee6415\u0026amp;signature=a94ebb047cac6b3d782b5d26c68dde0afd5394a56462669753152700fb90f786\">\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/tesouro-dc896113/7Bbt6o3aeKao26ng/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tesouro\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8b5cf6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/acquiring/reference/graphql/operations/refund-previous-payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tesouro.com/#organization\",\"name\":\"Tesouro\",\"url\":\"https://docs.tesouro.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tesouro-dc896113/EiyyRmHDHMxOKA4r/.shared/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=EiyyRmHDHMxOKA4r\u0026q=85\u0026s=7806042ddc87fa143686df9c7b515c71\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tesouro.com#website\",\"name\":\"Tesouro\",\"url\":\"https://docs.tesouro.com\",\"publisher\":{\"@id\":\"https://docs.tesouro.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment#webpage\",\"url\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment\",\"name\":\"refundPreviousPayment\",\"description\":\"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.\",\"dateModified\":\"2026-03-23T15:04:55.128Z\",\"isPartOf\":{\"@id\":\"https://docs.tesouro.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Transaction Processing\",\"item\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/authorize-customer-initiated-transaction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"refundPreviousPayment\",\"item\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment#apireference\",\"headline\":\"refundPreviousPayment\",\"name\":\"refundPreviousPayment\",\"description\":\"Refund a previously authorized payment using its payment ID and return a payload that includes details of the resulting transaction.\",\"url\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tesouro.com/acquiring/reference/graphql/operations/refund-previous-payment#webpage\"},\"dateModified\":\"2026-03-23T15:04:55.128Z\",\"publisher\":{\"@id\":\"https://docs.tesouro.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tesouro.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tesouro\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tesouro","nav":{"global":null,"products":[{"product":"Home","icon":"house","description":"Documentation hub for all Tesouro products and platform guides","pages":[{"title":"Home","href":""}]},{"product":"Acquiring","icon":"credit-card","description":"Acceptor boarding, transaction processing, billing, funding, and dispute management","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/acquiring"}]},{"tab":"Boarding","pages":[{"title":"Boarding","href":"/acquiring/boarding/troubleshooting"}]},{"tab":"Transaction processing","pages":[{"title":"Transaction processing","href":"/acquiring/transaction-processing/authorize-customer-initiated-transaction"}]},{"tab":"Risk, Compliance, and Disputes","pages":[{"title":"Risk, Compliance, and Disputes","href":"/acquiring/disputes"}]},{"tab":"Reporting","pages":[{"title":"Reporting","href":"/acquiring/reporting"}]},{"tab":"API reference","pages":[{"group":"Boarding","pages":[{"title":"acceptorApplications","sidebarTitle":"Acceptor applications","api":"GET acceptorApplications","playground":"none","href":"/acquiring/reference/graphql/operations/acceptor-applications"},{"title":"merchantCategories","sidebarTitle":"Merchant categories","api":"GET merchantCategories","playground":"none","href":"/acquiring/reference/graphql/operations/merchant-categories"},{"title":"sponsorBanks","sidebarTitle":"Sponsor banks","api":"GET sponsorBanks","playground":"none","href":"/acquiring/reference/graphql/operations/sponsor-banks"},{"title":"createAcceptorApplication","sidebarTitle":"Create acceptor application","api":"POST createAcceptorApplication","playground":"none","href":"/acquiring/reference/graphql/operations/create-acceptor-application"},{"title":"processDecisionComponents","sidebarTitle":"Process decision components","api":"POST processDecisionComponents","playground":"none","href":"/acquiring/reference/graphql/operations/process-decision-components"},{"title":"submitAcceptorApplication","sidebarTitle":"Submit acceptor application","api":"POST submitAcceptorApplication","playground":"none","href":"/acquiring/reference/graphql/operations/submit-acceptor-application"},{"title":"updateAcceptorApplication","sidebarTitle":"Update acceptor application","api":"POST updateAcceptorApplication","playground":"none","href":"/acquiring/reference/graphql/operations/update-acceptor-application"},{"title":"updateDecisionComponent","sidebarTitle":"Update decision component","api":"POST updateDecisionComponent","playground":"none","href":"/acquiring/reference/graphql/operations/update-decision-component"}]},{"group":"Transaction Processing","pages":[{"title":"authorizeCustomerInitiatedTransaction","sidebarTitle":"Authorize customer initiated transaction","api":"POST authorizeCustomerInitiatedTransaction","playground":"none","href":"/acquiring/reference/graphql/operations/authorize-customer-initiated-transaction"},{"title":"authorizeRecurring","sidebarTitle":"Authorize recurring","api":"POST authorizeRecurring","playground":"none","href":"/acquiring/reference/graphql/operations/authorize-recurring"},{"title":"captureAuthorization","sidebarTitle":"Capture authorization","api":"POST captureAuthorization","playground":"none","href":"/acquiring/reference/graphql/operations/capture-authorization"},{"title":"incrementAuthorization","sidebarTitle":"Increment authorization","api":"POST incrementAuthorization","playground":"none","href":"/acquiring/reference/graphql/operations/increment-authorization"},{"title":"initiateBankTransfer","description":"Initiate a bank transfer transaction.","sidebarTitle":"Initiate bank transfer","api":"POST initiateBankTransfer","playground":"none","href":"/acquiring/reference/graphql/operations/initiate-bank-transfer"},{"title":"refundPreviousPayment","sidebarTitle":"Refund previous payment","api":"POST refundPreviousPayment","playground":"none","href":"/acquiring/reference/graphql/operations/refund-previous-payment"},{"title":"reinitiateBankTransfer","description":"Reinitiate a previously returned bank transfer transaction and return a payload that includes details of the resulting transaction.","sidebarTitle":"Reinitiate bank transfer","api":"POST reinitiateBankTransfer","playground":"none","href":"/acquiring/reference/graphql/operations/reinitiate-bank-transfer"},{"title":"reverseTransaction","sidebarTitle":"Reverse transaction","api":"POST reverseTransaction","playground":"none","href":"/acquiring/reference/graphql/operations/reverse-transaction"},{"title":"validateBankAccount","sidebarTitle":"Validate bank account","api":"POST validateBankAccount","playground":"none","href":"/acquiring/reference/graphql/operations/validate-bank-account"},{"title":"verifyAccount","sidebarTitle":"Verify account","api":"POST verifyAccount","playground":"none","href":"/acquiring/reference/graphql/operations/verify-account"}]},{"group":"Risk, Compliance \u0026 Dispute Management","pages":[{"title":"disputes","sidebarTitle":"Disputes","api":"GET disputes","playground":"none","href":"/acquiring/reference/graphql/operations/disputes"},{"title":"respondToDispute","sidebarTitle":"Respond to dispute","api":"POST respondToDispute","playground":"none","href":"/acquiring/reference/graphql/operations/respond-to-dispute"}]},{"group":"Reporting","pages":[{"title":"achNotificationsOfChange","sidebarTitle":"ACH notifications of change","api":"GET achNotificationsOfChange","playground":"none","href":"/acquiring/reference/graphql/operations/ach-notifications-of-change"},{"title":"achReturns","sidebarTitle":"ACH returns","api":"GET achReturns","playground":"none","href":"/acquiring/reference/graphql/operations/ach-returns"},{"title":"allocations","sidebarTitle":"Allocations","api":"GET allocations","playground":"none","href":"/acquiring/reference/graphql/operations/allocations"},{"title":"asyncReport","sidebarTitle":"Async report","api":"GET asyncReport","playground":"none","href":"/acquiring/reference/graphql/operations/async-report"},{"title":"authorizationSummaries","sidebarTitle":"Authorization summaries","api":"GET authorizationSummaries","playground":"none","href":"/acquiring/reference/graphql/operations/authorization-summaries"},{"title":"fees","sidebarTitle":"Fees","api":"GET fees","playground":"none","href":"/acquiring/reference/graphql/operations/fees"},{"title":"feeSummaries","sidebarTitle":"Fee summaries","api":"GET feeSummaries","playground":"none","href":"/acquiring/reference/graphql/operations/fee-summaries"},{"title":"fundingAchReturns","sidebarTitle":"Funding ACH returns","api":"GET fundingAchReturns","playground":"none","href":"/acquiring/reference/graphql/operations/funding-ach-returns"},{"title":"fundingDisbursementReturns","sidebarTitle":"Funding disbursement returns","api":"GET fundingDisbursementReturns","playground":"none","href":"/acquiring/reference/graphql/operations/funding-disbursement-returns"},{"title":"fundingDisputeEvents","sidebarTitle":"Funding dispute events","api":"GET fundingDisputeEvents","playground":"none","href":"/acquiring/reference/graphql/operations/funding-dispute-events"},{"title":"fundingSummaries","sidebarTitle":"Funding summaries","api":"GET fundingSummaries","playground":"none","href":"/acquiring/reference/graphql/operations/funding-summaries"},{"title":"fundingTransactions","sidebarTitle":"Funding transactions","api":"GET fundingTransactions","playground":"none","href":"/acquiring/reference/graphql/operations/funding-transactions"},{"title":"paymentTransaction","sidebarTitle":"Payment transaction","api":"GET paymentTransaction","playground":"none","href":"/acquiring/reference/graphql/operations/payment-transaction"},{"title":"paymentTransactions","sidebarTitle":"Payment transactions","api":"GET paymentTransactions","playground":"none","href":"/acquiring/reference/graphql/operations/payment-transactions"},{"title":"paymentTransactionSummaries","sidebarTitle":"Payment transaction summaries","api":"GET paymentTransactionSummaries","playground":"none","href":"/acquiring/reference/graphql/operations/payment-transaction-summaries"},{"title":"createAsyncReport","sidebarTitle":"Create async report","api":"POST createAsyncReport","playground":"none","href":"/acquiring/reference/graphql/operations/create-async-report"}]},{"group":"Types","pages":[{"title":"Acceptor","sidebarTitle":"Acceptor","href":"/acquiring/reference/graphql/types/acceptor"},{"title":"AcceptorApplication","sidebarTitle":"AcceptorApplication","href":"/acquiring/reference/graphql/types/acceptor-application"},{"title":"AcceptorApplicationBankAccountFieldValidationError","sidebarTitle":"AcceptorApplicationBankAccountFieldValidationError","href":"/acquiring/reference/graphql/types/acceptor-application-bank-account-field-validation-error"},{"title":"AcceptorApplicationBankAccountFieldValidationGraphQlErrorCode","sidebarTitle":"AcceptorApplicationBankAccountFieldValidationGraphQlErrorCode","href":"/acquiring/reference/graphql/types/acceptor-application-bank-account-field-validation-graph-ql-error-code"},{"title":"AcceptorApplicationBillingAndFundingOutput","sidebarTitle":"AcceptorApplicationBillingAndFundingOutput","href":"/acquiring/reference/graphql/types/acceptor-application-billing-and-funding-output"},{"title":"AcceptorApplicationCounts","sidebarTitle":"AcceptorApplicationCounts","href":"/acquiring/reference/graphql/types/acceptor-application-counts"},{"title":"AcceptorApplicationFieldValidationError","sidebarTitle":"AcceptorApplicationFieldValidationError","href":"/acquiring/reference/graphql/types/acceptor-application-field-validation-error"},{"title":"AcceptorApplicationFieldValidationErrorCode","sidebarTitle":"AcceptorApplicationFieldValidationErrorCode","href":"/acquiring/reference/graphql/types/acceptor-application-field-validation-error-code"},{"title":"AcceptorApplicationIdentityOutput","sidebarTitle":"AcceptorApplicationIdentityOutput","href":"/acquiring/reference/graphql/types/acceptor-application-identity-output"},{"title":"AcceptorApplicationProcessingActivityOutput","sidebarTitle":"AcceptorApplicationProcessingActivityOutput","href":"/acquiring/reference/graphql/types/acceptor-application-processing-activity-output"},{"title":"AcceptorApplicationSensitiveFields","sidebarTitle":"AcceptorApplicationSensitiveFields","href":"/acquiring/reference/graphql/types/acceptor-application-sensitive-fields"},{"title":"AcceptorApplicationServicesOutput","sidebarTitle":"AcceptorApplicationServicesOutput","href":"/acquiring/reference/graphql/types/acceptor-application-services-output"},{"title":"AcceptorApplicationStakeholderFieldValidationError","sidebarTitle":"AcceptorApplicationStakeholderFieldValidationError","href":"/acquiring/reference/graphql/types/acceptor-application-stakeholder-field-validation-error"},{"title":"AcceptorApplicationStakeholderFieldValidationErrorCode","sidebarTitle":"AcceptorApplicationStakeholderFieldValidationErrorCode","href":"/acquiring/reference/graphql/types/acceptor-application-stakeholder-field-validation-error-code"},{"title":"AcceptorApplicationStatus","sidebarTitle":"AcceptorApplicationStatus","href":"/acquiring/reference/graphql/types/acceptor-application-status"},{"title":"AcceptorApplicationValidationError","sidebarTitle":"AcceptorApplicationValidationError","href":"/acquiring/reference/graphql/types/acceptor-application-validation-error"},{"title":"AcceptorApplicationValidationErrorCode","sidebarTitle":"AcceptorApplicationValidationErrorCode","href":"/acquiring/reference/graphql/types/acceptor-application-validation-error-code"},{"title":"AcceptorCollection","sidebarTitle":"AcceptorCollection","href":"/acquiring/reference/graphql/types/acceptor-collection"},{"title":"AcceptorNotFoundError","sidebarTitle":"AcceptorNotFoundError","href":"/acquiring/reference/graphql/types/acceptor-not-found-error"},{"title":"AcceptorType","sidebarTitle":"AcceptorType","href":"/acquiring/reference/graphql/types/acceptor-type"},{"title":"AccountOwnerType","sidebarTitle":"AccountOwnerType","href":"/acquiring/reference/graphql/types/account-owner-type"},{"title":"AccountStatus","sidebarTitle":"AccountStatus","href":"/acquiring/reference/graphql/types/account-status"},{"title":"AchNotificationOfChange","sidebarTitle":"AchNotificationOfChange","href":"/acquiring/reference/graphql/types/ach-notification-of-change"},{"title":"AchNotificationOfChangeCollection","sidebarTitle":"AchNotificationOfChangeCollection","href":"/acquiring/reference/graphql/types/ach-notification-of-change-collection"},{"title":"AchReturn","sidebarTitle":"AchReturn","href":"/acquiring/reference/graphql/types/ach-return"},{"title":"AchReturnCode","sidebarTitle":"AchReturnCode","href":"/acquiring/reference/graphql/types/ach-return-code"},{"title":"AchReturnCollection","sidebarTitle":"AchReturnCollection","href":"/acquiring/reference/graphql/types/ach-return-collection"},{"title":"Actor","sidebarTitle":"Actor","href":"/acquiring/reference/graphql/types/actor"},{"title":"ActorType","sidebarTitle":"ActorType","href":"/acquiring/reference/graphql/types/actor-type"},{"title":"AddressDetailsInput","sidebarTitle":"AddressDetailsInput","href":"/acquiring/reference/graphql/types/address-details-input"},{"title":"AddressOutput","sidebarTitle":"AddressOutput","href":"/acquiring/reference/graphql/types/address-output"},{"title":"AddressVerificationResponse","sidebarTitle":"AddressVerificationResponse","href":"/acquiring/reference/graphql/types/address-verification-response"},{"title":"Advice","sidebarTitle":"Advice","href":"/acquiring/reference/graphql/types/advice"},{"title":"AllocationDetail","sidebarTitle":"AllocationDetail","href":"/acquiring/reference/graphql/types/allocation-detail"},{"title":"AllocationDetailCollection","sidebarTitle":"AllocationDetailCollection","href":"/acquiring/reference/graphql/types/allocation-detail-collection"},{"title":"AllocationFeeType","sidebarTitle":"AllocationFeeType","href":"/acquiring/reference/graphql/types/allocation-fee-type"},{"title":"AllocationType","sidebarTitle":"AllocationType","href":"/acquiring/reference/graphql/types/allocation-type"},{"title":"AmericanExpressOutput","sidebarTitle":"AmericanExpressOutput","href":"/acquiring/reference/graphql/types/american-express-output"},{"title":"AmountDetails","sidebarTitle":"AmountDetails","href":"/acquiring/reference/graphql/types/amount-details"},{"title":"ApplicationAssignee","sidebarTitle":"ApplicationAssignee","href":"/acquiring/reference/graphql/types/application-assignee"},{"title":"ApplicationEvent","sidebarTitle":"ApplicationEvent","href":"/acquiring/reference/graphql/types/application-event"},{"title":"ApplicationEventCollection","sidebarTitle":"ApplicationEventCollection","href":"/acquiring/reference/graphql/types/application-event-collection"},{"title":"ApplicationEventType","sidebarTitle":"ApplicationEventType","href":"/acquiring/reference/graphql/types/application-event-type"},{"title":"ApplicationParticipantRole","sidebarTitle":"ApplicationParticipantRole","href":"/acquiring/reference/graphql/types/application-participant-role"},{"title":"ApplicationUnderwriter","sidebarTitle":"ApplicationUnderwriter","href":"/acquiring/reference/graphql/types/application-underwriter"},{"title":"AssignedByUser","sidebarTitle":"AssignedByUser","href":"/acquiring/reference/graphql/types/assigned-by-user"},{"title":"Attachment","sidebarTitle":"Attachment","href":"/acquiring/reference/graphql/types/attachment"},{"title":"AuthorizationSummary","sidebarTitle":"AuthorizationSummary","href":"/acquiring/reference/graphql/types/authorization-summary"},{"title":"AuthorizationSummaryCollection","sidebarTitle":"AuthorizationSummaryCollection","href":"/acquiring/reference/graphql/types/authorization-summary-collection"},{"title":"AvsResponse","sidebarTitle":"AvsResponse","href":"/acquiring/reference/graphql/types/avs-response"},{"title":"AvsResponseType","sidebarTitle":"AvsResponseType","href":"/acquiring/reference/graphql/types/avs-response-type"},{"title":"BankAccount","sidebarTitle":"BankAccount","href":"/acquiring/reference/graphql/types/bank-account"},{"title":"BankAccountFeesSettlements","sidebarTitle":"BankAccountFeesSettlements","href":"/acquiring/reference/graphql/types/bank-account-fees-settlements"},{"title":"BankAccountOutput","sidebarTitle":"BankAccountOutput","href":"/acquiring/reference/graphql/types/bank-account-output"},{"title":"BankAccountSensitiveFields","sidebarTitle":"BankAccountSensitiveFields","href":"/acquiring/reference/graphql/types/bank-account-sensitive-fields"},{"title":"BankAccountType","sidebarTitle":"BankAccountType","href":"/acquiring/reference/graphql/types/bank-account-type"},{"title":"BankTransfersOutput","sidebarTitle":"BankTransfersOutput","href":"/acquiring/reference/graphql/types/bank-transfers-output"},{"title":"BillableType","sidebarTitle":"BillableType","href":"/acquiring/reference/graphql/types/billable-type"},{"title":"BillingDescriptor","sidebarTitle":"BillingDescriptor","href":"/acquiring/reference/graphql/types/billing-descriptor"},{"title":"BillingDescriptorOutput","sidebarTitle":"BillingDescriptorOutput","href":"/acquiring/reference/graphql/types/billing-descriptor-output"},{"title":"BillingEventSourceType","sidebarTitle":"BillingEventSourceType","href":"/acquiring/reference/graphql/types/billing-event-source-type"},{"title":"BoardingApplicationParticipant","sidebarTitle":"BoardingApplicationParticipant","href":"/acquiring/reference/graphql/types/boarding-application-participant"},{"title":"BusinessApplicationId","sidebarTitle":"BusinessApplicationId","href":"/acquiring/reference/graphql/types/business-application-id"},{"title":"BusinessEntityType","sidebarTitle":"BusinessEntityType","href":"/acquiring/reference/graphql/types/business-entity-type"},{"title":"CardInformation","sidebarTitle":"CardInformation","href":"/acquiring/reference/graphql/types/card-information"},{"title":"CardNumber","sidebarTitle":"CardNumber","href":"/acquiring/reference/graphql/types/card-number"},{"title":"CardSecurityCodeResponseDetails","sidebarTitle":"CardSecurityCodeResponseDetails","href":"/acquiring/reference/graphql/types/card-security-code-response-details"},{"title":"Comment","sidebarTitle":"Comment","href":"/acquiring/reference/graphql/types/comment"},{"title":"CommonErrorCode","sidebarTitle":"CommonErrorCode","href":"/acquiring/reference/graphql/types/common-error-code"},{"title":"ConsumerType","sidebarTitle":"ConsumerType","href":"/acquiring/reference/graphql/types/consumer-type"},{"title":"ConveyedStatus","sidebarTitle":"ConveyedStatus","href":"/acquiring/reference/graphql/types/conveyed-status"},{"title":"CountryCode","sidebarTitle":"CountryCode","href":"/acquiring/reference/graphql/types/country-code"},{"title":"CurrencyCodeAlpha","sidebarTitle":"CurrencyCodeAlpha","href":"/acquiring/reference/graphql/types/currency-code-alpha"},{"title":"CustomerDetailsInput","sidebarTitle":"CustomerDetailsInput","href":"/acquiring/reference/graphql/types/customer-details-input"},{"title":"Date","sidebarTitle":"Date","href":"/acquiring/reference/graphql/types/date"},{"title":"DateRangeFilterInput","sidebarTitle":"DateRangeFilterInput","href":"/acquiring/reference/graphql/types/date-range-filter-input"},{"title":"DateTime","sidebarTitle":"DateTime","href":"/acquiring/reference/graphql/types/date-time"},{"title":"Decimal","sidebarTitle":"Decimal","href":"/acquiring/reference/graphql/types/decimal"},{"title":"DecimalAmount","sidebarTitle":"DecimalAmount","href":"/acquiring/reference/graphql/types/decimal-amount"},{"title":"DecisionComponent","sidebarTitle":"DecisionComponent","href":"/acquiring/reference/graphql/types/decision-component"},{"title":"DecisionComponentField","sidebarTitle":"DecisionComponentField","href":"/acquiring/reference/graphql/types/decision-component-field"},{"title":"DecisionComponentItem","sidebarTitle":"DecisionComponentItem","href":"/acquiring/reference/graphql/types/decision-component-item"},{"title":"DecisionComponentItemStatus","sidebarTitle":"DecisionComponentItemStatus","href":"/acquiring/reference/graphql/types/decision-component-item-status"},{"title":"DecisionComponentOutcomes","sidebarTitle":"DecisionComponentOutcomes","href":"/acquiring/reference/graphql/types/decision-component-outcomes"},{"title":"DecisionComponentStatus","sidebarTitle":"DecisionComponentStatus","href":"/acquiring/reference/graphql/types/decision-component-status"},{"title":"DiscoverOutput","sidebarTitle":"DiscoverOutput","href":"/acquiring/reference/graphql/types/discover-output"},{"title":"DisputeLifeCycle","sidebarTitle":"DisputeLifeCycle","href":"/acquiring/reference/graphql/types/dispute-life-cycle"},{"title":"Email","sidebarTitle":"Email","href":"/acquiring/reference/graphql/types/email"},{"title":"EnumFilterInputOfAllocationFeeTypeInput","sidebarTitle":"EnumFilterInputOfAllocationFeeTypeInput","href":"/acquiring/reference/graphql/types/enum-filter-input-of-allocation-fee-type-input"},{"title":"EnumFilterInputOfConveyedStatusInput","sidebarTitle":"EnumFilterInputOfConveyedStatusInput","href":"/acquiring/reference/graphql/types/enum-filter-input-of-conveyed-status-input"},{"title":"EnumFilterInputOfPaymentBrandInput","sidebarTitle":"EnumFilterInputOfPaymentBrandInput","href":"/acquiring/reference/graphql/types/enum-filter-input-of-payment-brand-input"},{"title":"EnumFilterInputOfPaymentChannelInput","sidebarTitle":"EnumFilterInputOfPaymentChannelInput","href":"/acquiring/reference/graphql/types/enum-filter-input-of-payment-channel-input"},{"title":"EnumFilterInputOfPaymentTransactionTypeInput","sidebarTitle":"EnumFilterInputOfPaymentTransactionTypeInput","href":"/acquiring/reference/graphql/types/enum-filter-input-of-payment-transaction-type-input"},{"title":"EnumFilterInputOfPerspectiveInput","sidebarTitle":"EnumFilterInputOfPerspectiveInput","href":"/acquiring/reference/graphql/types/enum-filter-input-of-perspective-input"},{"title":"Exact4Digits","sidebarTitle":"Exact4Digits","href":"/acquiring/reference/graphql/types/exact4-digits"},{"title":"Fee","sidebarTitle":"Fee","href":"/acquiring/reference/graphql/types/fee"},{"title":"FeeCollection","sidebarTitle":"FeeCollection","href":"/acquiring/reference/graphql/types/fee-collection"},{"title":"FeeDetails","sidebarTitle":"FeeDetails","href":"/acquiring/reference/graphql/types/fee-details"},{"title":"FeeFilterInput","sidebarTitle":"FeeFilterInput","href":"/acquiring/reference/graphql/types/fee-filter-input"},{"title":"FeeSummary","sidebarTitle":"FeeSummary","href":"/acquiring/reference/graphql/types/fee-summary"},{"title":"FeeSummaryCollection","sidebarTitle":"FeeSummaryCollection","href":"/acquiring/reference/graphql/types/fee-summary-collection"},{"title":"FeeSummaryTotals","sidebarTitle":"FeeSummaryTotals","href":"/acquiring/reference/graphql/types/fee-summary-totals"},{"title":"FeeType","sidebarTitle":"FeeType","href":"/acquiring/reference/graphql/types/fee-type"},{"title":"ForbiddenError","sidebarTitle":"ForbiddenError","href":"/acquiring/reference/graphql/types/forbidden-error"},{"title":"FundingAchReturnOutput","sidebarTitle":"FundingAchReturnOutput","href":"/acquiring/reference/graphql/types/funding-ach-return-output"},{"title":"FundingAchReturnOutputCollection","sidebarTitle":"FundingAchReturnOutputCollection","href":"/acquiring/reference/graphql/types/funding-ach-return-output-collection"},{"title":"FundingDisbursementReturn","sidebarTitle":"FundingDisbursementReturn","href":"/acquiring/reference/graphql/types/funding-disbursement-return"},{"title":"FundingDisbursementReturnCollection","sidebarTitle":"FundingDisbursementReturnCollection","href":"/acquiring/reference/graphql/types/funding-disbursement-return-collection"},{"title":"FundingDisputeEventOutput","sidebarTitle":"FundingDisputeEventOutput","href":"/acquiring/reference/graphql/types/funding-dispute-event-output"},{"title":"FundingDisputeEventOutputCollection","sidebarTitle":"FundingDisputeEventOutputCollection","href":"/acquiring/reference/graphql/types/funding-dispute-event-output-collection"},{"title":"FundingSource","sidebarTitle":"FundingSource","href":"/acquiring/reference/graphql/types/funding-source"},{"title":"FundingSummary","sidebarTitle":"FundingSummary","href":"/acquiring/reference/graphql/types/funding-summary"},{"title":"FundingSummaryCollection","sidebarTitle":"FundingSummaryCollection","href":"/acquiring/reference/graphql/types/funding-summary-collection"},{"title":"FundingTransaction","sidebarTitle":"FundingTransaction","href":"/acquiring/reference/graphql/types/funding-transaction"},{"title":"FundingTransactionCollection","sidebarTitle":"FundingTransactionCollection","href":"/acquiring/reference/graphql/types/funding-transaction-collection"},{"title":"FundsTransfer","sidebarTitle":"FundsTransfer","href":"/acquiring/reference/graphql/types/funds-transfer"},{"title":"FundsTransferIdFeeFilterInput","sidebarTitle":"FundsTransferIdFeeFilterInput","href":"/acquiring/reference/graphql/types/funds-transfer-id-fee-filter-input"},{"title":"GuidFilterInput","sidebarTitle":"GuidFilterInput","href":"/acquiring/reference/graphql/types/guid-filter-input"},{"title":"IanaTimezone","sidebarTitle":"IanaTimezone","href":"/acquiring/reference/graphql/types/iana-timezone"},{"title":"InternalServiceError","sidebarTitle":"InternalServiceError","href":"/acquiring/reference/graphql/types/internal-service-error"},{"title":"InvalidActorError","sidebarTitle":"InvalidActorError","href":"/acquiring/reference/graphql/types/invalid-actor-error"},{"title":"InvalidOrganizationError","sidebarTitle":"InvalidOrganizationError","href":"/acquiring/reference/graphql/types/invalid-organization-error"},{"title":"InvalidTokenError","sidebarTitle":"InvalidTokenError","href":"/acquiring/reference/graphql/types/invalid-token-error"},{"title":"ItemizedFee","sidebarTitle":"ItemizedFee","href":"/acquiring/reference/graphql/types/itemized-fee"},{"title":"LineItem","sidebarTitle":"LineItem","href":"/acquiring/reference/graphql/types/line-item"},{"title":"LineItemDiscountInput","sidebarTitle":"LineItemDiscountInput","href":"/acquiring/reference/graphql/types/line-item-discount-input"},{"title":"LineItemInput","sidebarTitle":"LineItemInput","href":"/acquiring/reference/graphql/types/line-item-input"},{"title":"LineItemTaxInput","sidebarTitle":"LineItemTaxInput","href":"/acquiring/reference/graphql/types/line-item-tax-input"},{"title":"LineItemTaxes","sidebarTitle":"LineItemTaxes","href":"/acquiring/reference/graphql/types/line-item-taxes"},{"title":"LineItemTaxesInput","sidebarTitle":"LineItemTaxesInput","href":"/acquiring/reference/graphql/types/line-item-taxes-input"},{"title":"LocalTime","sidebarTitle":"LocalTime","href":"/acquiring/reference/graphql/types/local-time"},{"title":"Location","sidebarTitle":"Location","href":"/acquiring/reference/graphql/types/location"},{"title":"LocationInput","sidebarTitle":"LocationInput","href":"/acquiring/reference/graphql/types/location-input"},{"title":"Max100Text","sidebarTitle":"Max100Text","href":"/acquiring/reference/graphql/types/max100-text"},{"title":"Max15Text","sidebarTitle":"Max15Text","href":"/acquiring/reference/graphql/types/max15-text"},{"title":"Max36Text","sidebarTitle":"Max36Text","href":"/acquiring/reference/graphql/types/max36-text"},{"title":"Max50Text","sidebarTitle":"Max50Text","href":"/acquiring/reference/graphql/types/max50-text"},{"title":"MerchantCategory","sidebarTitle":"MerchantCategory","href":"/acquiring/reference/graphql/types/merchant-category"},{"title":"MerchantCategoryOutput","sidebarTitle":"MerchantCategoryOutput","href":"/acquiring/reference/graphql/types/merchant-category-output"},{"title":"NameVerificationResponseCode","sidebarTitle":"NameVerificationResponseCode","href":"/acquiring/reference/graphql/types/name-verification-response-code"},{"title":"NameVerificationResponseDetails","sidebarTitle":"NameVerificationResponseDetails","href":"/acquiring/reference/graphql/types/name-verification-response-details"},{"title":"Network","sidebarTitle":"Network","href":"/acquiring/reference/graphql/types/network"},{"title":"NetworkResponseDetails","sidebarTitle":"NetworkResponseDetails","href":"/acquiring/reference/graphql/types/network-response-details"},{"title":"NotFoundError","sidebarTitle":"NotFoundError","href":"/acquiring/reference/graphql/types/not-found-error"},{"title":"NumericMonth","sidebarTitle":"NumericMonth","href":"/acquiring/reference/graphql/types/numeric-month"},{"title":"NumericYear4Digits","sidebarTitle":"NumericYear4Digits","href":"/acquiring/reference/graphql/types/numeric-year4-digits"},{"title":"OrderDetailsInput","sidebarTitle":"OrderDetailsInput","href":"/acquiring/reference/graphql/types/order-details-input"},{"title":"Organization","sidebarTitle":"Organization","href":"/acquiring/reference/graphql/types/organization"},{"title":"OrganizationAccessSettings","sidebarTitle":"OrganizationAccessSettings","href":"/acquiring/reference/graphql/types/organization-access-settings"},{"title":"OrganizationCapability","sidebarTitle":"OrganizationCapability","href":"/acquiring/reference/graphql/types/organization-capability"},{"title":"OrganizationSettingsOutput","sidebarTitle":"OrganizationSettingsOutput","href":"/acquiring/reference/graphql/types/organization-settings-output"},{"title":"Outlet","sidebarTitle":"Outlet","href":"/acquiring/reference/graphql/types/outlet"},{"title":"PageInfo","sidebarTitle":"PageInfo","href":"/acquiring/reference/graphql/types/page-info"},{"title":"PagingInput","sidebarTitle":"PagingInput","href":"/acquiring/reference/graphql/types/paging-input"},{"title":"PanEntryChannel","sidebarTitle":"PanEntryChannel","href":"/acquiring/reference/graphql/types/pan-entry-channel"},{"title":"PanEntryMode","sidebarTitle":"PanEntryMode","href":"/acquiring/reference/graphql/types/pan-entry-mode"},{"title":"PaymentBrand","sidebarTitle":"PaymentBrand","href":"/acquiring/reference/graphql/types/payment-brand"},{"title":"PaymentChannel","sidebarTitle":"PaymentChannel","href":"/acquiring/reference/graphql/types/payment-channel"},{"title":"PaymentFeeInput","sidebarTitle":"PaymentFeeInput","href":"/acquiring/reference/graphql/types/payment-fee-input"},{"title":"PaymentMethod","sidebarTitle":"PaymentMethod","href":"/acquiring/reference/graphql/types/payment-method"},{"title":"PaymentMethodType","sidebarTitle":"PaymentMethodType","href":"/acquiring/reference/graphql/types/payment-method-type"},{"title":"PaymentTransaction","sidebarTitle":"PaymentTransaction","href":"/acquiring/reference/graphql/types/payment-transaction"},{"title":"PaymentTransactionCollection","sidebarTitle":"PaymentTransactionCollection","href":"/acquiring/reference/graphql/types/payment-transaction-collection"},{"title":"PaymentTransactionSummary","sidebarTitle":"PaymentTransactionSummary","href":"/acquiring/reference/graphql/types/payment-transaction-summary"},{"title":"PaymentTransactionSummaryCollection","sidebarTitle":"PaymentTransactionSummaryCollection","href":"/acquiring/reference/graphql/types/payment-transaction-summary-collection"},{"title":"PaymentTransactionType","sidebarTitle":"PaymentTransactionType","href":"/acquiring/reference/graphql/types/payment-transaction-type"},{"title":"Percentage","sidebarTitle":"Percentage","href":"/acquiring/reference/graphql/types/percentage"},{"title":"Perspective","sidebarTitle":"Perspective","href":"/acquiring/reference/graphql/types/perspective"},{"title":"PointOfInteractionInput","sidebarTitle":"PointOfInteractionInput","href":"/acquiring/reference/graphql/types/point-of-interaction-input"},{"title":"PriorPaymentNotFoundError","sidebarTitle":"PriorPaymentNotFoundError","href":"/acquiring/reference/graphql/types/prior-payment-not-found-error"},{"title":"ProcessorResponseCode","sidebarTitle":"ProcessorResponseCode","href":"/acquiring/reference/graphql/types/processor-response-code"},{"title":"ProductPillar","sidebarTitle":"ProductPillar","href":"/acquiring/reference/graphql/types/product-pillar"},{"title":"ReportAvailability","sidebarTitle":"ReportAvailability","href":"/acquiring/reference/graphql/types/report-availability"},{"title":"ReportAvailabilityDateType","sidebarTitle":"ReportAvailabilityDateType","href":"/acquiring/reference/graphql/types/report-availability-date-type"},{"title":"ResponseType","sidebarTitle":"ResponseType","href":"/acquiring/reference/graphql/types/response-type"},{"title":"RevealedChange","sidebarTitle":"RevealedChange","href":"/acquiring/reference/graphql/types/revealed-change"},{"title":"RiskLevel","sidebarTitle":"RiskLevel","href":"/acquiring/reference/graphql/types/risk-level"},{"title":"RouteNotFoundError","sidebarTitle":"RouteNotFoundError","href":"/acquiring/reference/graphql/types/route-not-found-error"},{"title":"RuleInViolationError","sidebarTitle":"RuleInViolationError","href":"/acquiring/reference/graphql/types/rule-in-violation-error"},{"title":"RuleName","sidebarTitle":"RuleName","href":"/acquiring/reference/graphql/types/rule-name"},{"title":"SalesChannel","sidebarTitle":"SalesChannel","href":"/acquiring/reference/graphql/types/sales-channel"},{"title":"SanitizedFieldOutput","sidebarTitle":"SanitizedFieldOutput","href":"/acquiring/reference/graphql/types/sanitized-field-output"},{"title":"SecurityCodeInput","sidebarTitle":"SecurityCodeInput","href":"/acquiring/reference/graphql/types/security-code-input"},{"title":"SecurityCodeOmissionReason","sidebarTitle":"SecurityCodeOmissionReason","href":"/acquiring/reference/graphql/types/security-code-omission-reason"},{"title":"SecurityCodeResponse","sidebarTitle":"SecurityCodeResponse","href":"/acquiring/reference/graphql/types/security-code-response"},{"title":"SelectedSponsorBankOutput","sidebarTitle":"SelectedSponsorBankOutput","href":"/acquiring/reference/graphql/types/selected-sponsor-bank-output"},{"title":"SensitiveChangeOutput","sidebarTitle":"SensitiveChangeOutput","href":"/acquiring/reference/graphql/types/sensitive-change-output"},{"title":"ServerError","sidebarTitle":"ServerError","href":"/acquiring/reference/graphql/types/server-error"},{"title":"ShipFromAddressInput","sidebarTitle":"ShipFromAddressInput","href":"/acquiring/reference/graphql/types/ship-from-address-input"},{"title":"SortingEnumType","sidebarTitle":"SortingEnumType","href":"/acquiring/reference/graphql/types/sorting-enum-type"},{"title":"StakeholderOutput","sidebarTitle":"StakeholderOutput","href":"/acquiring/reference/graphql/types/stakeholder-output"},{"title":"StakeholderRole","sidebarTitle":"StakeholderRole","href":"/acquiring/reference/graphql/types/stakeholder-role"},{"title":"StakeholderSensitiveFields","sidebarTitle":"StakeholderSensitiveFields","href":"/acquiring/reference/graphql/types/stakeholder-sensitive-fields"},{"title":"StandardFeeFilterInput","sidebarTitle":"StandardFeeFilterInput","href":"/acquiring/reference/graphql/types/standard-fee-filter-input"},{"title":"StringFilterInput","sidebarTitle":"StringFilterInput","href":"/acquiring/reference/graphql/types/string-filter-input"},{"title":"SyntaxOnNetworkResponseError","sidebarTitle":"SyntaxOnNetworkResponseError","href":"/acquiring/reference/graphql/types/syntax-on-network-response-error"},{"title":"TaxCalculation","sidebarTitle":"TaxCalculation","href":"/acquiring/reference/graphql/types/tax-calculation"},{"title":"TaxIdentificationNumberOutput","sidebarTitle":"TaxIdentificationNumberOutput","href":"/acquiring/reference/graphql/types/tax-identification-number-output"},{"title":"TaxIdentificationNumberType","sidebarTitle":"TaxIdentificationNumberType","href":"/acquiring/reference/graphql/types/tax-identification-number-type"},{"title":"Taxes","sidebarTitle":"Taxes","href":"/acquiring/reference/graphql/types/taxes"},{"title":"TimeoutOnNetworkResponseError","sidebarTitle":"TimeoutOnNetworkResponseError","href":"/acquiring/reference/graphql/types/timeout-on-network-response-error"},{"title":"TokenDetails","sidebarTitle":"TokenDetails","href":"/acquiring/reference/graphql/types/token-details"},{"title":"TokenNotFoundError","sidebarTitle":"TokenNotFoundError","href":"/acquiring/reference/graphql/types/token-not-found-error"},{"title":"TransactionAmountCurrencyCode","sidebarTitle":"TransactionAmountCurrencyCode","href":"/acquiring/reference/graphql/types/transaction-amount-currency-code"},{"title":"TransactionProcessingServiceOutput","sidebarTitle":"TransactionProcessingServiceOutput","href":"/acquiring/reference/graphql/types/transaction-processing-service-output"},{"title":"TransactionType","sidebarTitle":"TransactionType","href":"/acquiring/reference/graphql/types/transaction-type"},{"title":"TransactorTypeI","sidebarTitle":"TransactorTypeI","href":"/acquiring/reference/graphql/types/transactor-type-i"},{"title":"UnderwritingDecisionComponentItemSchema","sidebarTitle":"UnderwritingDecisionComponentItemSchema","href":"/acquiring/reference/graphql/types/underwriting-decision-component-item-schema"},{"title":"UnderwritingDecisionComponentSchema","sidebarTitle":"UnderwritingDecisionComponentSchema","href":"/acquiring/reference/graphql/types/underwriting-decision-component-schema"},{"title":"UnderwritingDecisionComponentsSchema","sidebarTitle":"UnderwritingDecisionComponentsSchema","href":"/acquiring/reference/graphql/types/underwriting-decision-components-schema"},{"title":"UnderwritingDynamicField","sidebarTitle":"UnderwritingDynamicField","href":"/acquiring/reference/graphql/types/underwriting-dynamic-field"},{"title":"UnknownCardError","sidebarTitle":"UnknownCardError","href":"/acquiring/reference/graphql/types/unknown-card-error"},{"title":"UUID","sidebarTitle":"UUID","href":"/acquiring/reference/graphql/types/uuid"},{"title":"ValidationFailureError","sidebarTitle":"ValidationFailureError","href":"/acquiring/reference/graphql/types/validation-failure-error"},{"title":"WalletType","sidebarTitle":"WalletType","href":"/acquiring/reference/graphql/types/wallet-type"},{"title":"WorkflowAssignment","sidebarTitle":"WorkflowAssignment","href":"/acquiring/reference/graphql/types/workflow-assignment"}]}]},{"tab":"Support","pages":[{"title":"Support","href":"/acquiring/support"}]}]},{"product":"Embedded Banking","icon":"building-columns","description":"Integrate banking and finance tools directly within your software","pages":[{"title":"Embedded Banking","href":"/embedded-banking"}]},{"product":"FinOps","icon":"file-invoice-dollar","description":"Accounts payable, accounts receivable, invoicing, and expense management","pages":[{"title":"FinOps","href":"/finops"}]},{"product":"Underwriting","icon":"file-shield","description":"Submit KYB/KYC and financial information for underwriting review and decisioning","pages":[{"title":"Underwriting","href":"/underwriting"}]}]},"title":"refundPreviousPayment - Tesouro","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js"]}