{ "error": "INVALID_AMOUNT: amount 12.345 has more than 2 decimal places allowed for EUR", "status": false}
Payments
Create deposit transaction (Sale)
Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units ("amount": "10.00"), in the request and in the response. Without paymentMethod, or with incomplete paymentMethodInput, the response carries paymentPageUrl: the hosted payment page where the buyer picks a method and types the missing details.
Optional, recommended. 1-255 printable ASCII characters without spaces (e.g. a UUID v4) generated once per payment attempt and reused for every retry of it. Scoped to the merchant, kept 24 h. A retry of a finished request returns the stored status and body with Idempotency-Replayed: true; a retry while the first request is still running gets 409 IDEMPOTENCY_IN_PROGRESS with Retry-After; the same key with a different body or endpoint gets 422 IDEMPOTENCY_KEY_REUSED.
Amount as a decimal string in major units of currency: "12.30" EUR, "5000" JPY, "0.00000001" BTC. Must be greater than zero. JSON numbers (12.3, 1230) are rejected with 400. At most 18 decimals here; the payment core also rejects more decimals than the currency allows ("12.345" EUR, "1.5" JPY).
Payment method (credential config id). Omit it to let the buyer pick one of your methods on the hosted payment page: the response then carries paymentPageUrl.
Transaction created, or status: false with a business error (e.g. INVALID_AMOUNT: ... when the amount has more decimals than the currency allows). Money fields are decimal strings in major units. LIVEMODE_MISMATCH is a declined transaction returned with status: true, not an HTTP error; no PSP operation is sent.
Sales only: the hosted payment page, when the buyer still has to pick a method or type payment details (no paymentMethod, or incomplete paymentMethodInput). Redirect the buyer there; url carries the same value. Valid until the sale expires (48 h by default); the token in it is the only key to the page, so treat the URL like a secret link.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OrsunPay","description":"Guides, API contracts and workspace walkthroughs for merchants integrating OrsunPay.","colors":{"primary":"#826300","light":"#FFCC00","dark":"#705600"},"logo":{"light":"https://mintcdn.com/orsunpay/9giosiM-mO_kwig_/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=9giosiM-mO_kwig_\u0026q=85\u0026s=993e4b5b338d8309f92a9295890ce0b8","dark":"https://mintcdn.com/orsunpay/9giosiM-mO_kwig_/brand/logo-dark.svg?fit=max\u0026auto=format\u0026n=9giosiM-mO_kwig_\u0026q=85\u0026s=3f7a25249f226fc3db217801c714262c"},"favicon":"https://mintcdn.com/orsunpay/9giosiM-mO_kwig_/brand/favicon.svg?fit=max\u0026auto=format\u0026n=9giosiM-mO_kwig_\u0026q=85\u0026s=2ad7f5317a7cd3fc82e1751839429c8f","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"https://orsunpay.com/contact","label":"Support"}],"primary":{"type":"button","label":"Merchant cabinet","href":"https://r1-cabinet.orsunpay.com"}},"fonts":{"family":"Onest"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"orsunpay","hasAudioNarration":false,"actualSubdomain":"orsunpay","customDomains":["docs.orsunpay.com"],"gitSource":{"type":"github","owner":"orsuntech","repo":"orsunpay-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6aed3b9f94899c7f5d7debb7"},"entitlements":{},"buildId":"6aed7a978edba1c7664b50a7","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":54},{"language":"default","tag":"Endpoints","count":53},{"language":"default","tag":"Guides","count":33},{"language":"default","tag":"Cashier player","count":18},{"language":"default","tag":"Usage billing","count":15},{"language":"default","tag":"Server SDKs","count":9},{"language":"default","tag":"Payment methods","count":8},{"language":"default","tag":"Integration essentials","count":6},{"language":"default","tag":"Accept a payment","count":6},{"language":"default","tag":"Manage payments","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/payments/create-deposit-transaction-sale","slug":"/api-reference/payments/create-deposit-transaction-sale","pageMetadata":{"title":"Create deposit transaction (Sale)","description":"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (`\"amount\": \"10.00\"`), in the request and in the response. Without `paymentMethod`, or with incomplete `paymentMethodInput`, the response carries `paymentPageUrl`: the hosted payment page where the buyer picks a method and types the missing details.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment/sale","href":"/api-reference/payments/create-deposit-transaction-sale","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (\", _jsx(_components.code, {\n children: \"\\\"amount\\\": \\\"10.00\\\"\"\n }), \"), in the request and in the response. Without \", _jsx(_components.code, {\n children: \"paymentMethod\"\n }), \", or with incomplete \", _jsx(_components.code, {\n children: \"paymentMethodInput\"\n }), \", the response carries \", _jsx(_components.code, {\n children: \"paymentPageUrl\"\n }), \": the hosted payment page where the buyer picks a method and types the missing details.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create deposit transaction (Sale)","description":"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (`\"amount\": \"10.00\"`), in the request and in the response. Without `paymentMethod`, or with incomplete `paymentMethodInput`, the response carries `paymentPageUrl`: the hosted payment page where the buyer picks a method and types the missing details.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment/sale","href":"/api-reference/payments/create-deposit-transaction-sale","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (`\"amount\": \"10.00\"`), in the request and in the response. Without `paymentMethod`, or with incomplete `paymentMethodInput`, the response carries `paymentPageUrl`: the hosted payment page where the buyer picks a method and types the missing details.","operationId":"createSale","parameters":["cb93cd7c-decb-421b-81d3-5ff571764231"],"requestBody":"3cd9a869-2473-4ec1-ade3-a576af942476","responses":{"201":"0ed559d8-a09d-4ca3-9d96-6d2d02189011","400":"fae972ed-978c-4f9c-a418-3dbaf2ccabe5","401":"342931af-6e3e-490e-a4f7-1ba1269d7ee6","409":"e0d9645a-0521-4c86-83a8-5ba2628cf1b1","422":"dfe7c0b3-087f-455a-825c-a9ea279298e9","429":"864511c5-cb66-433e-9a1b-929be4330e76","502":"50e66d6e-062b-49be-b08d-023112ec9f98","503":"60bab9b8-20f9-4441-93f7-a55a6c672221","504":"d83f0d45-f994-4299-9a7f-f00afd952312"},"security":["1e0d2972-930a-47eb-9abf-c7da58d8400d"],"summary":"Create deposit transaction (Sale)","tags":["Payments"],"method":"post","type":"path","servers":[],"path":"/v1/payment/sale","baseUrlOptions":[],"title":"Create deposit transaction (Sale)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"cb93cd7c-decb-421b-81d3-5ff571764231":{"description":"Optional, recommended. 1-255 printable ASCII characters without spaces (e.g. a UUID v4) generated once per payment attempt and reused for every retry of it. Scoped to the merchant, kept 24 h. A retry of a finished request returns the stored status and body with `Idempotency-Replayed: true`; a retry while the first request is still running gets 409 IDEMPOTENCY_IN_PROGRESS with `Retry-After`; the same key with a different body or endpoint gets 422 IDEMPOTENCY_KEY_REUSED.","in":"header","name":"Idempotency-Key","required":false,"schema":{"example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","isRequired":false,"description":"Optional, recommended. 1-255 printable ASCII characters without spaces (e.g. a UUID v4) generated once per payment attempt and reused for every retry of it. Scoped to the merchant, kept 24 h. A retry of a finished request returns the stored status and body with `Idempotency-Replayed: true`; a retry while the first request is still running gets 409 IDEMPOTENCY_IN_PROGRESS with `Retry-After`; the same key with a different body or endpoint gets 422 IDEMPOTENCY_KEY_REUSED.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"examples":{"full":{"title":"full","value":{"amount":"12.30","buyerId":"buyer_example","callbackUrl":"https://shop.example.com/webhooks/orsunpay","currency":"EUR","customer":{"country":"US","email":"[email protected]","firstName":"Jane","lastName":"Doe"},"description":"Coffee beans","failureUrl":"https://shop.example.com/failure","locale":"en-US","merchantId":"mr_example","metadata":{"cartId":"cart_example"},"orderId":"order_example_001","paymentMethod":"cr_example","paymentMethodInput":{},"returnUrl":"https://shop.example.com/return","successUrl":"https://shop.example.com/success"}},"minimal":{"title":"minimal","value":{"amount":"12.30","buyerId":"buyer_example","callbackUrl":"https://shop.example.com/webhooks/orsunpay","currency":"EUR","failureUrl":"https://shop.example.com/failure","merchantId":"mr_example","orderId":"order_example_001","returnUrl":"https://shop.example.com/return","successUrl":"https://shop.example.com/success"}}},"schema":{"properties":{"amount":{"description":"Amount as a decimal **string** in **major** units of `currency`: `\"12.30\"` EUR, `\"5000\"` JPY, `\"0.00000001\"` BTC. Must be greater than zero. JSON numbers (`12.3`, `1230`) are rejected with 400. At most 18 decimals here; the payment core also rejects more decimals than the currency allows (`\"12.345\"` EUR, `\"1.5\"` JPY).","example":"10.00","pattern":"^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$","type":"string","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"buyerId":{"description":"Buyer ID in merchant system","example":"customer_123","type":"string","isRequired":true,"uniqueKey":"buyerId","typeLabel":"string"},"callbackUrl":{"description":"Callback URL","example":"https://example.com/callback","type":"string","isRequired":true,"uniqueKey":"callbackUrl","typeLabel":"string"},"currency":{"description":"Currency","example":"USD","type":"string","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"failureUrl":{"description":"Failure URL","example":"https://example.com/failure","type":"string","isRequired":true,"uniqueKey":"failureUrl","typeLabel":"string"},"merchantId":{"description":"Merchant ID","example":"mr_clyv2goxb0000z8b8j5y6fl1j","type":"string","isRequired":true,"uniqueKey":"merchantId","typeLabel":"string"},"orderId":{"description":"Transaction ID in merchant system. The pl_ prefix is reserved for payment links (422 ORDER_ID_RESERVED).","example":"transaction_123","type":"string","isRequired":true,"uniqueKey":"orderId","typeLabel":"string"},"returnUrl":{"description":"Return URL","example":"https://example.com/return","type":"string","isRequired":true,"uniqueKey":"returnUrl","typeLabel":"string"},"successUrl":{"description":"Success URL","example":"https://example.com/success","type":"string","isRequired":true,"uniqueKey":"successUrl","typeLabel":"string"},"customer":{"type":"object","description":"Customer","example":{"address":"123 Main St","address2":"Apt 1","city":"Anytown","country":"US","dob":"1990-01-01","email":"[email protected]","firstName":"John","ip":"123.45.67.89","lastName":"Doe","phone":"+1234567890","state":"CA","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3","zip":"12345"},"properties":{"address":{"description":"Customer address","example":"123 Main St","type":"string","uniqueKey":"customer.address","typeLabel":"string"},"address2":{"description":"Customer address2","example":"Apt 1","type":"string","uniqueKey":"customer.address2","typeLabel":"string"},"city":{"description":"Customer city","example":"Anytown","type":"string","uniqueKey":"customer.city","typeLabel":"string"},"country":{"description":"Customer ISO alpha-2 country code; Adyen requires uppercase, Brite accepts either case. Provider-specific missing/invalid contact returns 422 CUSTOMER_CONTACT_REQUIRED.","enum":["AD","ad","AE","ae","AF","af","AG","ag","AI","ai","AL","al","AM","am","AN","an","AO","ao","AQ","aq","AR","ar","AS","as","AT","at","AU","au","AW","aw","AX","ax","AZ","az","BA","ba","BB","bb","BD","bd","BE","be","BF","bf","BG","bg","BH","bh","BI","bi","BJ","bj","BL","bl","BM","bm","BN","bn","BO","bo","BQ","bq","BR","br","BS","bs","BT","bt","BV","bv","BW","bw","BY","by","BZ","bz","CA","ca","CC","cc","CD","cd","CF","cf","CG","cg","CH","ch","CI","ci","CK","ck","CL","cl","CM","cm","CN","cn","CO","co","CR","cr","CU","cu","CV","cv","CW","cw","CX","cx","CY","cy","CZ","cz","DE","de","DJ","dj","DK","dk","DM","dm","DO","do","DZ","dz","EC","ec","EE","ee","EG","eg","EH","eh","ER","er","ES","es","ET","et","FI","fi","FJ","fj","FK","fk","FM","fm","FO","fo","FR","fr","GA","ga","GB","gb","GD","gd","GE","ge","GF","gf","GG","gg","GH","gh","GI","gi","GL","gl","GM","gm","GN","gn","GP","gp","GQ","gq","GR","gr","GS","gs","GT","gt","GU","gu","GW","gw","GY","gy","HK","hk","HM","hm","HN","hn","HR","hr","HT","ht","HU","hu","ID","id","IE","ie","IL","il","IM","im","IN","in","IO","io","IQ","iq","IR","ir","IS","is","IT","it","JE","je","JM","jm","JO","jo","JP","jp","KE","ke","KG","kg","KH","kh","KI","ki","KM","km","KN","kn","KP","kp","KR","kr","KW","kw","KY","ky","KZ","kz","LA","la","LB","lb","LC","lc","LI","li","LK","lk","LR","lr","LS","ls","LT","lt","LU","lu","LV","lv","LY","ly","MA","ma","MC","mc","MD","md","ME","me","MF","mf","MG","mg","MH","mh","MK","mk","ML","ml","MM","mm","MN","mn","MO","mo","MP","mp","MQ","mq","MR","mr","MS","ms","MT","mt","MU","mu","MV","mv","MW","mw","MX","mx","MY","my","MZ","mz","NA","na","NC","nc","NE","ne","NF","nf","NG","ng","NI","ni","NL","nl","NO","no","NP","np","NR","nr","NU","nu","NZ","nz","OM","om","PA","pa","PE","pe","PF","pf","PG","pg","PH","ph","PK","pk","PL","pl","PM","pm","PN","pn","PR","pr","PS","ps","PT","pt","PW","pw","PY","py","QA","qa","RE","re","RO","ro","RS","rs","RU","ru","RW","rw","SA","sa","SB","sb","SC","sc","SD","sd","SE","se","SG","sg","SH","sh","SI","si","SJ","sj","SK","sk","SL","sl","SM","sm","SN","sn","SO","so","SR","sr","SS","ss","ST","st","SV","sv","SX","sx","SY","sy","SZ","sz","TC","tc","TD","td","TF","tf","TG","tg","TH","th","TJ","tj","TK","tk","TL","tl","TM","tm","TN","tn","TO","to","TR","tr","TT","tt","TV","tv","TW","tw","TZ","tz","UA","ua","UG","ug","UM","um","US","us","UY","uy","UZ","uz","VA","va","VC","vc","VE","ve","VG","vg","VI","vi","VN","vn","VU","vu","WF","wf","WS","ws","YE","ye","YT","yt","ZA","za","ZM","zm","ZW","zw"],"example":"US","type":"string","uniqueKey":"customer.country","typeLabel":"enum\u003cstring>"},"dob":{"description":"Customer date of birth","example":"1990-01-01T00:00:00.000Z","format":"date-time","type":"string","uniqueKey":"customer.dob","typeLabel":"string\u003cdate-time>"},"email":{"description":"Customer email","example":"[email protected]","type":"string","uniqueKey":"customer.email","typeLabel":"string"},"firstName":{"description":"Customer first name","example":"John","type":"string","uniqueKey":"customer.firstName","typeLabel":"string"},"ip":{"description":"Customer IP","example":"123.45.67.89","type":"string","uniqueKey":"customer.ip","typeLabel":"string"},"lastName":{"description":"Customer last name","example":"Doe","type":"string","uniqueKey":"customer.lastName","typeLabel":"string"},"phone":{"description":"Customer phone","example":"+1234567890","type":"string","uniqueKey":"customer.phone","typeLabel":"string"},"state":{"description":"Customer state","example":"CA","type":"string","uniqueKey":"customer.state","typeLabel":"string"},"userAgent":{"description":"Customer user agent","example":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3","type":"string","uniqueKey":"customer.userAgent","typeLabel":"string"},"zip":{"description":"Customer zip","example":"12345","type":"string","uniqueKey":"customer.zip","typeLabel":"string"}},"uniqueKey":"customer","typeLabel":"object"},"description":{"description":"Order description shown to the buyer on the hosted payment page","example":"2 x Coffee beans, 1 kg","maxLength":255,"type":"string","uniqueKey":"description","typeLabel":"string"},"locale":{"description":"Locale in BCP 47 format","enum":["en-US","ru-RU","uk-UA","en-GB","pl-PL","cs-CZ","de-DE","de-AT","de-CH"],"example":"en-US","type":"string","uniqueKey":"locale","typeLabel":"enum\u003cstring>"},"metadata":{"description":"Metadata: at most 16 KiB encoded JSON, 50 entries per container, nesting depth 5.","example":{},"maxProperties":50,"type":"object","uniqueKey":"metadata","typeLabel":"object"},"paymentMethod":{"description":"Payment method (credential config id). Omit it to let the buyer pick one of your methods on the hosted payment page: the response then carries `paymentPageUrl`.","example":"cr_clyv2goxb0000z8b8j5y6fl1j","type":"string","uniqueKey":"paymentMethod","typeLabel":"string"},"paymentMethodInput":{"description":"Payment method input","example":{},"type":"object","uniqueKey":"paymentMethodInput","typeLabel":"object"}},"required":["amount","currency","merchantId","orderId","buyerId","successUrl","failureUrl","returnUrl","callbackUrl"],"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"0ed559d8-a09d-4ca3-9d96-6d2d02189011":{"content":{"application/json":{"examples":{"businessError":{"title":"businessError","value":{"error":"INVALID_AMOUNT: amount 12.345 has more than 2 decimal places allowed for EUR","status":false}},"livemodeMismatch":{"title":"livemodeMismatch","value":{"status":true,"transaction":{"action":"SALE","amount":"10.00","buyerId":"buyer_001","callbackUrl":"https://merchant.com/callback","companyId":"co_123","createdAt":"2025-08-27T08:49:34.336Z","credentialConfigId":"cr_hvntdai7ag38j8dmlbiunyga","currency":"EUR","currencyRate":null,"customerId":"cu_a76ew9iilsw46mtvmif6tits","errorCode":"LIVEMODE_MISMATCH","failureUrl":"https://merchant.com/failure","feeAmount":"10","feeCharge":"PERCENTAGE","feeRoundingRemainder":"0","feeType":"TOP","finalStatusUpdatedAt":null,"fxRoundingRemainder":null,"id":"tr_xv0p2q5scocndpejk0nud75q","isFeeEnabled":true,"livemode":true,"locale":"en-US","merchantId":"mr_hkvats9n1pmbznf1j6yu8bry","metadata":{"cartId":"cart_123","promoCode":"SUMMER24"},"orderId":"order_20240612_001","paymentMethod":"mbway","processingAmount":"10.00","processingAmountWithFee":"11.00","processingCurrency":"EUR","processingFeeAmount":"1.00","provider":"adyen","pspTransactionId":null,"returnUrl":"https://merchant.com/return","ruleId":null,"status":"DECLINED","successUrl":"https://merchant.com/success","updatedAt":"2025-08-27T08:49:34.336Z"}}},"success":{"title":"success","value":{"status":true,"transaction":{"action":"SALE","amount":"10.00","buyerId":"buyer_001","callbackUrl":"https://merchant.com/callback","companyId":"co_123","createdAt":"2025-08-27T08:49:34.336Z","credentialConfigId":"cr_hvntdai7ag38j8dmlbiunyga","currency":"EUR","currencyRate":null,"customerId":"cu_a76ew9iilsw46mtvmif6tits","errorCode":null,"failureUrl":"https://merchant.com/failure","feeAmount":"10","feeCharge":"PERCENTAGE","feeRoundingRemainder":"0","feeType":"TOP","finalStatusUpdatedAt":null,"fxRoundingRemainder":null,"id":"tr_xv0p2q5scocndpejk0nud75q","isFeeEnabled":true,"livemode":true,"locale":"en-US","merchantId":"mr_hkvats9n1pmbznf1j6yu8bry","metadata":{"cartId":"cart_123","promoCode":"SUMMER24"},"orderId":"order_20240612_001","paymentMethod":"mbway","processingAmount":"10.00","processingAmountWithFee":"11.00","processingCurrency":"EUR","processingFeeAmount":"1.00","provider":"adyen","pspTransactionId":null,"returnUrl":"https://merchant.com/return","ruleId":null,"status":"CREATED","successUrl":"https://merchant.com/success","updatedAt":"2025-08-27T08:49:34.336Z"},"url":"https://payment-provider.com/pay/abc123"}}},"schema":{"properties":{"status":{"description":"Operation status","example":true,"type":"boolean","isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"error":{"description":"Error message (if operation failed)","example":"Payment method not available","type":"string","uniqueKey":"error","typeLabel":"string"},"nextAction":{"description":"Validated app confirmation or voucher instructions for the payer","type":"object","uniqueKey":"nextAction","typeLabel":"object"},"paymentPageUrl":{"description":"Sales only: the hosted payment page, when the buyer still has to pick a method or type payment details (no `paymentMethod`, or incomplete `paymentMethodInput`). Redirect the buyer there; `url` carries the same value. Valid until the sale expires (48 h by default); the token in it is the only key to the page, so treat the URL like a secret link.","example":"https://pay.example.com/pay/hpp1.dHJfeHYwcDJxNXNjb2NuZHBlamswbnVkNzVxOjE3NjAxMDAwMDA.X8f…","type":"string","uniqueKey":"paymentPageUrl","typeLabel":"string"},"pending":{"description":"Accepted payment awaiting confirmation. On PSP_OUTCOME_UNKNOWN poll the transaction; do not resubmit or create a new order.","example":true,"type":"boolean","uniqueKey":"pending","typeLabel":"boolean"},"transaction":{"type":"object","description":"Transaction details","required":["livemode","id","orderId","status","action","amount","currency","createdAt"],"properties":{"action":{"description":"Transaction action type","enum":["SALE","PAYOUT","AUTHORIZE","REFUND","CHARGEBACK"],"example":"SALE","type":"string","isRequired":true,"uniqueKey":"transaction.action","typeLabel":"enum\u003cstring>"},"amount":{"description":"Transaction amount in `currency`. Decimal string in major units, padded to the currency exponent (\"10.00\" EUR, \"5000\" JPY). Parse with a decimal library, never with parseFloat.","example":"10.00","pattern":"^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$","type":"string","isRequired":true,"uniqueKey":"transaction.amount","typeLabel":"string"},"createdAt":{"description":"Transaction creation timestamp","example":"2023-12-25T10:00:00.000Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"transaction.createdAt","typeLabel":"string\u003cdate-time>"},"currency":{"description":"Transaction currency","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","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","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","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPF","YER","ZAR","ZMW","ZWL"],"example":"USD","type":"string","isRequired":true,"uniqueKey":"transaction.currency","typeLabel":"enum\u003cstring>"},"id":{"description":"Transaction ID","example":"tr_xv0p2q5scocndpejk0nud75q","type":"string","isRequired":true,"uniqueKey":"transaction.id","typeLabel":"string"},"livemode":{"description":"True for live payments; false for sandbox payments. Derived from the authenticated API key.","example":true,"type":"boolean","isRequired":true,"uniqueKey":"transaction.livemode","typeLabel":"boolean"},"orderId":{"description":"Order ID from merchant system","example":"transaction_123","type":"string","isRequired":true,"uniqueKey":"transaction.orderId","typeLabel":"string"},"status":{"description":"Transaction status","enum":["CREATED","WAIT_APPROVE","PROCESSING","CANCELED","DECLINED","SUCCESS","EXPIRED"],"example":"PROCESSING","type":"string","isRequired":true,"uniqueKey":"transaction.status","typeLabel":"enum\u003cstring>"},"currencyRate":{"oneOf":[{"type":"string","description":"Effective DCC rate as a plain decimal string; null without DCC.","example":"0.9573935814433348","uniqueKey":"transaction.currencyRate.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction.currencyRate.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.currencyRate","typeLabel":"string | null"},"errorCode":{"oneOf":[{"type":"string","description":"Payment error/outcome reason. LIVEMODE_MISMATCH means the transaction was DECLINED before PSP dispatch; creation still returns HTTP 201 with status: true. PSP_OUTCOME_UNKNOWN means reconcile or poll; do not create another order. PSP_INPUT_INVALID identifies local legacy-submit serialization/codec failures; PSP_REQUEST_REJECTED identifies a definitive upstream rejection.","example":"PSP_OUTCOME_UNKNOWN","uniqueKey":"transaction.errorCode.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction.errorCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.errorCode","typeLabel":"string | null"},"feeAmount":{"oneOf":[{"type":"string","description":"Configured fee: money in `processingCurrency` for FIXED fees, a percent (\"10\" = 10 %) for PERCENTAGE fees. Decimal string.","pattern":"^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$","example":"10","uniqueKey":"transaction.feeAmount.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction.feeAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.feeAmount","typeLabel":"string | null"},"processingAmount":{"oneOf":[{"type":"string","description":"Amount in `processingCurrency`. Decimal string in major units, padded to the currency exponent (\"10.00\" EUR, \"5000\" JPY). Parse with a decimal library, never with parseFloat.","pattern":"^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$","example":"9.57","uniqueKey":"transaction.processingAmount.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction.processingAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.processingAmount","typeLabel":"string | null"},"processingAmountWithFee":{"oneOf":[{"type":"string","description":"Processing amount including a TOP fee, in `processingCurrency`. Decimal string in major units, padded to the currency exponent (\"10.00\" EUR, \"5000\" JPY). Parse with a decimal library, never with parseFloat.","pattern":"^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$","example":"10.53","uniqueKey":"transaction.processingAmountWithFee.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction.processingAmountWithFee.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.processingAmountWithFee","typeLabel":"string | null"},"processingCurrency":{"description":"Currency the PSP is charged in (differs from `currency` with DCC)","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","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","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","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPF","YER","ZAR","ZMW","ZWL"],"example":"EUR","type":"string","uniqueKey":"transaction.processingCurrency","typeLabel":"enum\u003cstring>"},"processingFeeAmount":{"oneOf":[{"type":"string","description":"Fee charged, in `processingCurrency`. Decimal string in major units, padded to the currency exponent (\"10.00\" EUR, \"5000\" JPY). Parse with a decimal library, never with parseFloat.","pattern":"^(0|[1-9]\\d{0,19})(\\.\\d{1,18})?$","example":"0.96","uniqueKey":"transaction.processingFeeAmount.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transaction.processingFeeAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction.processingFeeAmount","typeLabel":"string | null"}},"uniqueKey":"transaction","typeLabel":"object"},"url":{"description":"Redirect URL for payment completion (if required)","example":"https://payment-provider.com/pay/abc123","type":"string","uniqueKey":"url","typeLabel":"string"}},"required":["status"],"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Transaction created, or `status: false` with a business `error` (e.g. `INVALID_AMOUNT: ...` when the amount has more decimals than the currency allows). Money fields are decimal strings in major units. LIVEMODE_MISMATCH is a declined transaction returned with status: true, not an HTTP error; no PSP operation is sent.","headers":{"Idempotency-Replayed":{"description":"Present (`true`) when the body is a replay of an earlier request with the same Idempotency-Key","schema":{"enum":["true"],"type":"string"}},"RateLimit":{"description":"Remaining requests (r) and seconds to reset/full refill (t), per evaluated policy. Absent when disabled; merchant quota is omitted during Redis outages, while IP/auth protection uses replica memory.","schema":{"example":"\"merchant\";r=37;t=4","type":"string"}},"RateLimit-Policy":{"description":"Evaluated policies (draft-ietf-httpapi-ratelimit-headers-11). q is burst quota; w is the full refill window in seconds.","schema":{"example":"\"merchant\";q=100;w=5","type":"string"}}},"exampleType":"examples"},"fae972ed-978c-4f9c-a418-3dbaf2ccabe5":{"content":{"application/json":{"examples":{"amountAsNumber":{"title":"amountAsNumber","value":{"error":"Bad Request","message":["amount must be a decimal string in major units, e.g. \"12.30\"; JSON numbers are not accepted for money (got 12.3)"],"statusCode":400}},"invalidKey":{"title":"invalidKey","value":{"error":"IDEMPOTENCY_KEY_INVALID","errorCode":"IDEMPOTENCY_KEY_INVALID","message":"Idempotency-Key must be a single value of 1-255 printable ASCII characters without spaces","status":false,"statusCode":400}},"noCredentialsForMode":{"title":"noCredentialsForMode","value":{"error":"NO_CREDENTIALS_FOR_MODE","errorCode":"NO_CREDENTIALS_FOR_MODE","message":"No credentials are available for this payment mode","status":false,"statusCode":400}}},"schema":{"oneOf":[{"type":"object","required":["statusCode","error","message"],"properties":{"error":{"example":"Bad Request","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"string"},"message":{"example":["amount must be a decimal string in major units, e.g. \"12.30\"; JSON numbers are not accepted for money (got 12.3)"],"items":{"type":"string","uniqueKey":"oneOf.0.message.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string[]"},"statusCode":{"example":400,"type":"number","isRequired":true,"uniqueKey":"oneOf.0.statusCode","typeLabel":"number"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["status","statusCode","errorCode","error","message"],"properties":{"error":{"description":"Same as errorCode","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string"},"errorCode":{"description":"Machine-readable, extensible code. Known values: ADYEN_REFUSED, CARD_DATA_NOT_ACCEPTED, RATE_LIMITED, PAYMENT_LINK_INVALID_AMOUNT, PAYMENT_LINK_UNSUPPORTED_CURRENCY, PAYMENT_LINK_INVALID_EXPIRY, PAYMENT_LINK_INVALID_MAX_USES, PAYMENT_LINK_REDIRECT_URL_NOT_ALLOWED, PAYMENT_LINK_METADATA_TOO_LARGE, PAYMENT_LINK_INVALID_TEXT, PAYMENT_LINK_NOT_FOUND, PAYMENT_LINK_INVALID_LIMIT, PAYMENT_LINK_INVALID_CURSOR, API_KEY_ROTATION_REQUIRED, ORDER_ID_RESERVED, NO_CREDENTIALS_FOR_MODE, LIVEMODE_MISMATCH, PSP_OUTCOME_UNKNOWN, PAYMENT_METHOD_REQUIRED, PAYMENT_METHOD_INPUT_WITHOUT_METHOD, NO_PAYMENT_METHODS, IDEMPOTENCY_KEY_INVALID, DUPLICATE_ORDER_ID, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_REUSED, UPSTREAM_ERROR, UPSTREAM_UNAVAILABLE, UPSTREAM_TIMEOUT, REFUND_INVALID_AMOUNT, REFUND_INVALID_REASON, REFUND_INVALID_METADATA, REFUND_INPUT_INVALID, REFUND_EXCEEDS_AMOUNT, TRANSACTION_NOT_REFUNDABLE, REFUND_NOT_FOUND, REFUND_NOT_SUPPORTED, IDEMPOTENCY_LEASE_LOST, REFUND_SERVICE_UNAVAILABLE. New codes may be added; clients must handle unknown values.","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"oneOf.1.errorCode","typeLabel":"string"},"message":{"example":"A transaction with orderId \"A-1001\" already exists for this merchant","type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"status":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"boolean"},"statusCode":{"example":409,"type":"number","isRequired":true,"uniqueKey":"oneOf.1.statusCode","typeLabel":"number"},"existingTransactionId":{"description":"DUPLICATE_ORDER_ID only: the transaction that already uses this orderId","example":"tr_x8k2p0q5scocndpejk0nud75q","type":"string","uniqueKey":"oneOf.1.existingTransactionId","typeLabel":"string"},"fields":{"description":"Invalid or missing buyer contact fields for CUSTOMER_CONTACT_REQUIRED","example":["customer.email","customer.country"],"items":{"type":"string","uniqueKey":"oneOf.1.fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"oneOf.1.fields","typeLabel":"string[]"},"idempotencyKey":{"description":"IDEMPOTENCY_* errors only","example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","uniqueKey":"oneOf.1.idempotencyKey","typeLabel":"string"},"orderId":{"description":"DUPLICATE_ORDER_ID only","example":"A-1001","type":"string","uniqueKey":"oneOf.1.orderId","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"Invalid request: body validation (e.g. `amount` sent as a JSON number) or an invalid `Idempotency-Key` (IDEMPOTENCY_KEY_INVALID), NO_CREDENTIALS_FOR_MODE (no usable credential in the key mode).","exampleType":"examples"},"342931af-6e3e-490e-a4f7-1ba1269d7ee6":{"content":{"application/json":{"example":{"error":"Unauthorized","message":"Invalid API key","statusCode":401},"schema":{"properties":{"message":{"example":"Invalid API key","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"error":{"example":"Unauthorized","type":"string","uniqueKey":"error","typeLabel":"string"},"errorCode":{"description":"Stable authentication error code when available","example":"API_KEY_ROTATION_REQUIRED","type":"string","uniqueKey":"errorCode","typeLabel":"string"},"statusCode":{"description":"HTTP status when included by the error handler","example":401,"type":"number","uniqueKey":"statusCode","typeLabel":"number"}},"required":["message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized","message":"Invalid API key","statusCode":401}}},"exampleType":"examples"}},"description":"Invalid API key","exampleType":"examples"},"e0d9645a-0521-4c86-83a8-5ba2628cf1b1":{"content":{"application/json":{"examples":{"duplicateOrder":{"title":"duplicateOrder","value":{"error":"DUPLICATE_ORDER_ID","errorCode":"DUPLICATE_ORDER_ID","existingTransactionId":"tr_x8k2p0q5scocndpejk0nud75q","message":"A transaction with orderId \"A-1001\" already exists for this merchant","orderId":"A-1001","status":false,"statusCode":409}},"inProgress":{"title":"inProgress","value":{"error":"IDEMPOTENCY_IN_PROGRESS","errorCode":"IDEMPOTENCY_IN_PROGRESS","idempotencyKey":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","message":"A request with this Idempotency-Key is still being processed; retry later","status":false,"statusCode":409}}},"schema":{"properties":{"error":{"description":"Same as errorCode","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"errorCode":{"description":"Machine-readable, extensible code. Known values: ADYEN_REFUSED, CARD_DATA_NOT_ACCEPTED, RATE_LIMITED, PAYMENT_LINK_INVALID_AMOUNT, PAYMENT_LINK_UNSUPPORTED_CURRENCY, PAYMENT_LINK_INVALID_EXPIRY, PAYMENT_LINK_INVALID_MAX_USES, PAYMENT_LINK_REDIRECT_URL_NOT_ALLOWED, PAYMENT_LINK_METADATA_TOO_LARGE, PAYMENT_LINK_INVALID_TEXT, PAYMENT_LINK_NOT_FOUND, PAYMENT_LINK_INVALID_LIMIT, PAYMENT_LINK_INVALID_CURSOR, API_KEY_ROTATION_REQUIRED, ORDER_ID_RESERVED, NO_CREDENTIALS_FOR_MODE, LIVEMODE_MISMATCH, PSP_OUTCOME_UNKNOWN, PAYMENT_METHOD_REQUIRED, PAYMENT_METHOD_INPUT_WITHOUT_METHOD, NO_PAYMENT_METHODS, IDEMPOTENCY_KEY_INVALID, DUPLICATE_ORDER_ID, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_REUSED, UPSTREAM_ERROR, UPSTREAM_UNAVAILABLE, UPSTREAM_TIMEOUT, REFUND_INVALID_AMOUNT, REFUND_INVALID_REASON, REFUND_INVALID_METADATA, REFUND_INPUT_INVALID, REFUND_EXCEEDS_AMOUNT, TRANSACTION_NOT_REFUNDABLE, REFUND_NOT_FOUND, REFUND_NOT_SUPPORTED, IDEMPOTENCY_LEASE_LOST, REFUND_SERVICE_UNAVAILABLE. New codes may be added; clients must handle unknown values.","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"example":"A transaction with orderId \"A-1001\" already exists for this merchant","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"statusCode":{"example":409,"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"existingTransactionId":{"description":"DUPLICATE_ORDER_ID only: the transaction that already uses this orderId","example":"tr_x8k2p0q5scocndpejk0nud75q","type":"string","uniqueKey":"existingTransactionId","typeLabel":"string"},"fields":{"description":"Invalid or missing buyer contact fields for CUSTOMER_CONTACT_REQUIRED","example":["customer.email","customer.country"],"items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"fields","typeLabel":"string[]"},"idempotencyKey":{"description":"IDEMPOTENCY_* errors only","example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","uniqueKey":"idempotencyKey","typeLabel":"string"},"orderId":{"description":"DUPLICATE_ORDER_ID only","example":"A-1001","type":"string","uniqueKey":"orderId","typeLabel":"string"}},"required":["status","statusCode","errorCode","error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"DUPLICATE_ORDER_ID: the merchant already has a transaction with this `orderId` (see `existingTransactionId`); or IDEMPOTENCY_IN_PROGRESS: a request with the same Idempotency-Key is still running, retry after `Retry-After` seconds with the same key.","headers":{"Idempotency-Replayed":{"description":"Present when this 409 is a replay of an earlier answer for the same key","schema":{"enum":["true"],"type":"string"}},"Retry-After":{"description":"IDEMPOTENCY_IN_PROGRESS only: seconds to wait before retrying","schema":{"example":"1","type":"string"}}},"exampleType":"examples"},"dfe7c0b3-087f-455a-825c-a9ea279298e9":{"content":{"application/json":{"examples":{"customerContact":{"title":"customerContact","value":{"error":"CUSTOMER_CONTACT_REQUIRED","errorCode":"CUSTOMER_CONTACT_REQUIRED","fields":["customer.email","customer.country"],"message":"The selected payment method requires valid customer contact details","status":false,"statusCode":422}},"reusedKey":{"title":"reusedKey","value":{"error":"IDEMPOTENCY_KEY_REUSED","errorCode":"IDEMPOTENCY_KEY_REUSED","idempotencyKey":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","message":"Idempotency-Key was already used with a different request; use a new key for a new request","status":false,"statusCode":422}}},"schema":{"properties":{"error":{"description":"Same as errorCode","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"errorCode":{"description":"Machine-readable, extensible code. Known values: ADYEN_REFUSED, CARD_DATA_NOT_ACCEPTED, RATE_LIMITED, PAYMENT_LINK_INVALID_AMOUNT, PAYMENT_LINK_UNSUPPORTED_CURRENCY, PAYMENT_LINK_INVALID_EXPIRY, PAYMENT_LINK_INVALID_MAX_USES, PAYMENT_LINK_REDIRECT_URL_NOT_ALLOWED, PAYMENT_LINK_METADATA_TOO_LARGE, PAYMENT_LINK_INVALID_TEXT, PAYMENT_LINK_NOT_FOUND, PAYMENT_LINK_INVALID_LIMIT, PAYMENT_LINK_INVALID_CURSOR, API_KEY_ROTATION_REQUIRED, ORDER_ID_RESERVED, NO_CREDENTIALS_FOR_MODE, LIVEMODE_MISMATCH, PSP_OUTCOME_UNKNOWN, PAYMENT_METHOD_REQUIRED, PAYMENT_METHOD_INPUT_WITHOUT_METHOD, NO_PAYMENT_METHODS, IDEMPOTENCY_KEY_INVALID, DUPLICATE_ORDER_ID, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_REUSED, UPSTREAM_ERROR, UPSTREAM_UNAVAILABLE, UPSTREAM_TIMEOUT, REFUND_INVALID_AMOUNT, REFUND_INVALID_REASON, REFUND_INVALID_METADATA, REFUND_INPUT_INVALID, REFUND_EXCEEDS_AMOUNT, TRANSACTION_NOT_REFUNDABLE, REFUND_NOT_FOUND, REFUND_NOT_SUPPORTED, IDEMPOTENCY_LEASE_LOST, REFUND_SERVICE_UNAVAILABLE. New codes may be added; clients must handle unknown values.","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"example":"A transaction with orderId \"A-1001\" already exists for this merchant","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"statusCode":{"example":409,"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"existingTransactionId":{"description":"DUPLICATE_ORDER_ID only: the transaction that already uses this orderId","example":"tr_x8k2p0q5scocndpejk0nud75q","type":"string","uniqueKey":"existingTransactionId","typeLabel":"string"},"fields":{"description":"Invalid or missing buyer contact fields for CUSTOMER_CONTACT_REQUIRED","example":["customer.email","customer.country"],"items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"fields","typeLabel":"string[]"},"idempotencyKey":{"description":"IDEMPOTENCY_* errors only","example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","uniqueKey":"idempotencyKey","typeLabel":"string"},"orderId":{"description":"DUPLICATE_ORDER_ID only","example":"A-1001","type":"string","uniqueKey":"orderId","typeLabel":"string"}},"required":["status","statusCode","errorCode","error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"exampleType":"examples"}},"description":"IDEMPOTENCY_KEY_REUSED: the Idempotency-Key was already used with a different request; ORDER_ID_RESERVED: the pl_ orderId prefix is reserved for payment links; CUSTOMER_CONTACT_REQUIRED: the selected Adyen/Brite method requires valid customer contact fields before creation","exampleType":"examples"},"864511c5-cb66-433e-9a1b-929be4330e76":{"content":{"application/json":{"example":{"error":"RATE_LIMITED","errorCode":"RATE_LIMITED","message":"Too many requests. Retry after the indicated delay.","status":false,"statusCode":429},"schema":{"properties":{"error":{"description":"Same as errorCode","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"errorCode":{"description":"Machine-readable, extensible code. Known values: ADYEN_REFUSED, CARD_DATA_NOT_ACCEPTED, RATE_LIMITED, PAYMENT_LINK_INVALID_AMOUNT, PAYMENT_LINK_UNSUPPORTED_CURRENCY, PAYMENT_LINK_INVALID_EXPIRY, PAYMENT_LINK_INVALID_MAX_USES, PAYMENT_LINK_REDIRECT_URL_NOT_ALLOWED, PAYMENT_LINK_METADATA_TOO_LARGE, PAYMENT_LINK_INVALID_TEXT, PAYMENT_LINK_NOT_FOUND, PAYMENT_LINK_INVALID_LIMIT, PAYMENT_LINK_INVALID_CURSOR, API_KEY_ROTATION_REQUIRED, ORDER_ID_RESERVED, NO_CREDENTIALS_FOR_MODE, LIVEMODE_MISMATCH, PSP_OUTCOME_UNKNOWN, PAYMENT_METHOD_REQUIRED, PAYMENT_METHOD_INPUT_WITHOUT_METHOD, NO_PAYMENT_METHODS, IDEMPOTENCY_KEY_INVALID, DUPLICATE_ORDER_ID, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_REUSED, UPSTREAM_ERROR, UPSTREAM_UNAVAILABLE, UPSTREAM_TIMEOUT, REFUND_INVALID_AMOUNT, REFUND_INVALID_REASON, REFUND_INVALID_METADATA, REFUND_INPUT_INVALID, REFUND_EXCEEDS_AMOUNT, TRANSACTION_NOT_REFUNDABLE, REFUND_NOT_FOUND, REFUND_NOT_SUPPORTED, IDEMPOTENCY_LEASE_LOST, REFUND_SERVICE_UNAVAILABLE. New codes may be added; clients must handle unknown values.","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"example":"A transaction with orderId \"A-1001\" already exists for this merchant","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"statusCode":{"example":409,"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"existingTransactionId":{"description":"DUPLICATE_ORDER_ID only: the transaction that already uses this orderId","example":"tr_x8k2p0q5scocndpejk0nud75q","type":"string","uniqueKey":"existingTransactionId","typeLabel":"string"},"fields":{"description":"Invalid or missing buyer contact fields for CUSTOMER_CONTACT_REQUIRED","example":["customer.email","customer.country"],"items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"fields","typeLabel":"string[]"},"idempotencyKey":{"description":"IDEMPOTENCY_* errors only","example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","uniqueKey":"idempotencyKey","typeLabel":"string"},"orderId":{"description":"DUPLICATE_ORDER_ID only","example":"A-1001","type":"string","uniqueKey":"orderId","typeLabel":"string"}},"required":["status","statusCode","errorCode","error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"RATE_LIMITED","errorCode":"RATE_LIMITED","message":"Too many requests. Retry after the indicated delay.","status":false,"statusCode":429}}},"exampleType":"examples"}},"description":"RATE_LIMITED: IP, merchant or failed-auth quota exhausted, or auth-in-flight concurrency pressure (Retry-After: 1). Wait Retry-After seconds and retry with the same Idempotency-Key.","headers":{"RateLimit":{"description":"Remaining requests (r) and seconds to reset/full refill (t), per evaluated policy. Absent when disabled; merchant quota is omitted during Redis outages, while IP/auth protection uses replica memory.","schema":{"example":"\"merchant\";r=37;t=4","type":"string"}},"RateLimit-Policy":{"description":"Evaluated policies (draft-ietf-httpapi-ratelimit-headers-11). q is burst quota; w is the full refill window in seconds.","schema":{"example":"\"merchant\";q=100;w=5","type":"string"}},"Retry-After":{"description":"Minimum delay in whole seconds before retrying.","schema":{"example":1,"minimum":1,"type":"integer"}}},"exampleType":"examples"},"50e66d6e-062b-49be-b08d-023112ec9f98":{"content":{"application/json":{"example":{"error":"UPSTREAM_ERROR","errorCode":"UPSTREAM_ERROR","message":"The payment core failed to process the request; retry with the same Idempotency-Key","status":false,"statusCode":502},"schema":{"properties":{"error":{"description":"Same as errorCode","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"errorCode":{"description":"Machine-readable, extensible code. Known values: ADYEN_REFUSED, CARD_DATA_NOT_ACCEPTED, RATE_LIMITED, PAYMENT_LINK_INVALID_AMOUNT, PAYMENT_LINK_UNSUPPORTED_CURRENCY, PAYMENT_LINK_INVALID_EXPIRY, PAYMENT_LINK_INVALID_MAX_USES, PAYMENT_LINK_REDIRECT_URL_NOT_ALLOWED, PAYMENT_LINK_METADATA_TOO_LARGE, PAYMENT_LINK_INVALID_TEXT, PAYMENT_LINK_NOT_FOUND, PAYMENT_LINK_INVALID_LIMIT, PAYMENT_LINK_INVALID_CURSOR, API_KEY_ROTATION_REQUIRED, ORDER_ID_RESERVED, NO_CREDENTIALS_FOR_MODE, LIVEMODE_MISMATCH, PSP_OUTCOME_UNKNOWN, PAYMENT_METHOD_REQUIRED, PAYMENT_METHOD_INPUT_WITHOUT_METHOD, NO_PAYMENT_METHODS, IDEMPOTENCY_KEY_INVALID, DUPLICATE_ORDER_ID, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_REUSED, UPSTREAM_ERROR, UPSTREAM_UNAVAILABLE, UPSTREAM_TIMEOUT, REFUND_INVALID_AMOUNT, REFUND_INVALID_REASON, REFUND_INVALID_METADATA, REFUND_INPUT_INVALID, REFUND_EXCEEDS_AMOUNT, TRANSACTION_NOT_REFUNDABLE, REFUND_NOT_FOUND, REFUND_NOT_SUPPORTED, IDEMPOTENCY_LEASE_LOST, REFUND_SERVICE_UNAVAILABLE. New codes may be added; clients must handle unknown values.","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"example":"A transaction with orderId \"A-1001\" already exists for this merchant","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"statusCode":{"example":409,"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"existingTransactionId":{"description":"DUPLICATE_ORDER_ID only: the transaction that already uses this orderId","example":"tr_x8k2p0q5scocndpejk0nud75q","type":"string","uniqueKey":"existingTransactionId","typeLabel":"string"},"fields":{"description":"Invalid or missing buyer contact fields for CUSTOMER_CONTACT_REQUIRED","example":["customer.email","customer.country"],"items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"fields","typeLabel":"string[]"},"idempotencyKey":{"description":"IDEMPOTENCY_* errors only","example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","uniqueKey":"idempotencyKey","typeLabel":"string"},"orderId":{"description":"DUPLICATE_ORDER_ID only","example":"A-1001","type":"string","uniqueKey":"orderId","typeLabel":"string"}},"required":["status","statusCode","errorCode","error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"UPSTREAM_ERROR","errorCode":"UPSTREAM_ERROR","message":"The payment core failed to process the request; retry with the same Idempotency-Key","status":false,"statusCode":502}}},"exampleType":"examples"}},"description":"UPSTREAM_ERROR / UPSTREAM_UNAVAILABLE: the payment core failed or is unreachable. Retry with the same Idempotency-Key.","exampleType":"examples"},"60bab9b8-20f9-4441-93f7-a55a6c672221":{"content":{"application/json":{"schema":{"properties":{"error":{"example":"Service Unavailable","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"example":"API_KEY_VALIDATION_UNAVAILABLE","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"statusCode":{"example":503,"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"}},"required":["statusCode","error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Service Unavailable","message":"API_KEY_VALIDATION_UNAVAILABLE","statusCode":503}}},"exampleType":"generated"}},"description":"API key validation is temporarily unavailable; retry later with the same request","exampleType":"generated"},"d83f0d45-f994-4299-9a7f-f00afd952312":{"content":{"application/json":{"example":{"error":"UPSTREAM_TIMEOUT","errorCode":"UPSTREAM_TIMEOUT","message":"The payment core did not answer in time; the operation may still complete. Retry with the same Idempotency-Key to get its result","status":false,"statusCode":504},"schema":{"properties":{"error":{"description":"Same as errorCode","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"errorCode":{"description":"Machine-readable, extensible code. Known values: ADYEN_REFUSED, CARD_DATA_NOT_ACCEPTED, RATE_LIMITED, PAYMENT_LINK_INVALID_AMOUNT, PAYMENT_LINK_UNSUPPORTED_CURRENCY, PAYMENT_LINK_INVALID_EXPIRY, PAYMENT_LINK_INVALID_MAX_USES, PAYMENT_LINK_REDIRECT_URL_NOT_ALLOWED, PAYMENT_LINK_METADATA_TOO_LARGE, PAYMENT_LINK_INVALID_TEXT, PAYMENT_LINK_NOT_FOUND, PAYMENT_LINK_INVALID_LIMIT, PAYMENT_LINK_INVALID_CURSOR, API_KEY_ROTATION_REQUIRED, ORDER_ID_RESERVED, NO_CREDENTIALS_FOR_MODE, LIVEMODE_MISMATCH, PSP_OUTCOME_UNKNOWN, PAYMENT_METHOD_REQUIRED, PAYMENT_METHOD_INPUT_WITHOUT_METHOD, NO_PAYMENT_METHODS, IDEMPOTENCY_KEY_INVALID, DUPLICATE_ORDER_ID, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_KEY_REUSED, UPSTREAM_ERROR, UPSTREAM_UNAVAILABLE, UPSTREAM_TIMEOUT, REFUND_INVALID_AMOUNT, REFUND_INVALID_REASON, REFUND_INVALID_METADATA, REFUND_INPUT_INVALID, REFUND_EXCEEDS_AMOUNT, TRANSACTION_NOT_REFUNDABLE, REFUND_NOT_FOUND, REFUND_NOT_SUPPORTED, IDEMPOTENCY_LEASE_LOST, REFUND_SERVICE_UNAVAILABLE. New codes may be added; clients must handle unknown values.","example":"DUPLICATE_ORDER_ID","type":"string","isRequired":true,"uniqueKey":"errorCode","typeLabel":"string"},"message":{"example":"A transaction with orderId \"A-1001\" already exists for this merchant","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"status":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"status","typeLabel":"boolean"},"statusCode":{"example":409,"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"existingTransactionId":{"description":"DUPLICATE_ORDER_ID only: the transaction that already uses this orderId","example":"tr_x8k2p0q5scocndpejk0nud75q","type":"string","uniqueKey":"existingTransactionId","typeLabel":"string"},"fields":{"description":"Invalid or missing buyer contact fields for CUSTOMER_CONTACT_REQUIRED","example":["customer.email","customer.country"],"items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"fields","typeLabel":"string[]"},"idempotencyKey":{"description":"IDEMPOTENCY_* errors only","example":"0b6f2c1e-4c7a-4a43-9a51-6a4b1d7e9f10","type":"string","uniqueKey":"idempotencyKey","typeLabel":"string"},"orderId":{"description":"DUPLICATE_ORDER_ID only","example":"A-1001","type":"string","uniqueKey":"orderId","typeLabel":"string"}},"required":["status","statusCode","errorCode","error","message"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"UPSTREAM_TIMEOUT","errorCode":"UPSTREAM_TIMEOUT","message":"The payment core did not answer in time; the operation may still complete. Retry with the same Idempotency-Key to get its result","status":false,"statusCode":504}}},"exampleType":"examples"}},"description":"UPSTREAM_TIMEOUT: no answer in time; the operation may still complete. Retry with the same Idempotency-Key to get its result.","exampleType":"examples"}},"security":{"1e0d2972-930a-47eb-9abf-c7da58d8400d":{"X-API-Key":{"in":"header","name":"x-api-key","type":"apiKey","scopes":[],"schemeName":"X-API-Key"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"x-api-key","type":"apiKey","scopes":[],"schemeName":"X-API-Key"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"X-API-Key","name":"x-api-key"}],"title":"X-API-Key"}]},"originalFileLocation":"openapi.json"},"subdomain":"orsunpay","siteName":"OrsunPay","title":"Create deposit transaction (Sale) - OrsunPay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T02:29:56.990Z","originalFileLocation":"api-reference/payments/create-deposit-transaction-sale.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=\"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (\u0026quot;amount\u0026quot;: \u0026quot;10.00\u0026quot;), in the request and in the response. Without paymentMethod, or with incomplete paymentMethodInput, the response carries paymentPageUrl: the hosted payment page where the buyer picks a method and types the missing details.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OrsunPay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_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/orsunpay/XvMZZnN-BopedfX_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create deposit transaction (Sale) - OrsunPay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (\u0026quot;amount\u0026quot;: \u0026quot;10.00\u0026quot;), in the request and in the response. Without paymentMethod, or with incomplete paymentMethodInput, the response carries paymentPageUrl: the hosted payment page where the buyer picks a method and types the missing details.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OrsunPay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://orsunpay.mintlify.site/_mintlify/api/og/v2?division=Payments\u0026amp;title=Create+deposit+transaction+%28Sale%29\u0026amp;description=Creates+a+new+deposit+transaction+for+customer+account+funding.+Supports+various+payment+methods+including+cryptocurrencies%2C+e-wallets%2C+and+BNPL+services.+Money\u0026amp;theme=29e3bf99624baacd33338dc6\u0026amp;signature=68ce34b5b8eddd37b75342e6df6b63cd0bcad16c0c4f3a8973cb0b45cab3f69c\">\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 deposit transaction (Sale) - OrsunPay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (\u0026quot;amount\u0026quot;: \u0026quot;10.00\u0026quot;), in the request and in the response. Without paymentMethod, or with incomplete paymentMethodInput, the response carries paymentPageUrl: the hosted payment page where the buyer picks a method and types the missing details.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://orsunpay.mintlify.site/_mintlify/api/og/v2?division=Payments\u0026amp;title=Create+deposit+transaction+%28Sale%29\u0026amp;description=Creates+a+new+deposit+transaction+for+customer+account+funding.+Supports+various+payment+methods+including+cryptocurrencies%2C+e-wallets%2C+and+BNPL+services.+Money\u0026amp;theme=29e3bf99624baacd33338dc6\u0026amp;signature=68ce34b5b8eddd37b75342e6df6b63cd0bcad16c0c4f3a8973cb0b45cab3f69c\">\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/orsunpay/XvMZZnN-BopedfX_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OrsunPay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#826300\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payments/create-deposit-transaction-sale.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.orsunpay.com/#organization\",\"name\":\"OrsunPay\",\"url\":\"https://docs.orsunpay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/orsunpay/9giosiM-mO_kwig_/brand/logo-light.svg?fit=max\u0026auto=format\u0026n=9giosiM-mO_kwig_\u0026q=85\u0026s=993e4b5b338d8309f92a9295890ce0b8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.orsunpay.com#website\",\"name\":\"OrsunPay\",\"url\":\"https://docs.orsunpay.com\",\"publisher\":{\"@id\":\"https://docs.orsunpay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale#webpage\",\"url\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale\",\"name\":\"Create deposit transaction (Sale)\",\"description\":\"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (\\\"amount\\\": \\\"10.00\\\"), in the request and in the response. Without paymentMethod, or with incomplete paymentMethodInput, the response carries paymentPageUrl: the hosted payment page where the buyer picks a method and types the missing details.\",\"dateModified\":\"2026-11-06T02:29:56.990Z\",\"isPartOf\":{\"@id\":\"https://docs.orsunpay.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.orsunpay.com/api-reference/cashier-player/create-a-crypto-invoice\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Payments\",\"item\":\"https://docs.orsunpay.com/api-reference/payments/list-payments-or-find-by-order-id\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create deposit transaction (Sale)\",\"item\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale#apireference\",\"headline\":\"Create deposit transaction (Sale)\",\"name\":\"Create deposit transaction (Sale)\",\"description\":\"Creates a new deposit transaction for customer account funding. Supports various payment methods including cryptocurrencies, e-wallets, and BNPL services. Money is a decimal string in major units (\\\"amount\\\": \\\"10.00\\\"), in the request and in the response. Without paymentMethod, or with incomplete paymentMethodInput, the response carries paymentPageUrl: the hosted payment page where the buyer picks a method and types the missing details.\",\"url\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale\",\"mainEntityOfPage\":{\"@id\":\"https://docs.orsunpay.com/api-reference/payments/create-deposit-transaction-sale#webpage\"},\"dateModified\":\"2026-11-06T02:29:56.990Z\",\"publisher\":{\"@id\":\"https://docs.orsunpay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.orsunpay.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OrsunPay\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OrsunPay","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Using the API","pages":[{"title":"Merchant API reference","sidebarTitle":"API overview","href":"/api-overview"}]},{"group":"Endpoints","pages":[{"group":"Cashier player","pages":[{"title":"Create a crypto invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/crypto/invoices","href":"/api-reference/cashier-player/create-a-crypto-invoice"},{"title":"Retrieve a crypto invoice","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/crypto/invoices/{id}","href":"/api-reference/cashier-player/retrieve-a-crypto-invoice"},{"title":"Quote a crypto deposit","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/crypto/quote","href":"/api-reference/cashier-player/quote-a-crypto-deposit"},{"title":"List eligible deposit methods","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/methods","href":"/api-reference/cashier-player/list-eligible-deposit-methods"},{"title":"List cashier operations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/operations","href":"/api-reference/cashier-player/list-cashier-operations"},{"title":"Submit a deposit","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/operations","href":"/api-reference/cashier-player/submit-a-deposit"},{"title":"Retrieve a cashier operation","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/operations/{id}","href":"/api-reference/cashier-player/retrieve-a-cashier-operation"},{"title":"Quote a deposit","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/quote","href":"/api-reference/cashier-player/quote-a-deposit"},{"title":"Refresh cashier authorization","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/reauthorize","href":"/api-reference/cashier-player/refresh-cashier-authorization"},{"title":"Read the authenticated player cashier and its currency","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/session","href":"/api-reference/cashier-player/read-the-authenticated-player-cashier-and-its-currency"},{"title":"Read the immutable presentation pinned when the player session was created","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/template","href":"/api-reference/cashier-player/read-the-immutable-presentation-pinned-when-the-player-session-was-created"},{"title":"List withdrawals","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/withdrawals","href":"/api-reference/cashier-player/list-withdrawals"},{"title":"Request a withdrawal","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/withdrawals","href":"/api-reference/cashier-player/request-a-withdrawal"},{"title":"List eligible withdrawal methods","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/withdrawals/choices","href":"/api-reference/cashier-player/list-eligible-withdrawal-methods"},{"title":"Quote a withdrawal","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/withdrawals/quote","href":"/api-reference/cashier-player/quote-a-withdrawal"},{"title":"Retrieve a withdrawal","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/withdrawals/{id}","href":"/api-reference/cashier-player/retrieve-a-withdrawal"},{"title":"Cancel a withdrawal","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/withdrawals/{id}/cancel","href":"/api-reference/cashier-player/cancel-a-withdrawal"},{"title":"Reconcile a withdrawal reservation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier-ui/withdrawals/{id}/reconcile-reserve","href":"/api-reference/cashier-player/reconcile-a-withdrawal-reservation"}]},{"group":"Cashier embedding policy","pages":[{"title":"Read the stored merchant frame origin; does not authorize a session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/cashier-ui/frame-policy/{id}","href":"/api-reference/cashier-embedding-policy/read-the-stored-merchant-frame-origin;-does-not-authorize-a-session"}]},{"group":"Cashier sessions (merchant S2S)","pages":[{"title":"Authorize a player cashier from the merchant backend","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier/sessions","href":"/api-reference/cashier-sessions-merchant-s2s/authorize-a-player-cashier-from-the-merchant-backend"},{"title":"Renew player access for the same bound instance","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier/sessions/{id}/access-grants","href":"/api-reference/cashier-sessions-merchant-s2s/renew-player-access-for-the-same-bound-instance"},{"title":"Revoke this player cashier immediately","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier/sessions/{id}/revoke","href":"/api-reference/cashier-sessions-merchant-s2s/revoke-this-player-cashier-immediately"},{"title":"Acknowledge a wallet effect","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/cashier/wallet/receipts","href":"/api-reference/cashier-sessions-merchant-s2s/acknowledge-a-wallet-effect"}]},{"group":"Payments","pages":[{"title":"List payments or find by order ID","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment","href":"/api-reference/payments/list-payments-or-find-by-order-id"},{"title":"Create withdrawal transaction (Payout)","description":"Creates a payout through an eligible provider connection. Use the payment method configured for the merchant, mode, currency and payout rail. Colibrix card payouts require sourceTransactionId from an eligible earlier sale. Bank payouts require a supported connection and its beneficiary fields. Money is a decimal string in major units (`\"amount\": \"10.00\"`), in the request and in the response.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment/payout","href":"/api-reference/payments/create-withdrawal-transaction-payout"},{"title":"Create deposit transaction (Sale)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment/sale","href":"/api-reference/payments/create-deposit-transaction-sale"},{"title":"Get a payment by ID","description":"Stored status only; never creates or retries a PSP operation. Same response as GET /v1/transactions/:id.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment/{id}","href":"/api-reference/payments/get-a-payment-by-id"}]},{"group":"Payment links","pages":[{"title":"List the authenticated merchant’s links, newest first","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment-links","href":"/api-reference/payment-links/list-the-authenticated-merchant’s-links-newest-first"},{"title":"Create a merchant-scoped payment link","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment-links","href":"/api-reference/payment-links/create-a-merchant-scoped-payment-link"},{"title":"Get a link owned by the authenticated merchant","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment-links/{id}","href":"/api-reference/payment-links/get-a-link-owned-by-the-authenticated-merchant"},{"title":"Permanently deactivate a link; repeated requests are safe","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment-links/{id}/deactivate","href":"/api-reference/payment-links/permanently-deactivate-a-link;-repeated-requests-are-safe"}]},{"group":"Refunds","pages":[{"title":"List refunds for a payment","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/payment/{id}/refunds","href":"/api-reference/refunds/list-refunds-for-a-payment"},{"title":"Request a full or partial refund","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/payment/{id}/refunds","href":"/api-reference/refunds/request-a-full-or-partial-refund"},{"title":"Get a refund","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/refunds/{id}","href":"/api-reference/refunds/get-a-refund"}]},{"group":"Transactions","pages":[{"title":"Poll a merchant transaction","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/transactions/{id}","href":"/api-reference/transactions/poll-a-merchant-transaction"}]},{"group":"Usage billing","pages":[{"title":"Record a usage event","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/events","href":"/api-reference/usage-billing/record-a-usage-event"},{"title":"List usage invoices","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage-billing/invoices","href":"/api-reference/usage-billing/list-usage-invoices"},{"title":"List usage plans","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage-billing/plans","href":"/api-reference/usage-billing/list-usage-plans"},{"title":"Create a usage plan","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/plans","href":"/api-reference/usage-billing/create-a-usage-plan"},{"title":"List usage subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage-billing/subscriptions","href":"/api-reference/usage-billing/list-usage-subscriptions"},{"title":"Create a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions","href":"/api-reference/usage-billing/create-a-usage-subscription"},{"title":"Get a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage-billing/subscriptions/{id}","href":"/api-reference/usage-billing/get-a-usage-subscription"},{"title":"confirmAutoRenew for a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/auto-renew/confirm","href":"/api-reference/usage-billing/confirmautorenew-for-a-usage-subscription"},{"title":"disableAutoRenew for a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/auto-renew/disable","href":"/api-reference/usage-billing/disableautorenew-for-a-usage-subscription"},{"title":"setupAutoRenew for a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/auto-renew/setup","href":"/api-reference/usage-billing/setupautorenew-for-a-usage-subscription"},{"title":"Cancel a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/cancel","href":"/api-reference/usage-billing/cancel-a-usage-subscription"},{"title":"notifications for a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/notifications","href":"/api-reference/usage-billing/notifications-for-a-usage-subscription"},{"title":"paymentHistory for a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage-billing/subscriptions/{id}/payments/history","href":"/api-reference/usage-billing/paymenthistory-for-a-usage-subscription"},{"title":"recoverPayment for a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/payments/recover","href":"/api-reference/usage-billing/recoverpayment-for-a-usage-subscription"},{"title":"Reconcile a usage subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/usage-billing/subscriptions/{id}/sync","href":"/api-reference/usage-billing/reconcile-a-usage-subscription"}]},{"group":"Webhooks","pages":[{"title":"Refund failed event","version":null,"deprecated":null,"openapi":"/openapi.json webhook refundFailed","href":"/api-reference/webhooks/refund-failed-event"},{"title":"Refund succeeded event","version":null,"deprecated":null,"openapi":"/openapi.json webhook refundSucceeded","href":"/api-reference/webhooks/refund-succeeded-event"},{"title":"Transaction status event","version":null,"deprecated":null,"openapi":"/openapi.json webhook transactionUpdated","href":"/api-reference/webhooks/transaction-status-event"}]}]}]},{"tab":"Payment methods","pages":[{"title":"Payment methods","href":"/payment-methods"}]},{"tab":"Workspaces","pages":[{"title":"Workspaces","href":"/merchant-cabinet"}]}]},"basePath":"","title":"Create deposit transaction (Sale) - OrsunPay","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}