{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TagadaPay Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/tagadapay/dAEln3JcPtxwff8y/logo/tagadalogo.png?fit=max\u0026auto=format\u0026n=dAEln3JcPtxwff8y\u0026q=85\u0026s=4dc2eb4eff0b0ba948b28de0226b7c95","dark":"https://mintcdn.com/tagadapay/dAEln3JcPtxwff8y/logo/tagadalogo.png?fit=max\u0026auto=format\u0026n=dAEln3JcPtxwff8y\u0026q=85\u0026s=4dc2eb4eff0b0ba948b28de0226b7c95"},"favicon":"https://mintcdn.com/tagadapay/Ps9CiAHh3vY6Nvlu/favicon.svg?fit=max\u0026auto=format\u0026n=Ps9CiAHh3vY6Nvlu\u0026q=85\u0026s=efbc04eeaada7549e650570bcfc8ce6d","api":{"playground":{}},"navbar":{"links":[{"href":"https://help.tagada.io","label":"Help Center"},{"href":"https://feedback.tagada.io/roadmap","label":"Roadmap"},{"href":"https://feedback.tagada.io/changelog","label":"Changelog"},{"href":"mailto:api-support@tagadapay.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://crm.tagadapay.com"}},"footer":{"socials":{"website":"https://tagadapay.com","github":"https://github.com/tagadapay"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Help Center","icon":"book-open","href":"https://help.tagada.io"},{"anchor":"Roadmap","icon":"map","href":"https://feedback.tagada.io/roadmap"},{"anchor":"Changelog","icon":"list","href":"https://feedback.tagada.io/changelog"},{"anchor":"Dashboard","icon":"chart-line","href":"https://crm.tagadapay.com"},{"anchor":"Support","icon":"life-ring","href":"mailto:api-support@tagadapay.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tagadapay","hasAudioNarration":false,"actualSubdomain":"tagadapay","customDomains":["docs.tagada.io"],"gitSource":{"type":"gitlab","owner":"tagadapay","repo":"tagadapay-app","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"projectId":61148103,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae8c65ec4204e00dd5bde1f","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Commerce API (V2)","count":189},{"language":"default","tag":"Developer Tools","count":98},{"language":"default","tag":"Payments API (V3)","count":64},{"language":"default","tag":"plugins-v2","count":31},{"language":"default","tag":"portal","count":22},{"language":"default","tag":"Node SDK","count":18},{"language":"default","tag":"Headless SDK","count":14},{"language":"default","tag":"Tagada Rx","count":14},{"language":"default","tag":"Plugin SDK","count":12},{"language":"default","tag":"plugins","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"payments-api/reference/refunds/refund-a-payment","slug":"/payments-api/reference/refunds/refund-a-payment","pageMetadata":{"title":"Refund a payment","description":null,"deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/refunds","href":"/payments-api/reference/refunds/refund-a-payment","autogeneratedByOpenApi":true},"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 payment","description":null,"deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/refunds","href":"/payments-api/reference/refunds/refund-a-payment","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/tagadapay/81c11c0e163f81a7/utm-forward.js","/_mintlify/custom/tagadapay/d423b707fd32127b/x-pixel.js"],"openApiReferenceData":{"operation":{"operationId":"refunds.create","parameters":["949742ce-7e1b-44ee-be2f-fa1d2aa40446","b5d9feaf-073f-4429-a519-bc663c4b6e8b","01d3dc28-6255-48d8-b129-836be1f1f2d8"],"requestBody":"5dda5b26-86a6-4d43-a004-74c2dfaa6e0e","responses":{"200":"c52b80c8-c6a8-4c64-ba3c-891c58b61d05","400":"9ef7ac00-ae41-4dbe-be65-48bcd8f1fffd","401":"d73680c7-6002-4c37-abfd-62a692041d21","403":"ade20e0a-ba47-4f77-9f4a-ffacdfb4d47c","404":"e69ef4c5-d5cb-4184-80c7-f543fbb42939","409":"dbb34613-08d9-42ba-a7d5-669d3a8b09c9","429":"50d44f96-443e-49ab-84bc-2f61a407d45a","500":"1c856dfa-e78f-4fd3-803e-546422e7ace4","501":"2a66f361-55cc-4d9a-9236-96b74c8ea64e"},"security":["e6b5c30a-f089-46cc-9549-330aff5555aa"],"summary":"Refund a payment","tags":["refunds"],"x-scopes":["refunds:write"],"method":"post","type":"path","servers":["a5eaef5c-c324-446f-90b4-8c7e1cb8e21d"],"path":"/v1/refunds","baseUrlOptions":["https://api.tagada.io"],"title":"Refund a payment","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"949742ce-7e1b-44ee-be2f-fa1d2aa40446":{"in":"header","name":"payments-account","required":false,"schema":{"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"b5d9feaf-073f-4429-a519-bc663c4b6e8b":{"in":"header","name":"payments-version","required":false,"schema":{"enum":["2026-11-01"],"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"01d3dc28-6255-48d8-b129-836be1f1f2d8":{"in":"header","name":"idempotency-key","required":true,"schema":{"maxLength":255,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"payment":{"pattern":"^pay_[a-f0-9]{12}$","type":"string","isRequired":true,"uniqueKey":"payment","typeLabel":"string"},"amount":{"type":"number","uniqueKey":"amount","typeLabel":"number"},"metadata":{"additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"type":"object","uniqueKey":"metadata","typeLabel":"object"},"reason":{"default":"requested","enum":["requested","duplicate","fraudulent"],"type":"string","uniqueKey":"reason","typeLabel":"enum\u003cstring>"}},"required":["payment"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"payment":"\u003cstring>","amount":123,"metadata":{},"reason":"requested"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"c52b80c8-c6a8-4c64-ba3c-891c58b61d05":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"amount":{"type":"number","isRequired":true,"uniqueKey":"amount","typeLabel":"number"},"created_at":{"format":"date-time","type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"currency":{"enum":["AED","AFN","ALL","AMD","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VED","VES","VND","VUV","WST","XAD","XAF","XCD","XCG","XOF","XPF","YER","ZAR","ZMW","ZWG"],"type":"string","isRequired":true,"uniqueKey":"currency","typeLabel":"enum\u003cstring>"},"id":{"pattern":"^rfd_[0-9a-hjkmnp-tv-z]{26}$","type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"last_outcome":{"oneOf":[{"additionalProperties":false,"properties":{"advice_code":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.advice_code.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.advice_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_outcome.oneOf.0.advice_code","typeLabel":"string | null"},"bank_reached":{"type":"boolean","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.bank_reached","typeLabel":"boolean"},"category":{"type":"string","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.category","typeLabel":"string"},"raw_code":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.raw_code.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.raw_code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_outcome.oneOf.0.raw_code","typeLabel":"string | null"},"raw_message":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.raw_message.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.raw_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_outcome.oneOf.0.raw_message","typeLabel":"string | null"},"reason":{"type":"string","isRequired":true,"uniqueKey":"last_outcome.oneOf.0.reason","typeLabel":"string"}},"required":["category","reason","raw_code","raw_message","bank_reached","advice_code"],"type":"object","isRequired":true,"uniqueKey":"last_outcome.oneOf.0","typeLabel":"object"},{"additionalProperties":false,"properties":{"advice_code":{"oneOf":[{"type":"string"},{"type":"null"}]},"bank_reached":{"type":"boolean"},"category":{"type":"string"},"raw_code":{"oneOf":[{"type":"string"},{"type":"null"}]},"raw_message":{"oneOf":[{"type":"string"},{"type":"null"}]},"reason":{"type":"string"}},"required":["category","reason","raw_code","raw_message","bank_reached","advice_code"],"type":"null","isRequired":true,"uniqueKey":"last_outcome.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"last_outcome","typeLabel":"object | null"},"metadata":{"additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"type":"object","isRequired":true,"uniqueKey":"metadata","typeLabel":"object"},"object":{"enum":["refund"],"type":"string","isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"origin":{"enum":["api","processor"],"type":"string","isRequired":true,"uniqueKey":"origin","typeLabel":"enum\u003cstring>"},"payment":{"pattern":"^pay_[a-f0-9]{12}$","type":"string","isRequired":true,"uniqueKey":"payment","typeLabel":"string"},"processor_reference":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"processor_reference.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"processor_reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"processor_reference","typeLabel":"string | null"},"reason":{"enum":["requested","duplicate","fraudulent","compensation"],"type":"string","isRequired":true,"uniqueKey":"reason","typeLabel":"enum\u003cstring>"},"status":{"enum":["in_flight","pending","succeeded","failed","unknown"],"type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"required":["id","object","payment","amount","currency","status","reason","origin","processor_reference","last_outcome","created_at","metadata"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":123,"created_at":"2023-11-07T05:31:56Z","currency":"AED","id":"\u003cstring>","last_outcome":{"advice_code":"\u003cstring>","bank_reached":true,"category":"\u003cstring>","raw_code":"\u003cstring>","raw_message":"\u003cstring>","reason":"\u003cstring>"},"metadata":{},"object":"refund","origin":"api","payment":"\u003cstring>","processor_reference":"\u003cstring>","reason":"requested","status":"in_flight"}}},"exampleType":"generated"}},"description":"Refund.","exampleType":"generated"},"9ef7ac00-ae41-4dbe-be65-48bcd8f1fffd":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"parameter_invalid, parameter_missing, amount_out_of_range, amount_exceeds_refundable, refund_not_supported","exampleType":"generated"},"d73680c7-6002-4c37-abfd-62a692041d21":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"authentication_required","exampleType":"generated"},"ade20e0a-ba47-4f77-9f4a-ffacdfb4d47c":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"permission_denied","exampleType":"generated"},"e69ef4c5-d5cb-4184-80c7-f543fbb42939":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"resource_not_found","exampleType":"generated"},"dbb34613-08d9-42ba-a7d5-669d3a8b09c9":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"idempotency_key_reused, idempotency_key_in_progress, payment_not_refundable, dispute_open","exampleType":"generated"},"50d44f96-443e-49ab-84bc-2f61a407d45a":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"rate_limited","exampleType":"generated"},"1c856dfa-e78f-4fd3-803e-546422e7ace4":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"internal_error","exampleType":"generated"},"2a66f361-55cc-4d9a-9236-96b74c8ea64e":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"type":"string","x-extensible-enum":["amount_exceeds_refundable","amount_out_of_range","authentication_required","dispute_open","idempotency_key_in_progress","idempotency_key_reused","internal_error","not_implemented","parameter_invalid","parameter_missing","payment_not_refundable","permission_denied","rate_limited","refund_not_supported","resource_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.param","typeLabel":"string | null"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"type":{"enum":["invalid_request_error","authentication_error","permission_error","conflict_error","rate_limit_error","api_error","unavailable_error"],"type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"details":{"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"type":"object","uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","param","request_id"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"amount_exceeds_refundable","message":"\u003cstring>","param":"\u003cstring>","request_id":"\u003cstring>","type":"invalid_request_error","details":{}}}}},"exampleType":"generated"}},"description":"not_implemented","exampleType":"generated"}},"security":{"e6b5c30a-f089-46cc-9549-330aff5555aa":{"bearerAuth":{"description":"Secret, platform or publishable API key. Platform keys require Payments-Account.","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"a5eaef5c-c324-446f-90b4-8c7e1cb8e21d":{"url":"https://api.tagada.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Secret, platform or publishable API key. Platform keys require Payments-Account.","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Secret, platform or publishable API key. Platform keys require Payments-Account.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"payments-api/openapi.json"},"subdomain":"tagadapay","siteName":"TagadaPay Documentation","title":"Refund a payment - TagadaPay Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T17:20:49.909Z","originalFileLocation":"payments-api/reference/refunds/refund-a-payment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"TagadaPay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_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/tagadapay/0wRzSlWnlFmgp7vD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Refund a payment - TagadaPay Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TagadaPay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tagadapay.mintlify.site/_mintlify/api/og/v2?division=Refunds\u0026amp;title=Refund+a+payment\u0026amp;theme=ccdab24e135c4d290a86d3ab\u0026amp;signature=e5c61371ad6029f04fe058120a2964873fc0eae3b34b448f0b056f4dbb77e461\">\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 payment - TagadaPay Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tagadapay.mintlify.site/_mintlify/api/og/v2?division=Refunds\u0026amp;title=Refund+a+payment\u0026amp;theme=ccdab24e135c4d290a86d3ab\u0026amp;signature=e5c61371ad6029f04fe058120a2964873fc0eae3b34b448f0b056f4dbb77e461\">\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/tagadapay/0wRzSlWnlFmgp7vD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TagadaPay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/payments-api/reference/refunds/refund-a-payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tagada.io/#organization\",\"name\":\"TagadaPay Documentation\",\"url\":\"https://docs.tagada.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tagadapay/dAEln3JcPtxwff8y/logo/tagadalogo.png?fit=max\u0026auto=format\u0026n=dAEln3JcPtxwff8y\u0026q=85\u0026s=4dc2eb4eff0b0ba948b28de0226b7c95\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tagada.io#website\",\"name\":\"TagadaPay Documentation\",\"url\":\"https://docs.tagada.io\",\"publisher\":{\"@id\":\"https://docs.tagada.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment#webpage\",\"url\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment\",\"name\":\"Refund a payment\",\"dateModified\":\"2026-11-02T17:20:49.909Z\",\"isPartOf\":{\"@id\":\"https://docs.tagada.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TagadaPay Documentation\",\"item\":\"https://docs.tagada.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Refund a payment\",\"item\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment#apireference\",\"headline\":\"Refund a payment\",\"name\":\"Refund a payment\",\"url\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tagada.io/payments-api/reference/refunds/refund-a-payment#webpage\"},\"dateModified\":\"2026-11-02T17:20:49.909Z\",\"publisher\":{\"@id\":\"https://docs.tagada.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tagada.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TagadaPay Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TagadaPay Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/payments-api/reference/refunds/refund-a-payment.md","siteName":"TagadaPay Documentation","nav":{"global":{"anchors":[{"anchor":"Help Center","icon":"book-open","href":"https://help.tagada.io"},{"anchor":"Roadmap","icon":"map","href":"https://feedback.tagada.io/roadmap"},{"anchor":"Changelog","icon":"list","href":"https://feedback.tagada.io/changelog"},{"anchor":"Dashboard","icon":"chart-line","href":"https://crm.tagadapay.com"},{"anchor":"Support","icon":"life-ring","href":"mailto:api-support@tagadapay.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Developer Tools","pages":[{"title":"Developer Tools","href":"/developer-tools"}]},{"tab":"Partners","hidden":true,"pages":[{"title":"Partners","href":"/developer-tools/partners/introduction"}]},{"tab":"Tagada Rx","pages":[{"title":"Tagada Rx","href":"/developer-tools/rx/introduction"}]},{"tab":"Payments API (V3)","groups":[{"group":"Get started","pages":[{"title":"Payments API overview","sidebarTitle":"Overview","icon":"bolt","tag":"Preview","href":"/payments-api/overview"},{"title":"V2 or V3: which one should I use?","sidebarTitle":"V2 or V3?","icon":"code-compare","href":"/payments-api/v2-or-v3"},{"title":"Migrate from V2 to the Payments API","sidebarTitle":"Migrate from V2","icon":"route","tag":"Preview","href":"/payments-api/migrate-from-v2"}]},{"group":"Core concepts","pages":[{"title":"Authentication and keys","sidebarTitle":"Authentication","icon":"key","tag":"Preview","href":"/payments-api/authentication"},{"title":"API versions","sidebarTitle":"Versioning","icon":"code-branch","tag":"Preview","href":"/payments-api/versioning"},{"title":"Idempotent requests","sidebarTitle":"Idempotency","icon":"repeat","tag":"Preview","href":"/payments-api/idempotency"},{"title":"Errors","icon":"triangle-exclamation","tag":"Preview","href":"/payments-api/errors"},{"title":"Payment lifecycle","icon":"arrows-spin","tag":"Preview","href":"/payments-api/payment-lifecycle"},{"title":"3D Secure","icon":"shield-check","tag":"Preview","href":"/payments-api/three-d-secure"},{"title":"Webhooks","icon":"webhook","tag":"Coming soon","href":"/payments-api/webhooks"}]},{"group":"Guides","pages":[{"title":"Accept a payment in the browser","sidebarTitle":"Browser client","icon":"window-maximize","tag":"Preview","href":"/payments-api/browser-client"}]},{"group":"API reference","pages":[{"title":"Payments API reference","sidebarTitle":"Introduction","icon":"book","tag":"Preview","href":"/payments-api/reference/introduction"}]},{"group":"Payments","pages":[{"title":"Create a payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payments","href":"/payments-api/reference/payments/create-a-payment"},{"title":"Retrieve a payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payments/{id}","href":"/payments-api/reference/payments/retrieve-a-payment"},{"title":"List payments","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payments","href":"/payments-api/reference/payments/list-payments"},{"title":"Confirm a payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payments/{id}/confirm","href":"/payments-api/reference/payments/confirm-a-payment"},{"title":"Capture an authorized payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payments/{id}/capture","href":"/payments-api/reference/payments/capture-an-authorized-payment"},{"title":"Cancel a payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payments/{id}/cancel","href":"/payments-api/reference/payments/cancel-a-payment"},{"title":"Retry a failed customer payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payments/{id}/retry","href":"/payments-api/reference/payments/retry-a-failed-customer-payment"},{"title":"Report a finished 3DS step","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payments/{id}/authentication","href":"/payments-api/reference/payments/report-a-finished-3ds-step"},{"title":"Read payment timeline","description":null,"deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payments/{id}/timeline","href":"/payments-api/reference/payments/read-payment-timeline"}]},{"group":"Refunds","pages":[{"title":"Refund a payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/refunds","href":"/payments-api/reference/refunds/refund-a-payment"},{"title":"Retrieve a refund","description":null,"deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/refunds/{id}","href":"/payments-api/reference/refunds/retrieve-a-refund"},{"title":"List refunds","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/refunds","href":"/payments-api/reference/refunds/list-refunds"}]},{"group":"Disputes","pages":[{"title":"Retrieve a dispute on a payment","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/disputes/{id}","href":"/payments-api/reference/disputes/retrieve-a-dispute-on-a-payment"},{"title":"List disputes on payments","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/disputes","href":"/payments-api/reference/disputes/list-disputes-on-payments"}]},{"group":"Customers","pages":[{"title":"Create a customer of a store","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/customers","href":"/payments-api/reference/customers/create-a-customer-of-a-store"},{"title":"Retrieve a customer","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/customers/{id}","href":"/payments-api/reference/customers/retrieve-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json patch /v1/customers/{id}","href":"/payments-api/reference/customers/update-a-customer"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/customers","href":"/payments-api/reference/customers/list-customers"}]},{"group":"Payment methods","pages":[{"title":"Create a payment method from a vault token","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-methods","href":"/payments-api/reference/payment_methods/create-a-payment-method-from-a-vault-token"},{"title":"Retrieve a payment method","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payment-methods/{id}","href":"/payments-api/reference/payment_methods/retrieve-a-payment-method"},{"title":"List a customer's payment methods","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payment-methods","href":"/payments-api/reference/payment_methods/list-a-customers-payment-methods"},{"title":"Detach a payment method","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-methods/{id}/detach","href":"/payments-api/reference/payment_methods/detach-a-payment-method"}]},{"group":"Renewal cycles","pages":[{"title":"Create a renewal cycle","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/renewal-cycles","href":"/payments-api/reference/renewal_cycles/create-a-renewal-cycle"},{"title":"Retrieve a renewal cycle","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/renewal-cycles/{id}","href":"/payments-api/reference/renewal_cycles/retrieve-a-renewal-cycle"},{"title":"List renewal cycles","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/renewal-cycles","href":"/payments-api/reference/renewal_cycles/list-renewal-cycles"},{"title":"Ask for a try now","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/renewal-cycles/{id}/try-now","href":"/payments-api/reference/renewal_cycles/ask-for-a-try-now"},{"title":"Replace the card of an open renewal cycle","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/renewal-cycles/{id}/payment-method","href":"/payments-api/reference/renewal_cycles/replace-the-card-of-an-open-renewal-cycle"},{"title":"Confirm the cardholder notice was sent","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/renewal-cycles/{id}/notice-sent","href":"/payments-api/reference/renewal_cycles/confirm-the-cardholder-notice-was-sent"},{"title":"Cancel a renewal cycle","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/renewal-cycles/{id}/cancel","href":"/payments-api/reference/renewal_cycles/cancel-a-renewal-cycle"}]},{"group":"Browser","pages":[{"title":"Get a store's publishable key, made on the first call","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/publishable-keys","href":"/payments-api/reference/publishable-keys/get-a-stores-publishable-key-made-on-the-first-call"},{"title":"Read the browser SDK configuration","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/client-config","href":"/payments-api/reference/eligibility/read-the-browser-sdk-configuration"},{"title":"List the payment methods to show","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/eligible-methods","href":"/payments-api/reference/eligibility/list-the-payment-methods-to-show"}]},{"group":"Payment policies","pages":[{"title":"Create a payment policy draft","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-policies","href":"/payments-api/reference/policies/create-a-payment-policy-draft"},{"title":"Retrieve a payment policy","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payment-policies/{id}","href":"/payments-api/reference/policies/retrieve-a-payment-policy"},{"title":"Replace a payment policy draft","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json patch /v1/payment-policies/{id}","href":"/payments-api/reference/policies/replace-a-payment-policy-draft"},{"title":"List payment policies","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payment-policies","href":"/payments-api/reference/policies/list-payment-policies"},{"title":"Publish a payment policy version","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-policies/{id}/publish","href":"/payments-api/reference/policies/publish-a-payment-policy-version"},{"title":"Assign a policy to a checkout or store default","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-policies/{id}/assign","href":"/payments-api/reference/policies/assign-a-policy-to-a-checkout-or-store-default"},{"title":"List the published versions of a payment policy","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/payment-policies/{id}/versions","href":"/payments-api/reference/policies/list-the-published-versions-of-a-payment-policy"},{"title":"Build policy drafts from a store's V2 payment flows","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-policies/import-v2","href":"/payments-api/reference/policies/build-policy-drafts-from-a-stores-v2-payment-flows"},{"title":"Publish a saved V2 flow import after reading its losses","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/payment-policies/import-v2/{id}/publish","href":"/payments-api/reference/policies/publish-a-saved-v2-flow-import-after-reading-its-losses"},{"title":"Retrieve the policy facts","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/policy-facts","href":"/payments-api/reference/policies/retrieve-the-policy-facts"}]},{"group":"Processors","pages":[{"title":"List processors","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/processors","href":"/payments-api/reference/processors/list-processors"},{"title":"Retrieve a processor","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/processors/{id}","href":"/payments-api/reference/processors/retrieve-a-processor"},{"title":"Refresh a processor profile","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/processors/{id}/sync","href":"/payments-api/reference/processors/refresh-a-processor-profile"},{"title":"Resume a processor","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/processors/{id}/resume","href":"/payments-api/reference/processors/resume-a-processor"},{"title":"Request a payment method","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/processors/{id}/method-requests","href":"/payments-api/reference/processors/request-a-payment-method"}]},{"group":"Block list","pages":[{"title":"Block an email, IP address or range, card or card range","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/block-list","href":"/payments-api/reference/block_list/block-an-email-ip-address-or-range-card-or-card-range"},{"title":"List block list entries","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json get /v1/block-list","href":"/payments-api/reference/block_list/list-block-list-entries"},{"title":"Lift a block","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/block-list/{id}/lift","href":"/payments-api/reference/block_list/lift-a-block"}]},{"group":"Test helpers","pages":[{"title":"Create a frozen test clock","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/test-helpers/clocks","href":"/payments-api/reference/test_helpers/create-a-frozen-test-clock"},{"title":"Advance a test clock","deprecated":null,"version":null,"openapi":"/payments-api/openapi.json post /v1/test-helpers/clocks/{id}/advance","href":"/payments-api/reference/test_helpers/advance-a-test-clock"}]}]},{"tab":"Commerce API (V2)","pages":[{"title":"Commerce API (V2)","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Refund a payment - TagadaPay Documentation","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}