Returns funds to the customer’s card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.
POST
https://sandbox-platform.jupico.com
/
v1
/
transactions
/
creditcard
/
refund
curl --request POST \ --url https://sandbox-platform.jupico.com/v1/transactions/creditcard/refund \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "subMerchantId": "jpt-sim-md-1", "transactionId": "You need to change *this* with transactionId from SALE operation", "amount": 10.03}'
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
To test this endpoint you need to make an SALE request first
subMerchantId
string
required
Unique identifier of the submerchant.
transactionId
string
required
Identifier of the settled transaction to refund.
amount
number
required
The amount to refund.
description
string
Free-text description.
referenceId
string
Your own reference for this transaction. Returned in responses and query results for reconciliation.
taxAmountRelease
number
Withheld tax amount to release with this refund.
taxWithHoldRelease
boolean
When true, releases the tax withheld on the original transaction.
metadata
object
metadata is an object that can host as much as 50 key-value pairs, where the keys can be at most 40 char length and can’t include the characters “[“ or “]”, and the values must be strings and cannot exceed 500 chars Learn more about metadata
Hide child attributes
metadata.{key}
string
Maximum string length: 500
Response
200 - application/json
Successful refund
data
object
The response payload.
Hide child attributes
data.status
string
Current status.
data.transactionId
string
Identifier of the settled transaction to refund.
data.operation
string
Transaction operation type (for example, sale, authorization, refund).
data.subMerchantId
string
Unique identifier of the submerchant.
data.amount
number
The amount of the transaction.
data.customerId
string | null
Unique identifier of the customer.
data.parentId
string | null
Identifier of the parent transaction (for example, the authorization behind a capture).
data.txDate
string
Date and time of the transaction (ISO 8601).
data.referenceNumber
string
Processor reference number for the transaction.
data.referenceId
string | null
Your own reference for this transaction. Returned in responses and query results for reconciliation.
data.taxAmount
number | null
Sales tax portion of the amount.
data.description
string
Free-text description.
data.billing
object
Billing contact and address details for the payer.
Hide child attributes
data.billing.address
string
Street address, including number.
data.billing.city
string
City name.
data.billing.zipCode
string
ZIP or postal code.
data.billing.state
string
Two-letter US state code.
data.billing.country
string
Two-letter ISO 3166-1 country code.
data.billing.name
string
Full name of the payer.
data.shipping
object
Shipping contact and address details for the order.
data.paymentMethod
object
Details of the payment method used.
Hide child attributes
data.paymentMethod.type
string
The type.
data.paymentMethod.eCheck
object
eCheck (ACH) acceptance settings.
Hide child attributes
data.paymentMethod.eCheck.accountType
string | null
Bank account type, such as checking.
data.paymentMethod.eCheck.routingNumber
string | null
9-digit ABA routing number.
data.paymentMethod.eCheck.accountNumberLast4
string | null
Last 4 digits of the bank account number.
data.paymentMethod.eCheck.checkNumber
string | null
Check number to record with this debit.
data.paymentMethod.eCheck.checkType
string | null
Type of check used for the debit.
data.paymentMethod.cc
object
Card payment method details.
Hide child attributes
data.paymentMethod.cc.card
object
Card details.
Hide child attributes
data.paymentMethod.cc.card.last4Digits
string
Last 4 digits of the card number.
data.paymentMethod.cc.card.expirationYear
string
Two-digit expiration year.
data.paymentMethod.cc.card.expirationMonth
string
Two-digit expiration month (01-12).
data.paymentMethod.cc.card.logo
string
Card brand logo identifier.
data.paymentMethod.cc.token
string
The token value.
data.ticketNumber
string | null
Ticket or order number associated with the transaction.
data.balanceAmount
number
Remaining balance on the transaction after captures, refunds, and voids.
success
boolean
Whether the request was processed successfully. Declines return HTTP 200 with success: false.
message
string
Human-readable result message.
code
string
Machine-readable result code. See the Error Codes reference.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Jupico","colors":{"primary":"#292929","light":"#cdcdcd","dark":"#171717"},"logo":{"light":"https://mintcdn.com/jupico/WF42wWm1iAwRSzCk/images/JupicoBlackLogo.png?fit=max\u0026auto=format\u0026n=WF42wWm1iAwRSzCk\u0026q=85\u0026s=dc9e36bca54fe697b1b99f6f0a8d93f0","dark":"https://mintcdn.com/jupico/WF42wWm1iAwRSzCk/images/JupicoWhiteLogo.png?fit=max\u0026auto=format\u0026n=WF42wWm1iAwRSzCk\u0026q=85\u0026s=2f922c06b240c3e8e1d3ba6919e4bd0e"},"favicon":{"light":"https://mintcdn.com/jupico/RFrdZu1UP2fi56xT/images/favicon.png?fit=max\u0026auto=format\u0026n=RFrdZu1UP2fi56xT\u0026q=85\u0026s=d9e461afbf75b0c5d34e2c2d1062266d","dark":"https://mintcdn.com/jupico/RFrdZu1UP2fi56xT/images/favicon-light.png?fit=max\u0026auto=format\u0026n=RFrdZu1UP2fi56xT\u0026q=85\u0026s=874f3d60c07928df5dcbb76b5cf548c0"},"api":{"openapi":"openapi.json","params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","python","javascript","node"],"prefill":true,"autogenerate":true},"url":"full"},"appearance":{"default":"light"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://jupico.com/contact/","label":"Support"}],"primary":{"type":"button","label":"Contact Sales","href":"https://jupico.com/demo/"}},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","chatgpt","claude","view"],"display":"toc"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jupico","hasAudioNarration":false,"actualSubdomain":"jupico","customDomains":["docs.jupico.com"],"gitSource":{"type":"github","owner":"fiz-jupico","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6b06daeced766d66afcf1286","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API Reference","count":188},{"language":"default","tag":"Product Guides","count":33},{"language":"default","tag":"Query","count":22},{"language":"default","tag":"API Overview","count":11},{"language":"default","tag":"Accept Payments","count":10},{"language":"default","tag":"Subscriptions","count":10},{"language":"default","tag":"Payouts","count":7},{"language":"default","tag":"Onboarding Invites","count":7},{"language":"default","tag":"Card Transactions","count":6},{"language":"default","tag":"Hosted Products","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@jupico.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/card-transactions/refund-a-card-transaction","slug":"/api-reference/card-transactions/refund-a-card-transaction","pageMetadata":{"title":"Refund a card transaction","description":"Returns funds to the customer's card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use **Void** instead.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/refund","href":"/api-reference/card-transactions/refund-a-card-transaction","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Returns funds to the customer’s card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use \", _jsx(_components.strong, {\n children: \"Void\"\n }), \" instead.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Refund a card transaction","description":"Returns funds to the customer's card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use **Void** instead.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/refund","href":"/api-reference/card-transactions/refund-a-card-transaction","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Card Transactions"],"summary":"Refund a card transaction","description":"Returns funds to the customer's card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use **Void** instead.","operationId":"ccRefund","requestBody":"29b1de2d-d304-440f-94c3-34c91aecf807","security":["12db511a-d162-4ba2-bf56-5cc6049fa788"],"responses":{"200":"03b9a0fb-264d-4fc8-9843-616f1968d075"},"method":"post","type":"path","servers":["034172e6-e076-4763-904f-1dca8d9cd729"],"path":"/v1/transactions/creditcard/refund","baseUrlOptions":["https://sandbox-platform.jupico.com"],"title":"Refund a card transaction","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.subMerchantId":"jpt-sim-md-1","body.transactionId":"You need to change *this* with transactionId from SALE operation","body.amount":10.03,"body.description":"Refund item returned #broken","body.metadata.test":"test"},{"body.subMerchantId":"jpt-sim-md-1","body.transactionId":"You need to change *this* with transactionId from SALE operation","body.amount":10.03,"body.description":"Refund item returned #broken","body.taxAmountRelease":4.5,"body.taxWithHoldRelease":true,"body.metadata.test":"test"}],"urlDisplay":"full"},"dependencies":{"parameters":{},"requestBody":{"description":"***To test this endpoint you need to make an SALE request first***","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subMerchantId":{"type":"string","description":"Unique identifier of the submerchant.","isRequired":true,"uniqueKey":"subMerchantId","typeLabel":"string"},"transactionId":{"type":"string","description":"Identifier of the settled transaction to refund.","isRequired":true,"uniqueKey":"transactionId","typeLabel":"string"},"amount":{"type":"number","description":"The amount to refund.","isRequired":true,"uniqueKey":"amount","typeLabel":"number"},"description":{"type":"string","description":"Free-text description.","uniqueKey":"description","typeLabel":"string"},"referenceId":{"type":"string","description":"Your own reference for this transaction. Returned in responses and query results for reconciliation.","uniqueKey":"referenceId","typeLabel":"string"},"taxAmountRelease":{"type":"number","description":"Withheld tax amount to release with this refund.","uniqueKey":"taxAmountRelease","typeLabel":"number"},"taxWithHoldRelease":{"type":"boolean","description":"When true, releases the tax withheld on the original transaction.","uniqueKey":"taxWithHoldRelease","typeLabel":"boolean"},"metadata":{"type":"object","description":"metadata is an object that can host as much as 50 key-value pairs, where the keys can be at most 40 char length and can’t include the characters “[“ or “]”, and the values must be strings and cannot exceed 500 chars [Learn more about metadata](https://docs.jupico.com/docs/metadata#/)","additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"x-key-max-length":40,"uniqueKey":"metadata","typeLabel":"object"}},"required":["subMerchantId","amount","transactionId"],"uniqueKey":"","typeLabel":"object"},"examples":{"ccRefund":{"title":"ccRefund","summary":"Example request basic","value":{"subMerchantId":"jpt-sim-md-1","transactionId":"You need to change *this* with transactionId from SALE operation","amount":10.03,"description":"Refund item returned #broken","metadata":{"test":"test"}}},"ccRefundTaxWithHold":{"title":"ccRefundTaxWithHold","summary":"Example request as tax with hold","value":{"subMerchantId":"jpt-sim-md-1","transactionId":"You need to change *this* with transactionId from SALE operation","amount":10.03,"description":"Refund item returned #broken","taxAmountRelease":4.5,"taxWithHoldRelease":true,"metadata":{"test":"test"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"03b9a0fb-264d-4fc8-9843-616f1968d075":{"description":"Successful refund","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"status":{"type":"string","description":"Current status.","uniqueKey":"data.status","typeLabel":"string"},"transactionId":{"type":"string","description":"Identifier of the settled transaction to refund.","uniqueKey":"data.transactionId","typeLabel":"string"},"operation":{"type":"string","description":"Transaction operation type (for example, sale, authorization, refund).","uniqueKey":"data.operation","typeLabel":"string"},"subMerchantId":{"type":"string","description":"Unique identifier of the submerchant.","uniqueKey":"data.subMerchantId","typeLabel":"string"},"amount":{"type":"number","description":"The amount of the transaction.","uniqueKey":"data.amount","typeLabel":"number"},"customerId":{"oneOf":[{"type":"string","description":"Unique identifier of the customer.","uniqueKey":"data.customerId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unique identifier of the customer.","uniqueKey":"data.customerId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.customerId","typeLabel":"string | null"},"parentId":{"oneOf":[{"type":"string","description":"Identifier of the parent transaction (for example, the authorization behind a capture).","uniqueKey":"data.parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifier of the parent transaction (for example, the authorization behind a capture).","uniqueKey":"data.parentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parentId","typeLabel":"string | null"},"txDate":{"type":"string","description":"Date and time of the transaction (ISO 8601).","uniqueKey":"data.txDate","typeLabel":"string"},"referenceNumber":{"type":"string","description":"Processor reference number for the transaction.","uniqueKey":"data.referenceNumber","typeLabel":"string"},"referenceId":{"oneOf":[{"type":"string","description":"Your own reference for this transaction. Returned in responses and query results for reconciliation.","uniqueKey":"data.referenceId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own reference for this transaction. Returned in responses and query results for reconciliation.","uniqueKey":"data.referenceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.referenceId","typeLabel":"string | null"},"taxAmount":{"oneOf":[{"type":"number","description":"Sales tax portion of the amount.","uniqueKey":"data.taxAmount.oneOf.0","typeLabel":"number"},{"type":"null","description":"Sales tax portion of the amount.","uniqueKey":"data.taxAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.taxAmount","typeLabel":"number | null"},"description":{"type":"string","description":"Free-text description.","uniqueKey":"data.description","typeLabel":"string"},"billing":{"type":"object","properties":{"address":{"type":"string","description":"Street address, including number.","uniqueKey":"data.billing.address","typeLabel":"string"},"city":{"type":"string","description":"City name.","uniqueKey":"data.billing.city","typeLabel":"string"},"zipCode":{"type":"string","description":"ZIP or postal code.","uniqueKey":"data.billing.zipCode","typeLabel":"string"},"state":{"type":"string","description":"Two-letter US state code.","uniqueKey":"data.billing.state","typeLabel":"string"},"country":{"type":"string","description":"Two-letter ISO 3166-1 country code.","uniqueKey":"data.billing.country","typeLabel":"string"},"name":{"type":"string","description":"Full name of the payer.","uniqueKey":"data.billing.name","typeLabel":"string"}},"description":"Billing contact and address details for the payer.","uniqueKey":"data.billing","typeLabel":"object"},"shipping":{"type":"object","description":"Shipping contact and address details for the order.","uniqueKey":"data.shipping","typeLabel":"object"},"paymentMethod":{"type":"object","properties":{"type":{"type":"string","description":"The type.","uniqueKey":"data.paymentMethod.type","typeLabel":"string"},"eCheck":{"type":"object","properties":{"accountType":{"oneOf":[{"type":"string","description":"Bank account type, such as `checking`.","uniqueKey":"data.paymentMethod.eCheck.accountType.oneOf.0","typeLabel":"string"},{"type":"null","description":"Bank account type, such as `checking`.","uniqueKey":"data.paymentMethod.eCheck.accountType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paymentMethod.eCheck.accountType","typeLabel":"string | null"},"routingNumber":{"oneOf":[{"type":"string","description":"9-digit ABA routing number.","uniqueKey":"data.paymentMethod.eCheck.routingNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"9-digit ABA routing number.","uniqueKey":"data.paymentMethod.eCheck.routingNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paymentMethod.eCheck.routingNumber","typeLabel":"string | null"},"accountNumberLast4":{"oneOf":[{"type":"string","description":"Last 4 digits of the bank account number.","uniqueKey":"data.paymentMethod.eCheck.accountNumberLast4.oneOf.0","typeLabel":"string"},{"type":"null","description":"Last 4 digits of the bank account number.","uniqueKey":"data.paymentMethod.eCheck.accountNumberLast4.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paymentMethod.eCheck.accountNumberLast4","typeLabel":"string | null"},"checkNumber":{"oneOf":[{"type":"string","description":"Check number to record with this debit.","uniqueKey":"data.paymentMethod.eCheck.checkNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Check number to record with this debit.","uniqueKey":"data.paymentMethod.eCheck.checkNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paymentMethod.eCheck.checkNumber","typeLabel":"string | null"},"checkType":{"oneOf":[{"type":"string","description":"Type of check used for the debit.","uniqueKey":"data.paymentMethod.eCheck.checkType.oneOf.0","typeLabel":"string"},{"type":"null","description":"Type of check used for the debit.","uniqueKey":"data.paymentMethod.eCheck.checkType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paymentMethod.eCheck.checkType","typeLabel":"string | null"}},"description":"eCheck (ACH) acceptance settings.","uniqueKey":"data.paymentMethod.eCheck","typeLabel":"object"},"cc":{"type":"object","properties":{"card":{"type":"object","properties":{"last4Digits":{"type":"string","description":"Last 4 digits of the card number.","uniqueKey":"data.paymentMethod.cc.card.last4Digits","typeLabel":"string"},"expirationYear":{"type":"string","description":"Two-digit expiration year.","uniqueKey":"data.paymentMethod.cc.card.expirationYear","typeLabel":"string"},"expirationMonth":{"type":"string","description":"Two-digit expiration month (01-12).","uniqueKey":"data.paymentMethod.cc.card.expirationMonth","typeLabel":"string"},"logo":{"type":"string","description":"Card brand logo identifier.","uniqueKey":"data.paymentMethod.cc.card.logo","typeLabel":"string"}},"description":"Card details.","uniqueKey":"data.paymentMethod.cc.card","typeLabel":"object"},"token":{"type":"string","description":"The token value.","uniqueKey":"data.paymentMethod.cc.token","typeLabel":"string"}},"description":"Card payment method details.","uniqueKey":"data.paymentMethod.cc","typeLabel":"object"}},"description":"Details of the payment method used.","uniqueKey":"data.paymentMethod","typeLabel":"object"},"ticketNumber":{"oneOf":[{"type":"string","description":"Ticket or order number associated with the transaction.","uniqueKey":"data.ticketNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Ticket or order number associated with the transaction.","uniqueKey":"data.ticketNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.ticketNumber","typeLabel":"string | null"},"balanceAmount":{"type":"number","description":"Remaining balance on the transaction after captures, refunds, and voids.","uniqueKey":"data.balanceAmount","typeLabel":"number"}},"description":"The response payload.","uniqueKey":"data","typeLabel":"object"},"success":{"type":"boolean","description":"Whether the request was processed successfully. Declines return HTTP 200 with `success: false`.","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Human-readable result message.","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable result code. See the Error Codes reference.","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"status":"\u003cstring>","transactionId":"\u003cstring>","operation":"\u003cstring>","subMerchantId":"\u003cstring>","amount":123,"customerId":"\u003cstring>","parentId":"\u003cstring>","txDate":"\u003cstring>","referenceNumber":"\u003cstring>","referenceId":"\u003cstring>","taxAmount":123,"description":"\u003cstring>","billing":{"address":"\u003cstring>","city":"\u003cstring>","zipCode":"\u003cstring>","state":"\u003cstring>","country":"\u003cstring>","name":"\u003cstring>"},"shipping":{},"paymentMethod":{"type":"\u003cstring>","eCheck":{"accountType":"\u003cstring>","routingNumber":"\u003cstring>","accountNumberLast4":"\u003cstring>","checkNumber":"\u003cstring>","checkType":"\u003cstring>"},"cc":{"card":{"last4Digits":"\u003cstring>","expirationYear":"\u003cstring>","expirationMonth":"\u003cstring>","logo":"\u003cstring>"},"token":"\u003cstring>"}},"ticketNumber":"\u003cstring>","balanceAmount":123},"success":true,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"12db511a-d162-4ba2-bf56-5cc6049fa788":{"basicAuth":{"type":"http","scheme":"basic","scopes":[],"schemeName":"basicAuth"}}},"servers":{"034172e6-e076-4763-904f-1dca8d9cd729":{"url":"https://sandbox-platform.jupico.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","scopes":[],"schemeName":"basicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"jupico","siteName":"Jupico","title":"Refund a card transaction - Jupico","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/card-transactions/refund-a-card-transaction.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=\"light\"}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=\"Returns funds to the customer\u0026#x27;s card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Jupico\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_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/jupico/gDU1_codmOnXopzN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Refund a card transaction - Jupico\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns funds to the customer\u0026#x27;s card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jupico\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jupico.mintlify.site/_mintlify/api/og/v2?division=Card+Transactions\u0026amp;title=Refund+a+card+transaction\u0026amp;description=Returns+funds+to+the+customer%27s+card+for+a+previously+settled+transaction.+Use+refunds+for+returns%2C+cancellations%2C+or+to+resolve+disputes.+For+unsettled+transac\u0026amp;theme=6d5f977131b976ac16fbf2c1\u0026amp;signature=17340c1f897fc50420574830bf8867144f29f21660bf9620361f6e0f987b23db\">\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=\"Refund a card transaction - Jupico\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns funds to the customer\u0026#x27;s card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jupico.mintlify.site/_mintlify/api/og/v2?division=Card+Transactions\u0026amp;title=Refund+a+card+transaction\u0026amp;description=Returns+funds+to+the+customer%27s+card+for+a+previously+settled+transaction.+Use+refunds+for+returns%2C+cancellations%2C+or+to+resolve+disputes.+For+unsettled+transac\u0026amp;theme=6d5f977131b976ac16fbf2c1\u0026amp;signature=17340c1f897fc50420574830bf8867144f29f21660bf9620361f6e0f987b23db\">\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/jupico/gDU1_codmOnXopzN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jupico\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#292929\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/card-transactions/refund-a-card-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jupico.com/#organization\",\"name\":\"Jupico\",\"url\":\"https://docs.jupico.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jupico/WF42wWm1iAwRSzCk/images/JupicoBlackLogo.png?fit=max\u0026auto=format\u0026n=WF42wWm1iAwRSzCk\u0026q=85\u0026s=dc9e36bca54fe697b1b99f6f0a8d93f0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jupico.com#website\",\"name\":\"Jupico\",\"url\":\"https://docs.jupico.com\",\"publisher\":{\"@id\":\"https://docs.jupico.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction#webpage\",\"url\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction\",\"name\":\"Refund a card transaction\",\"description\":\"Returns funds to the customer's card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.\",\"isPartOf\":{\"@id\":\"https://docs.jupico.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.jupico.com/api-reference/status/check-api-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Card Transactions\",\"item\":\"https://docs.jupico.com/api-reference/card-transactions/process-a-card-sale\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Refund a card transaction\",\"item\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction#apireference\",\"headline\":\"Refund a card transaction\",\"name\":\"Refund a card transaction\",\"description\":\"Returns funds to the customer's card for a previously settled transaction. Use refunds for returns, cancellations, or to resolve disputes. For unsettled transactions, use Void instead.\",\"url\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jupico.com/api-reference/card-transactions/refund-a-card-transaction#webpage\"},\"publisher\":{\"@id\":\"https://docs.jupico.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jupico.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Jupico\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Jupico\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/card-transactions/refund-a-card-transaction.md","siteName":"Jupico","nav":{"global":null,"tabs":[{"tab":"Product Guides","pages":[{"title":"Product Guides","href":"/docs/overview"}]},{"tab":"API Reference","groups":[{"group":"API Overview","pages":[{"title":"Jupico API Overview: Payments, Onboarding, and Payouts","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Jupico API authentication with HTTP Basic credentials","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Jupico Sandbox Environments and Test Data Reference","sidebarTitle":"Environments \u0026 Testing Data","href":"/api-reference/environments-testing-data"},{"title":"Jupico API Response Envelope and Payload Structure","sidebarTitle":"Responses","href":"/api-reference/responses"},{"title":"Jupico API HTTP Status Codes and Transaction States","sidebarTitle":"Status Codes","href":"/api-reference/status-codes"},{"title":"Handling Jupico Transaction Statuses and Next Steps","sidebarTitle":"Transaction Status Handling","href":"/api-reference/transaction-status-handling"},{"title":"Jupico API Error Handling: Retries and Idempotency","sidebarTitle":"Error Handling","href":"/api-reference/error-handling"},{"title":"Jupico API Error Codes: Causes and Remediation Steps","sidebarTitle":"Error Codes","href":"/api-reference/error-codes"},{"title":"Jupico API Timeout Handling: Safe Retries and Recovery","sidebarTitle":"Timeout Handling","href":"/api-reference/timeout-handling"},{"title":"Jupico Webhooks: Real-Time Payment Event Notifications","sidebarTitle":"Webhooks","href":"/api-reference/webhooks"},{"title":"API go-live checklist: sandbox to production","sidebarTitle":"Go-Live Checklist","href":"/api-reference/go-live-checklist"}]},{"group":"API Reference","pages":[{"group":"Status","pages":[{"title":"Check API status","deprecated":null,"version":null,"openapi":"/openapi.json get /status","href":"/api-reference/status/check-api-status"}]},{"group":"Onboarding Invites","pages":[{"title":"Create an invite","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites","href":"/api-reference/onboarding-invites/create-an-invite"},{"title":"Create and send an invite","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites/createandsend","href":"/api-reference/onboarding-invites/create-and-send-an-invite"},{"title":"Send an invite","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites/send","href":"/api-reference/onboarding-invites/send-an-invite"},{"title":"Create multiple invites","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites/createmany","href":"/api-reference/onboarding-invites/create-multiple-invites"},{"title":"Create an additional-MID invite","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites/addsubmerchant","href":"/api-reference/onboarding-invites/create-an-additional-mid-invite"},{"title":"Update an invite","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites/update","href":"/api-reference/onboarding-invites/update-an-invite"},{"title":"Cancel an invite","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/onboardinginvites/delete","href":"/api-reference/onboarding-invites/cancel-an-invite"}]},{"group":"Provisioning","pages":[{"title":"Create an applicant","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/provisioning/applicant","href":"/api-reference/provisioning/create-an-applicant"},{"title":"Create an application","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/provisioning/application","href":"/api-reference/provisioning/create-an-application"},{"title":"Update an application","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/provisioning/application/update","href":"/api-reference/provisioning/update-an-application"},{"title":"Create a submerchant","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/provisioning/submerchant","href":"/api-reference/provisioning/create-a-submerchant"},{"title":"Update a submerchant","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/provisioning/submerchant/update","href":"/api-reference/provisioning/update-a-submerchant"}]},{"group":"Session","pages":[{"title":"Create a browser session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sessions/browser/authorize","href":"/api-reference/session/create-a-browser-session"}]},{"group":"Tokenization","pages":[{"title":"Convert a one-time token","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/tokenization/converttopermanent","href":"/api-reference/tokenization/convert-a-one-time-token"},{"title":"Tokenize raw card data","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/tokenization/creditcard/raw","href":"/api-reference/tokenization/tokenize-raw-card-data"},{"title":"Tokenize raw bank account data","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/tokenization/bankaccount/raw","href":"/api-reference/tokenization/tokenize-raw-bank-account-data"}]},{"group":"Customer","pages":[{"title":"Create a customer","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/customers/","href":"/api-reference/customer/create-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/customers/update","href":"/api-reference/customer/update-a-customer"},{"title":"Delete a customer","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/customers/delete","href":"/api-reference/customer/delete-a-customer"}]},{"group":"Card Transactions","pages":[{"title":"Process a card sale","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/sale","href":"/api-reference/card-transactions/process-a-card-sale"},{"title":"Authorize a card","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/authorization","href":"/api-reference/card-transactions/authorize-a-card"},{"title":"Capture an authorization","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/capture","href":"/api-reference/card-transactions/capture-an-authorization"},{"title":"Void a card transaction","description":"Cancels a transaction that has not yet settled, so the customer is never charged. Once a transaction has settled, use **Refund** instead.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/void","href":"/api-reference/card-transactions/void-a-card-transaction"},{"title":"Refund a card transaction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/refund","href":"/api-reference/card-transactions/refund-a-card-transaction"},{"title":"Roll back a card transaction","description":"A rollback (communications/system reversal) cancels a transaction whose response you never received — for example, after a timeout. As the original requestor, you are responsible for generating a rollback for every transaction that does not receive a response, to prevent duplicate or inconsistent charges.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/creditcard/rollback","href":"/api-reference/card-transactions/roll-back-a-card-transaction"}]},{"group":"eCheck Transactions","pages":[{"title":"Process an eCheck sale","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/echeck/sale","href":"/api-reference/echeck-transactions/process-an-echeck-sale"},{"title":"Void an eCheck transaction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/echeck/void","href":"/api-reference/echeck-transactions/void-an-echeck-transaction"},{"title":"Refund an eCheck transaction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/echeck/refund","href":"/api-reference/echeck-transactions/refund-an-echeck-transaction"},{"title":"Roll back an eCheck transaction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/transactions/echeck/rollback","href":"/api-reference/echeck-transactions/roll-back-an-echeck-transaction"},{"title":"Tokenize a bank account","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/transactions/echeck/tokenize","href":"/api-reference/echeck-transactions/tokenize-a-bank-account"}]},{"group":"Checkouts","pages":[{"title":"Create a checkout session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkouts","href":"/api-reference/checkouts/create-a-checkout-session"},{"title":"Update a checkout session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkouts/update","href":"/api-reference/checkouts/update-a-checkout-session"},{"title":"Deactivate a checkout session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkouts/deactivate","href":"/api-reference/checkouts/deactivate-a-checkout-session"},{"title":"Delete a checkout session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/checkouts/delete","href":"/api-reference/checkouts/delete-a-checkout-session"}]},{"group":"Payment Links","pages":[{"title":"Create a payment link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/paymentlinks","href":"/api-reference/payment-links/create-a-payment-link"},{"title":"Update a payment link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/paymentlinks/update","href":"/api-reference/payment-links/update-a-payment-link"},{"title":"Deactivate a payment link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/paymentlinks/deactivate","href":"/api-reference/payment-links/deactivate-a-payment-link"},{"title":"Delete a payment link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/paymentlinks/delete","href":"/api-reference/payment-links/delete-a-payment-link"}]},{"group":"Invoices","pages":[{"title":"Create an invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invoices","href":"/api-reference/invoices/create-an-invoice"},{"title":"Send an invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invoices/send","href":"/api-reference/invoices/send-an-invoice"},{"title":"Update an invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invoices/update","href":"/api-reference/invoices/update-an-invoice"},{"title":"Void an invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invoices/void","href":"/api-reference/invoices/void-an-invoice"},{"title":"Delete an invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/invoices/delete","href":"/api-reference/invoices/delete-an-invoice"}]},{"group":"Subscriptions","pages":[{"title":"Create a plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/plan","href":"/api-reference/subscriptions/create-a-plan"},{"title":"Update a plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/plan/update","href":"/api-reference/subscriptions/update-a-plan"},{"title":"Activate a plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/plan/activate","href":"/api-reference/subscriptions/activate-a-plan"},{"title":"Deactivate a plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/plan/deactivate","href":"/api-reference/subscriptions/deactivate-a-plan"},{"title":"Delete a plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/plan/delete","href":"/api-reference/subscriptions/delete-a-plan"},{"title":"Create a subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions","href":"/api-reference/subscriptions/create-a-subscription"},{"title":"Update a subscription payment token","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/update/paymenttoken","href":"/api-reference/subscriptions/update-a-subscription-payment-token"},{"title":"Activate a subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/activate","href":"/api-reference/subscriptions/activate-a-subscription"},{"title":"Deactivate a subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/deactivate","href":"/api-reference/subscriptions/deactivate-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/subscriptions/delete","href":"/api-reference/subscriptions/delete-a-subscription"}]},{"group":"Installments","pages":[{"title":"Create an installment plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/installments","href":"/api-reference/installments/create-an-installment-plan"},{"title":"Activate an installment plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/installments/activate","href":"/api-reference/installments/activate-an-installment-plan"},{"title":"Deactivate an installment plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/installments/deactivate","href":"/api-reference/installments/deactivate-an-installment-plan"},{"title":"Update an installment payment token","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/installments/update/paymenttoken","href":"/api-reference/installments/update-an-installment-payment-token"},{"title":"Delete an installment plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/installments/delete","href":"/api-reference/installments/delete-an-installment-plan"}]},{"group":"Payouts","pages":[{"title":"Create a payout instruction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payouts/instruction","href":"/api-reference/payouts/create-a-payout-instruction"},{"title":"Create a card-balance payout","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payouts/creditcard/instruction","href":"/api-reference/payouts/create-a-card-balance-payout"},{"title":"Create an eCheck-balance payout","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payouts/echeck/instruction","href":"/api-reference/payouts/create-an-echeck-balance-payout"},{"title":"Void a payout instruction","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payouts/instruction/void","href":"/api-reference/payouts/void-a-payout-instruction"}]},{"group":"Query","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/transactions","href":"/api-reference/query/list-transactions"},{"title":"Get a transaction timeline","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/transactions/timeline","href":"/api-reference/query/get-a-transaction-timeline"},{"title":"Get a transaction receipt","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/transactions/receipt","href":"/api-reference/query/get-a-transaction-receipt"},{"title":"List fees","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/fees","href":"/api-reference/query/list-fees"},{"title":"List merchant bank accounts","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/merchants/bankaccounts","href":"/api-reference/query/list-merchant-bank-accounts"},{"title":"List merchant applications","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/merchants/applications","href":"/api-reference/query/list-merchant-applications"},{"title":"List onboarding invites","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/onboardinginvites","href":"/api-reference/query/list-onboarding-invites"},{"title":"List submerchant settlements","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/settlements/submerchant","href":"/api-reference/query/list-submerchant-settlements"},{"title":"List Service Provider settlements","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/settlements/service-provider","href":"/api-reference/query/list-service-provider-settlements"},{"title":"List payout instructions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/payouts/instructions","href":"/api-reference/query/list-payout-instructions"},{"title":"Check available balance","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/payouts/balance/available","href":"/api-reference/query/check-available-balance"},{"title":"Check available card balance","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/payouts/balance/creditcard/available","href":"/api-reference/query/check-available-card-balance"},{"title":"Check available eCheck balance","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/payouts/balanc/echeck/available","href":"/api-reference/query/check-available-echeck-balance"},{"title":"List disputes","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/disputes","href":"/api-reference/query/list-disputes"},{"title":"Get dispute history","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/disputes/chartslines","href":"/api-reference/query/get-dispute-history"},{"title":"List checkout sessions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/checkouts","href":"/api-reference/query/list-checkout-sessions"},{"title":"List payment links","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/paymentlinks","href":"/api-reference/query/list-payment-links"},{"title":"List invoices","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/invoices","href":"/api-reference/query/list-invoices"},{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/subscriptions","href":"/api-reference/query/list-subscriptions"},{"title":"List plans","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/subscriptions/plan","href":"/api-reference/query/list-plans"},{"title":"Get a plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/subscriptions/plan/{planId}","href":"/api-reference/query/get-a-plan"},{"title":"List installment plans","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/query/installments","href":"/api-reference/query/list-installment-plans"}]},{"group":"Currency Exchange API","pages":[{"title":"Get exchange rates","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/exchange-rates/rates","href":"/api-reference/currency-exchange-api/get-exchange-rates"},{"title":"Convert currency","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/exchange-rates/convert","href":"/api-reference/currency-exchange-api/convert-currency"},{"title":"Get supported currencies","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/exchange-rates/supported-currencies","href":"/api-reference/currency-exchange-api/get-supported-currencies"}]}]},{"group":"Resources","pages":[{"title":"Jupico Query API: Filtering, Sorting, and Pagination","sidebarTitle":"Query Capabilities","href":"/api-reference/query-capabilities"}]}]}]},"basePath":"","title":"Refund a card transaction - Jupico","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}