This API endpoint can only be used for payment requests initially created via the /payments/v1/requests endpoint. For payment requests created via the portal, see Create a manual refund.The payment request must have the Paid status.For every error this endpoint returns and what it means, see API errors: Create a refund.
The amount to refund, in the payment request currency.
The amount must be not smaller than the refund fee plus the minimum withdrawal amount and not greater than the paid amount. If you have made a partial refund for this payment earlier, the maximum amount of a new refund is reduced accordingly.
Example:
"100"
foreign_id
string
required
Unique ID of the refund in your system. Must not contain personal data, such as the customer's name or email address.
Maximum string length: 255
Example:
"refund_123"
reason
string
A short description of why the payment is refunded. The customer will see the reason in the email they receive.
Blockchain network name. Present for cryptocurrencies.
Example:
"ethereum"
data.end_user_email
string
required
The end_user_email from the payment request.
Example:
"chris.customer@example.com"
data.reason
string
The reason from the request. Omitted if the request didn't include one.
Example:
"Refund for order 0511"
Last modified on November 25, 2026
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"CryptoProcessing","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/cr-usa/swhs7ECc4CmEJTlY/logo/secondary%20logo%20black.svg?fit=max\u0026auto=format\u0026n=swhs7ECc4CmEJTlY\u0026q=85\u0026s=2355f31f6b8ec42d41c51320bc0e3c1c","dark":"https://mintcdn.com/cr-usa/swhs7ECc4CmEJTlY/logo/secondary%20logo%20white.svg?fit=max\u0026auto=format\u0026n=swhs7ECc4CmEJTlY\u0026q=85\u0026s=2985a572e0041c9a0b9abc8e2add36c8"},"favicon":"https://mintcdn.com/cr-usa/4QUszmCaSNl8KzJt/favicon.png?fit=max\u0026auto=format\u0026n=4QUszmCaSNl8KzJt\u0026q=85\u0026s=097783966aa830db8f52f2b18af8a6d3","api":{"params":{"expanded":"all"},"playground":{"display":"simple"}},"navbar":{"links":[{"href":"/contact-support","label":"Support"}],"primary":{"type":"button","label":"Portal","href":"https://app.cryptoprocessing.us"}},"footer":{"socials":{"x":"https://x.com/processing_com","linkedin":"https://www.linkedin.com/company/cryptoprocessing","instagram":"https://www.instagram.com/cryptoprocessing","youtube":"https://www.youtube.com/@CryptoProcessing_by_CoinsPaid"}},"seo":{"metatags":{"google-site-verification":"mIpYxOlkx0LZDsTxDvlSPglwsvStyTl9SUsdQ52bjBA"}},"fonts":{"family":"Funnel Sans"},"errors":{"404":{"redirect":false,"title":"This page has a new home","description":"The page you’re looking for may have moved. Try one of the suggested pages below."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"variables":{"PRODUCT":"CryptoProcessing","PRODUCT_FULL":"CryptoProcessing by Coinspaid","SUPPORT":"support@cryptoprocessing.us","SALES":"sales@cryptoprocessing.us","ACCOUNT_MANAGER":"accounts@cryptoprocessing.us","HOST":"app.cryptoprocessing.us","HOST_PAYMENTS":"payments.cryptoprocessing.us","KYC":"true","FIAT":"USD","FIAT_OR":"USD","API_FIAT":"USD","CURRENCIES_THAT_SUPPORT_INSTANT_CONFIRMATIONS":"BTC and BCH","CURRENCIES_THAT_SUPPORT_INSTANT_WITHDRAWALS":"Bitcoin, Bitcoin Cash, and Litecoin","REGULATIONS":"local regulations","COUNTRY_OF_REGISTRATION":"USA"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cr-usa","hasAudioNarration":false,"actualSubdomain":"cr-usa","customDomains":["docs.cryptoprocessing.us"],"gitSource":{"type":"github","owner":"c-docs","repo":"docs","deployBranch":"main","contentDirectory":"C21","isPrivate":true,"mountPath":"","label":"","_id":"6adb634ac631569183d6ac16"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b06e72b443fbadf169ef2fc","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"Docs","count":72},{"language":"default","tag":"API reference","count":33},{"language":"default","tag":"Payment requests","count":18},{"language":"default","tag":"Merchant account setup","count":16},{"language":"default","tag":"Withdrawals","count":14},{"language":"default","tag":"Deposits","count":13},{"language":"default","tag":"Integration","count":12},{"language":"default","tag":"Exchanges","count":7},{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Fees, statuses, and other details","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@cryptoprocessing.us"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"site-roles","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":"sso-setup-deadline-banner","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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"css/ai-disclaimer.css","content":".chat-assistant-disclaimer-text{visibility:hidden;position:relative}.chat-assistant-disclaimer-text::after{content:\"This is an AI assistant, not a live support agent. Answers are generated from our documentation and may contain mistakes — if you have further questions, contact support.\";visibility:visible;position:absolute;top:0;left:0;width:100%}"},{"filePath":"css/navigation.css","content":".sidebar-group-header .sidebar-title{text-transform:uppercase}"},{"filePath":"css/tabs.css","content":"ul[role=\"tablist\"]{flex-wrap:wrap}"},{"filePath":"css/cards.css","content":"div.card div:has(>svg:only-child):not([data-component-part=\"card-icon\"]){display:none}"},{"filePath":"css/main-page.css","content":"#content[data-page-href=\"/index\"],#content[data-page-href=\"/src/_props/index\"]{.tabs {\n ul[role='tablist'] {\n border: none;\n column-gap: .5em;\n flex-wrap: nowrap;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n scroll-snap-type: x proximity;\n \n li {\n margin: 0;\n padding: 0;\n flex: none;\n scroll-snap-align: start;\n }\n \n li div {\n height: 2.6em;\n border-radius: 1.3em;\n padding: 0 1em;\n \n background: #8888881a;\n border: 1px solid #88888840;\n\n svg {\n background: rgb(var(--primary));\n }\n \n \u0026:hover {\n background: #88888833;\n }\n \n \u0026[data-active='true'] {\n background-color: rgb(var(--primary));\n color: white;\n\n svg {\n background-color: white;\n }\n }\n }\n }\n \n div[role='tabpanel']:not(.hidden) {\n display: flex;\n flex-direction: row;\n column-gap: 2em;\n \n @media (max-width: 50em) {\n flex-direction: column;\n row-gap: 3em;\n }\n \n \u0026 > div:nth-child(1) {\n flex: 2;\n \n .steps {\n margin: 0;\n \n .step p {\n margin-bottom: 0;\n }\n }\n }\n \n \u0026 > div:nth-child(2) {\n flex: 3;\n }\n }\n }}"},{"filePath":"css/currency-icons.css","content":"#content[data-page-href$=\"/supported-currencies\"] table,#content[data-page-href$=\"/confirmations-and-limits\"] table,#content[data-page-href$=\"/supported-trading-pairs\"] table{thead {\n border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);\n }\n\n tbody tr {\n border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent);\n }\n\n th, td {\n padding: 0.5rem 0.5rem 0.5rem 0;\n vertical-align: baseline;\n }\n\n th {\n padding-top: 0;\n text-align: left;\n }\n\n td {\n min-width: 0;\n line-height: 1.5em;\n }\n\n /* An icon next to an ISO code */\n img {\n display: inline-block;\n width: 1.3em;\n height: 1.3em;\n margin: 0 0.3em 0 0;\n border-radius: 50%;\n pointer-events: none;\n\n /* A faint circle shows in the icon's place until it loads */\n background: color-mix(in srgb, currentColor 10%, transparent);\n }\n\n /* First column: bigger icons and bold ISO codes */\n td:first-child {\n font-weight: bold;\n\n img {\n width: 1.7em;\n height: 1.7em;\n margin-right: 0.7em;\n }\n\n /* A network after the ISO code */\n strong {\n margin-left: 0.5em;\n }\n }\n\n /* Other columns: an icon and an ISO code are wrapped in a span */\n td:not(:first-child) > span,\n td:not(:first-child) > div > span {\n display: inline-block;\n white-space: nowrap;\n margin-right: 1em;\n }\n\n /* A network */\n b, strong {\n padding: .1em .4em;\n margin: .2em .2em .2em 0;\n font-weight: normal;\n border-radius: .3em;\n white-space: nowrap;\n display: inline-block;\n\n background: #F5F5F4;\n color: #57534E;\n\n span + \u0026 {\n margin-left: -0.5em;\n }\n\n .dark \u0026 {\n background: #44403C;\n color: #A8A29E;\n }\n }\n\n /* Compensate for the space characters between networks (Markdown only) */\n strong {\n margin-block: 0.15em;\n margin-right: -0.05em;\n }}#content[data-page-href$=\"/supported-currencies\"] table{th:not(:last-child) {\n width: 10rem;\n }}#content[data-page-href$=\"/confirmations-and-limits\"] table{th:first-child {\n width: 16rem;\n }}#content[data-page-href$=\"/supported-trading-pairs\"] table{th:not(:first-child) {\n width: 50%;\n }\n\n /* “Convert from”: the network always goes on its own line */\n td:nth-child(1) {\n b {\n display: block;\n width: fit-content;\n margin-left: 2.3em;\n }\n }\n\n /* “Convert to crypto\": every line has the same height, with enough room for the networks */\n td:nth-child(2) {\n line-height: 2em;\n\n b {\n line-height: 1.5em;\n margin-block: 0;\n }\n\n /* A line (a currency and its networks) that wraps is indented under the code */\n div {\n padding-inline-start: 1.6em;\n text-indent: -1.6em;\n \n span, b {\n text-indent: initial;\n }\n }\n }\n\n /* “Convert to fiat”: flags in a grid, as many columns as fit */\n td:nth-child(3) {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(5em, 1fr));\n row-gap: 0.4em;\n\n span {\n margin-inline-end: 0;\n }\n }\n\n /* Phone layout: below 640px each row becomes a card with the currency on top, then crypto, then fiat */\n @media (max-width: 640px) {\n thead {\n display: none;\n }\n\n tbody, tr, td {\n display: block;\n }\n\n tr {\n padding-block: 0.5rem;\n }\n\n td {\n padding-inline: 0;\n }\n\n /* The card header: a larger font and more space above it */\n td:first-child {\n font-size: 1rem;\n padding-top: 1.25rem;\n\n /* The network goes next to the code, not on a new line */\n b {\n display: inline-block;\n margin-left: 0.5em;\n }\n }\n\n /* Section labels instead of the column headers; the text is set per column below */\n td:not(:first-child)::before {\n display: block;\n grid-column: 1 / -1;\n margin-block: 0.25rem;\n font-size: 0.75rem;\n color: color-mix(in srgb, currentColor 55%, transparent);\n text-transform: uppercase;\n }\n\n td:nth-child(2)::before {\n content: 'Convert to crypto';\n }\n\n td:nth-child(3)::before {\n content: 'Convert to fiat';\n }\n }}"},{"filePath":"css/migrating.css","content":"#content[data-page-href$=\"/payment-requests/migration-guide\"]{table {\n display: table;\n table-layout: fixed;\n width: 100%;\n\n :is(th, td):nth-child(2) {\n width: 2rem;\n text-align: center;\n }\n }\n\n .columns {\n gap: .5rem;\n\n .code-block {\n display: grid;\n grid-template-rows: auto 1fr;\n margin: 0;\n --code-padding-right: 0;\n\n [data-component-part='scroll-area-viewport'] {\n padding-right: 0;\n }\n\n code {\n white-space: pre-wrap;\n width: auto;\n }\n\n \u0026:first-child {\n opacity: .7;\n \n [data-component-part=\"code-block-header\"] button {\n visibility: hidden;\n }\n }\n }\n }}"},{"filePath":"css/method-pills.css","content":"a[href*=\"/api-reference/callbacks/\"] .method-nav-pill>span{background-color:rgb(250 204 21 / 0.2);color:#a16207}.dark a[href*=\"/api-reference/callbacks/\"] .method-nav-pill>span{background-color:rgb(250 204 21 / 0.2);color:#facc15}a[href*=\"/api-reference/callbacks/\"][aria-current=\"page\"] .method-nav-pill>span,.dark a[href*=\"/api-reference/callbacks/\"][aria-current=\"page\"] .method-nav-pill>span{background-color:#c28c30;color:#ffffff}"},{"filePath":"css/cell-details.css","content":"#content td small{font-size:inherit;opacity:0.65}#content td:has(>small){white-space:nowrap}"}]}
{"page":{"pagePath":"api-reference/endpoints/refunds","slug":"/api-reference/endpoints/refunds","pageMetadata":{"title":"Create a refund","openapi":"POST /payments/v1/{payment_request_id}/refunds","description":"Create a [manual refund](/payment-requests/refunds).","href":"/api-reference/endpoints/refunds"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create a \", _jsx(_components.a, {\n href: \"/payment-requests/refunds\",\n children: \"manual refund\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const Paid=()=>{const{Badge}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);return _jsx(Badge,{stroke:true,shape:`rounded`,color:`green`,children:`Paid`})};function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{_MdxComponentBoundary}=_components;if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This API endpoint can only be used for payment requests initially created via the `,_jsx(_components.a,{href:`/api-reference/endpoints/payments`,children:`/payments/v1/requests`}),` endpoint. For payment requests created via the portal, see `,_jsx(_components.a,{href:`/payment-requests/create-a-manual-refund`,children:`Create a manual refund`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The payment request must have the `,_jsx(_MdxComponentBoundary,{name:`Paid`,children:_jsx(Paid,{})}),` status.`]}),`\n`,_jsxs(_components.p,{children:[`For every error this endpoint returns and what it means, see `,_jsx(_components.a,{href:`/api-reference/errors#create-a-refund`,children:`API errors: Create a refund`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Paid,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a refund","openapi":"POST /payments/v1/{payment_request_id}/refunds","description":"Create a [manual refund](/payment-requests/refunds).","href":"/api-reference/endpoints/refunds"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cr-usa/2fc5915a2ee56d94/js/currency-pair-lookup.js"],"openApiReferenceData":{"operation":{"parameters":["2c8ae138-756c-47df-ac07-9a3f416b0f0f","d144bd97-99c9-415d-a4bd-05cc8bf48c22"],"summary":"Create a refund","description":"Create a [manual refund](/payment-requests/refunds).","tags":["Payment requests"],"operationId":"post-payments-refunds","requestBody":"927cff1c-566c-4bf9-9bf5-1eec24bc40af","responses":{"200":"8bd9d379-c060-4633-9ac7-25e9566469a1","400":"c6d82f51-09ff-41d1-aa14-d5535e00a1ad","403":"234a346b-a2f0-43cb-89b5-5ff94b8da025","404":"897e1a55-89c5-4a6f-8ced-643b7999d714","422":"76244bc5-d60a-464f-88dc-ee2144285bf6"},"method":"post","type":"path","servers":["98944326-5f98-4b0d-97ec-f539c4616675"],"security":["7f9c6d25-7701-4c7c-b112-655d3d7c9687"],"path":"/payments/v1/{payment_request_id}/refunds","baseUrlOptions":["https://app.cryptoprocessing.us/api"],"title":"Create a refund","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2c8ae138-756c-47df-ac07-9a3f416b0f0f":{"name":"X-Processing-Signature","in":"header","required":true,"description":"Hex-encoded HMAC-SHA512 signature of the request body, [generated using your secret key](/api-reference/authentication).","schema":{"type":"string","isRequired":true,"description":"Hex-encoded HMAC-SHA512 signature of the request body, [generated using your secret key](/api-reference/authentication).","uniqueKey":"","typeLabel":"string"}},"d144bd97-99c9-415d-a4bd-05cc8bf48c22":{"name":"payment_request_id","in":"path","required":true,"description":"The [id](/api-reference/endpoints/payments#response-data-id) of the payment request.","schema":{"type":"string","example":"019d511c-9fd2-7e71-b534-74e8abd855f1","isRequired":true,"description":"The [id](/api-reference/endpoints/payments#response-data-id) of the payment request.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","foreign_id"],"properties":{"amount":{"type":"string","description":"The amount to refund, in the payment request currency.\n\nThe amount must be not smaller than the [refund fee](/payment-requests/fees) plus the [minimum withdrawal amount](/confirmations-and-limits) and not greater than the paid amount. If you have made a partial refund for this payment earlier, the maximum amount of a new refund is reduced accordingly.\n","example":"100","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"foreign_id":{"type":"string","maxLength":255,"description":"Unique ID of the refund in your system. Must not contain personal data, such as the customer's name or email address.","example":"refund_123","isRequired":true,"uniqueKey":"foreign_id","typeLabel":"string"},"reason":{"type":"string","maxLength":255,"description":"A short description of why the payment is refunded. The customer will see the reason in the email they receive.","example":"Refund for order 0511","uniqueKey":"reason","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Refund with a reason":{"title":"Refund with a reason","value":{"amount":"100","reason":"Refund for order 0511","foreign_id":"refund_123"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"8bd9d379-c060-4633-9ac7-25e9566469a1":{"description":"**OK**","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["id","status","payment_request_id","foreign_id","amount","currency","refund_currency","end_user_email"],"properties":{"id":{"type":"string","description":"The refund ID.","example":"019d5a2e-6c4b-7f13-9a85-3d7e1b20c4f8","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"status":{"type":"string","description":"The refund status. Always `draft` for a new refund.","const":"draft","isRequired":true,"uniqueKey":"data.status","typeLabel":"string"},"payment_request_id":{"type":"string","description":"The [id](/api-reference/endpoints/payments#response-data-id) of the payment request.","example":"019d511c-9fd2-7e71-b534-74e8abd855f1","isRequired":true,"uniqueKey":"data.payment_request_id","typeLabel":"string"},"foreign_id":{"type":"string","description":"The `foreign_id` from the request.","example":"refund_123","isRequired":true,"uniqueKey":"data.foreign_id","typeLabel":"string"},"amount":{"type":"string","description":"The refund amount, in the payment request currency.","example":"100","isRequired":true,"uniqueKey":"data.amount","typeLabel":"string"},"currency":{"type":"object","description":"The currency of the refund. Matches the [currency](/api-reference/endpoints/payments#body-currency) of the payment request.","properties":{"iso":{"type":"string","description":"Currency code. See [API currency codes](/api-reference/currency-codes).","example":"USD","uniqueKey":"data.currency.iso","typeLabel":"string"},"network_name":{"type":"string","description":"Blockchain network name. Present for cryptocurrencies.","uniqueKey":"data.currency.network_name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.currency","typeLabel":"object"},"refund_currency":{"type":"object","description":"The cryptocurrency the customer gets the refund in. Matches the payment request's [payment_currency](/api-reference/endpoints/payments#response-data-payment-currency).","properties":{"iso":{"type":"string","description":"Currency code. See [API currency codes](/api-reference/currency-codes).","example":"USDC","uniqueKey":"data.refund_currency.iso","typeLabel":"string"},"network_name":{"type":"string","description":"Blockchain network name. Present for cryptocurrencies.","example":"ethereum","uniqueKey":"data.refund_currency.network_name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.refund_currency","typeLabel":"object"},"end_user_email":{"type":"string","description":"The `end_user_email` from the payment request.","example":"chris.customer@example.com","isRequired":true,"uniqueKey":"data.end_user_email","typeLabel":"string"},"reason":{"type":"string","description":"The `reason` from the request. Omitted if the request didn't include one.","example":"Refund for order 0511","uniqueKey":"data.reason","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Refund created":{"title":"Refund created","value":{"data":{"id":"019d5a2e-6c4b-7f13-9a85-3d7e1b20c4f8","status":"draft","payment_request_id":"019d511c-9fd2-7e71-b534-74e8abd855f1","foreign_id":"refund_123","amount":"100","currency":{"iso":"USD"},"refund_currency":{"iso":"USDC","network_name":"ethereum"},"reason":"Refund for order 0511","end_user_email":"chris.customer@example.com"}}}},"exampleType":"examples"}},"exampleType":"examples"},"c6d82f51-09ff-41d1-aa14-d5535e00a1ad":{"description":"**Bad Request**\n\nThe request body isn't valid, or the `foreign_id` is already used.\n","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"oneOf":[{"type":"integer","description":"HTTP status code or error code.","isRequired":true,"uniqueKey":"code.oneOf.0","typeLabel":"integer"},{"type":"string","description":"HTTP status code or error code.","isRequired":true,"uniqueKey":"code.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"code","typeLabel":"integer | string"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Foreign ID already used":{"title":"Foreign ID already used","value":{"error":"Refund with this foreign_id already exists.","code":400}},"Malformed JSON":{"title":"Malformed JSON","value":{"error":"Bad content format","code":"bad_content_format"}}},"exampleType":"examples"}},"exampleType":"examples"},"234a346b-a2f0-43cb-89b5-5ff94b8da025":{"description":"**Forbidden**","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message.","uniqueKey":"error","typeLabel":"string"},"code":{"oneOf":[{"type":"integer","description":"Error code.","uniqueKey":"code.oneOf.0","typeLabel":"integer"},{"type":"string","description":"Error code.","uniqueKey":"code.oneOf.1","typeLabel":"string"}],"uniqueKey":"code","typeLabel":"integer | string"}},"description":"Invalid or missing headers, the API key does not have access to the endpoint, your merchant account is disabled, or manual refunds are disabled for you. Refer to [Errors](/api-reference/errors#general-errors) for troubleshooting steps.","uniqueKey":"","typeLabel":"object"},"examples":{"Bad signature header":{"title":"Bad signature header","value":{"error":"Bad signature header","code":"bad_header_signature"}},"API key does not have the required ability":{"title":"API key does not have the required ability","value":{"error":"The API key does not have access to this endpoint.","code":"api_key_ability_required"}},"No signature header":{"title":"No signature header","value":{"error":"No signature header","code":"required_header_signature"}},"No key header":{"title":"No key header","value":{"error":"No key header","code":"required_header_key"}},"Client is not enabled":{"title":"Client is not enabled","value":{"error":"Client is not enabled","code":"client_disabled"}},"Manual refunds disabled":{"title":"Manual refunds disabled","value":{"error":"Manual refunds are disabled.","code":403}}},"exampleType":"examples"}},"exampleType":"examples"},"897e1a55-89c5-4a6f-8ced-643b7999d714":{"description":"**Not Found**\n\nThe payment request doesn't exist.\n","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Payment request not found":{"title":"Payment request not found","value":{"error":"Payment request not found.","code":404}}},"exampleType":"examples"}},"exampleType":"examples"},"76244bc5-d60a-464f-88dc-ee2144285bf6":{"description":"**Unprocessable Entity**\n\nThe request failed validation.\n","content":{"application/json":{"schema":{"type":"object","title":"ErrorResponse","required":["error","code"],"properties":{"error":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"code","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Payment request not paid":{"title":"Payment request not paid","value":{"error":"Refund can only be created for payment requests with the Paid status.","code":422}},"Refund period expired":{"title":"Refund period expired","value":{"error":"The refund period for this payment request has expired.","code":422}},"Payment request not created via the API":{"title":"Payment request not created via the API","value":{"error":"Refund is available only for payment requests created via API.","code":422}},"Missing amount":{"title":"Missing amount","value":{"error":"The amount field is mandatory.","code":422}},"Nothing left to refund":{"title":"Nothing left to refund","value":{"error":"No refundable amount available for this payment request.","code":422}},"Amount above the refundable amount":{"title":"Amount above the refundable amount","value":{"error":"The refund amount exceeds the available amount for this payment request. The maximum refundable amount is \u003camount>.","code":422}},"Amount below the minimum":{"title":"Amount below the minimum","value":{"error":"The minimum refund amount is \u003camount> \u003ccurrency>.","code":422}},"Too many decimal places":{"title":"Too many decimal places","value":{"error":"The amount for \u003ccurrency> cannot have more than \u003cdecimals> decimal places.","code":422}},"Reason too long":{"title":"Reason too long","value":{"error":"The reason must be 255 characters or less.","code":422}},"Missing foreign_id":{"title":"Missing foreign_id","value":{"error":"The foreign_id field is mandatory.","code":422}},"Foreign ID too long":{"title":"Foreign ID too long","value":{"error":"The foreign_id must be 255 characters or less.","code":422}},"Refunds temporarily unavailable":{"title":"Refunds temporarily unavailable","value":{"error":"Refund creation is temporarily unavailable. Please try again later.","code":422}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"7f9c6d25-7701-4c7c-b112-655d3d7c9687":{"xProcessingKey":{"type":"apiKey","description":"Your [API key](/merchant-administration/generate-and-activate-api-keys).","in":"header","name":"X-Processing-Key","scopes":[],"schemeName":"xProcessingKey"}}},"servers":{"98944326-5f98-4b0d-97ec-f539c4616675":{"url":"https://app.cryptoprocessing.us/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Your [API key](/merchant-administration/generate-and-activate-api-keys).","in":"header","name":"X-Processing-Key","scopes":[],"schemeName":"xProcessingKey"},"schema":{"title":"X-Processing-Key","type":"string","description":"Your [API key](/merchant-administration/generate-and-activate-api-keys).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"xProcessingKey","name":"X-Processing-Key"}],"title":"xProcessingKey"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"cr-usa","siteName":"CryptoProcessing","title":"Create a refund - CryptoProcessing","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T13:49:13.174Z","gitLastModified":"2026-11-25T13:47:58.000Z","originalFileLocation":"api-reference/endpoints/refunds.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a manual refund.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CryptoProcessing\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_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/cr-usa/xuLVuA35mzcOZzan/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a refund - CryptoProcessing\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a manual refund.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CryptoProcessing\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cr-usa.mintlify.site/_mintlify/api/og/v2?division=Payment+requests\u0026amp;title=Create+a+refund\u0026amp;description=Create+a+%5Bmanual+refund%5D%28%2Fpayment-requests%2Frefunds%29.\u0026amp;theme=415c7d8e0d90593d5648338f\u0026amp;signature=7e1ac72fac6608c6b8db1bf4d9158a405c8b7325d7a53368369997c703392d64\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a refund - CryptoProcessing\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a manual refund.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cr-usa.mintlify.site/_mintlify/api/og/v2?division=Payment+requests\u0026amp;title=Create+a+refund\u0026amp;description=Create+a+%5Bmanual+refund%5D%28%2Fpayment-requests%2Frefunds%29.\u0026amp;theme=415c7d8e0d90593d5648338f\u0026amp;signature=7e1ac72fac6608c6b8db1bf4d9158a405c8b7325d7a53368369997c703392d64\">\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/cr-usa/xuLVuA35mzcOZzan/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CryptoProcessing\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"mIpYxOlkx0LZDsTxDvlSPglwsvStyTl9SUsdQ52bjBA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/refunds.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cryptoprocessing.us/#organization\",\"name\":\"CryptoProcessing\",\"url\":\"https://docs.cryptoprocessing.us\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cr-usa/swhs7ECc4CmEJTlY/logo/secondary%20logo%20black.svg?fit=max\u0026auto=format\u0026n=swhs7ECc4CmEJTlY\u0026q=85\u0026s=2355f31f6b8ec42d41c51320bc0e3c1c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cryptoprocessing.us#website\",\"name\":\"CryptoProcessing\",\"url\":\"https://docs.cryptoprocessing.us\",\"publisher\":{\"@id\":\"https://docs.cryptoprocessing.us/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds#webpage\",\"url\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds\",\"name\":\"Create a refund\",\"description\":\"Create a manual refund.\",\"dateModified\":\"2026-11-25T13:47:58.000Z\",\"isPartOf\":{\"@id\":\"https://docs.cryptoprocessing.us#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment requests\",\"item\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/payments\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a refund\",\"item\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds#apireference\",\"headline\":\"Create a refund\",\"name\":\"Create a refund\",\"description\":\"Create a manual refund.\",\"url\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cryptoprocessing.us/api-reference/endpoints/refunds#webpage\"},\"dateModified\":\"2026-11-25T13:47:58.000Z\",\"publisher\":{\"@id\":\"https://docs.cryptoprocessing.us/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cryptoprocessing.us#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CryptoProcessing\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CryptoProcessing\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoints/refunds.md","siteName":"CryptoProcessing","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book","pages":[{"title":"Docs","href":""}]},{"tab":"Supported currencies","icon":"bitcoin","pages":[{"title":"Supported currencies","href":"/supported-currencies"}]},{"tab":"API reference","icon":"code","groups":[{"group":"Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Callbacks","href":"/api-reference/callbacks/callbacks-overview"},{"title":"API errors","href":"/api-reference/errors"},{"title":"Postman API Testing","href":"/api-reference/postman-collection"},{"title":"API currency codes","href":"/api-reference/currency-codes"}]},{"group":"Deposits","pages":[{"title":"Generate a user deposit address","openapi":"POST /v2/addresses/take","href":"/api-reference/endpoints/addresses-take"},{"title":"Deposit callbacks","openapi":"api-reference/deposit-callbacks.openapi.yaml webhook deposit","playground":"none","href":"/api-reference/callbacks/deposit-callbacks"}]},{"group":"Withdrawals","pages":[{"title":"Withdraw crypto","openapi":"POST /v2/withdrawal/crypto","href":"/api-reference/endpoints/withdrawal-crypto"},{"title":"Withdraw crypto instantly","openapi":"POST /v2/crypto/withdrawal_instant","href":"/api-reference/endpoints/crypto-withdrawal-instant"},{"title":"Withdraw crypto instantly with conversion","openapi":"POST /v2/crypto/withdrawal_instant_exchange","href":"/api-reference/endpoints/crypto-withdrawal-instant-exchange"},{"title":"Withdrawal callbacks","openapi":"api-reference/withdrawal-callbacks.openapi.yaml webhook withdrawal","playground":"none","href":"/api-reference/callbacks/withdrawal-callbacks"}]},{"group":"Payment requests","pages":[{"title":"Create a payment request","openapi":"POST /payments/v1/requests","href":"/api-reference/endpoints/payments"},{"title":"Payment request callbacks","openapi":"api-reference/payment-request-callbacks.openapi.yaml webhook payment-request","playground":"none","description":"Sent to your callback URL whenever the status of a payment request changes. Payment requests created in the portal do not trigger these callbacks.","href":"/api-reference/callbacks/payment-request-callbacks"},{"title":"Create a refund","openapi":"POST /payments/v1/{payment_request_id}/refunds","href":"/api-reference/endpoints/refunds"},{"title":"Refund callbacks","openapi":"api-reference/refund-callbacks.openapi.yaml webhook refund","playground":"none","description":"Sent to your callback URL whenever the status of a refund changes.","href":"/api-reference/callbacks/refund-callbacks"}]},{"group":"Exchanges","pages":[{"title":"Exchange at market rate","openapi":"POST /v2/exchange/now","href":"/api-reference/endpoints/exchange-now"},{"title":"Get a fixed exchange quote","openapi":"POST /v2/exchange/calculate","href":"/api-reference/endpoints/exchange-calculate"},{"title":"Exchange at a fixed rate","openapi":"POST /v2/exchange/fixed","href":"/api-reference/endpoints/exchange-fixed"},{"title":"Exchange callbacks","openapi":"api-reference/exchange-callbacks.openapi.yaml webhook exchange","playground":"none","href":"/api-reference/callbacks/exchange-callbacks"}]},{"group":"Currencies","pages":[{"title":"List supported currencies","openapi":"POST /v2/currencies/list","href":"/api-reference/endpoints/currencies-list"},{"title":"Get available currency pairs and exchange rates","openapi":"POST /v2/currencies/rates","href":"/api-reference/endpoints/currencies-rates"}]},{"group":"Transactions","pages":[{"title":"Get transaction details","openapi":"GET /v2/transactions/info","href":"/api-reference/endpoints/transactions-info"}]},{"group":"Reports","pages":[{"title":"Create a payments report","openapi":"POST /reporting/v1/reports/payments","href":"/api-reference/endpoints/reports-payments"},{"title":"Create a transactions report","openapi":"POST /reporting/v1/reports/transactions","href":"/api-reference/endpoints/reports-transactions"},{"title":"Create a balance statement","openapi":"POST /reporting/v1/reports/balance_statement","href":"/api-reference/endpoints/reports-balance-statement"},{"title":"Create a fee statement","openapi":"POST /reporting/v1/reports/fee_statement","href":"/api-reference/endpoints/reports-fee-statement"},{"title":"Create a cash flow statement","openapi":"POST /reporting/v1/reports/cash_flow_statement","href":"/api-reference/endpoints/reports-cash-flow-statement"}]},{"group":"Report jobs","pages":[{"title":"Check job status","openapi":"GET /reporting/v1/jobs/{report_job_id}","href":"/api-reference/endpoints/jobs-info"},{"title":"Download a report","openapi":"GET /reporting/v1/jobs/{report_job_id}/download","href":"/api-reference/endpoints/jobs-download"},{"title":"Cancel job","openapi":"POST /reporting/v1/jobs/{report_job_id}/cancel","href":"/api-reference/endpoints/jobs-cancel"}]},{"group":"Account balance","pages":[{"title":"List balances","openapi":"POST /v2/accounts/list","href":"/api-reference/endpoints/accounts-list"}]},{"group":"System Health","pages":[{"title":"Check API status","openapi":"GET /v2/ping","href":"/api-reference/endpoints/ping"}]}]}]},"basePath":"","title":"Create a refund - CryptoProcessing","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}