{
"status": "error",
"message": "You are not authorized to initiate transactions with this currency",
"data": null
}
{
"status": "error",
"message": "Too many requests. Max 120 per 60s.",
"data": null
}
Auth method: Basic (Access ID) — this endpoint only requires your
x-access-id header. No request signing is needed. See
Authentication.
Prices a payment the same way Initiate Payment By Fiat Currency
does, but creates nothing: no deposit address, no transaction and no webhook. Use it to show the
customer the exact total, including fees, before they commit to a chain and currency.totalPayable is the same all-in figure that initiation returns as amount/coinAmount: the
payment plus the receive fee, any activation fee, any auto-payout fees and, on Tron, the gasless
network service fee. Prices can move between the quote and initiation, so the initiated amount can
differ slightly if time passes.The same checks apply as on initiation, including the minimum amount and your outlet’s allowed
currencies. Payment endpoints share a limit of 120 requests per minute. See
Rate limits.
Path Parameters
string
required
Fiat currency code that amount is priced in, such as ngn or usd. Use a fiat currency
listed by Fetch All Currencies with type=fiat.Example:"ngn"
Headers
string
required
Your API access ID provided by TenderExample:"your-access-id-here"
string
required
Media type of the request bodyExample:"application/json"
Body
string
required
The price to charge, in the fiat currency named in the path, as a decimal stringExample:"15000"
Cryptocurrency identifier. Must be supported on chain and allowed for your outlet.Example:"usdt"
Response
string
required
Status of the API requestExample:"success"
string
required
Human-readable message describing the resultExample:"success"
object
required
The quote
Show data properties
string
Cryptocurrency identifierExample:"usdt"
string
Cryptocurrency symbolExample:"USDT"
string
Chain identifierExample:"tron"
string
The fiat currency the quote is priced inExample:"ngn"
number
Price of one unit of the cryptocurrency in currencyExample:1500
number
Price of one unit of the cryptocurrency in USDExample:1
number
The payment itself in the cryptocurrency, before feesExample:10
number
Every fee the customer covers, combined, in the cryptocurrencyExample:0.15
number
fee in USDExample:0.15
number
The all-in cryptocurrency amount the customer would send (coinAmount + fee)Example:10.15
number
totalPayable in USDExample:10.15
Errors
HTTP
Message
Cause
400
amount must be a string (or another validation message)
A required field is missing or has the wrong type
400
Invalid chain / Chain not active
Unknown or disabled chain
400
invalid Currency / Currency not allowed
Unknown currency, or not supported on chain
400
Amount can't be Zero
amount is zero or negative
400
Minimum initiated amount is <n> USD
The payment is below the minimum
400
Invalid Coin Exchange Price
No price is available for the currency right now
403
You are not authorized to initiate transactions with this currency
The currency isn’t in your outlet’s allowed currencies
An unsupported fiat code in the path fails the request; use a code listed by Fetch All Currencies.
Error responses use the standard envelope with data: null. See Errors.
Basic (Access ID) authentication. Only the x-access-id header is required; no request signing.
Headers
x-access-id
string
required
Your API access ID provided by Tender
Content-Type
string
required
Media type of the request body
Path Parameters
id
string
required
Fiat currency code that amount is priced in (e.g. ngn, usd)
Body
application/json
amount
string
required
Price in the fiat currency named in the path
Example:
"15000"
chain
string
required
Example:
"tron"
currency
string
required
Cryptocurrency identifier
Example:
"usdt"
Response
Quote generated
status
string
Example:
"success"
message
string
Example:
"success"
data
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tender API Docs","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/bombatahabeebgmailcom/mcxCxs_8pzkO0xtV/images/light-icon.svg?fit=max\u0026auto=format\u0026n=mcxCxs_8pzkO0xtV\u0026q=85\u0026s=cda075c6bf5446dcf54eaf34790e6129","dark":"https://mintcdn.com/bombatahabeebgmailcom/mcxCxs_8pzkO0xtV/images/dark-icon.svg?fit=max\u0026auto=format\u0026n=mcxCxs_8pzkO0xtV\u0026q=85\u0026s=6c4948e4995170dbf8a78f32efd4df57"},"favicon":"https://mintcdn.com/bombatahabeebgmailcom/OnVfcdlhGF-H84R_/images/icon.png?fit=max\u0026auto=format\u0026n=OnVfcdlhGF-H84R_\u0026q=85\u0026s=34518dafb185bf64a0bb1ab9dfe9ae05","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python","php"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:support@tender.cash","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://merchant.tender.cash"}},"footer":{"socials":{"x":"https://x.com/tender_cash","github":"https://github.com/tender-cash","linkedin":"https://www.linkedin.com/company/tender-merchant"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/tender-cash"},{"anchor":"API Reference","icon":"book","href":"/api-reference/endpoint/initiate-payment"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bombatahabeebgmailcom","hasAudioNarration":false,"actualSubdomain":"bombatahabeebgmailcom","customDomains":["docs.tender.cash"],"gitSource":{"type":"github","owner":"tender-cash","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6add0c8d75a48754bd45b99f","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API reference","count":50},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Subwallets","count":12},{"language":"default","tag":"Getting started","count":11},{"language":"default","tag":"Conversions","count":9},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Payouts","count":7},{"language":"default","tag":"Online payments","count":6},{"language":"default","tag":"Payment","count":5},{"language":"default","tag":"On-ramp","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"workos-onboarding","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/quote-payment","slug":"/api-reference/endpoint/quote-payment","pageMetadata":{"title":"Quote Payment","description":"Get the all-in amount a customer would pay, without creating a payment","openapi":"POST /v1/api/payment/quote/{id}","href":"/api-reference/endpoint/quote-payment"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get the all-in amount a customer would pay, without creating a payment\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Auth method: Basic (Access ID)`}),` — this endpoint only requires your\n`,_jsx(_components.code,{children:`x-access-id`}),` header. No request signing is needed. See\n`,_jsx(_components.a,{href:`/api-reference/authentication#basic-access-id-authentication`,children:`Authentication`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Prices a payment the same way `,_jsx(_components.a,{href:`/api-reference/endpoint/initiate-payment-currency`,children:`Initiate Payment By Fiat Currency`}),`\ndoes, but creates nothing: no deposit address, no transaction and no webhook. Use it to show the\ncustomer the exact total, including fees, before they commit to a chain and currency.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`totalPayable`}),` is the same all-in figure that initiation returns as `,_jsx(_components.code,{children:`amount`}),`/`,_jsx(_components.code,{children:`coinAmount`}),`: the\npayment plus the receive fee, any activation fee, any auto-payout fees and, on Tron, the gasless\nnetwork service fee. Prices can move between the quote and initiation, so the initiated amount can\ndiffer slightly if time passes.`]}),`\n`,_jsxs(_components.p,{children:[`The same checks apply as on initiation, including the minimum amount and your outlet’s allowed\ncurrencies. Payment endpoints share a limit of 120 requests per minute. See\n`,_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limits`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsxs(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:[_jsxs(_components.p,{children:[`Fiat currency code that `,_jsx(_components.code,{children:`amount`}),` is priced in, such as `,_jsx(_components.code,{children:`ngn`}),` or `,_jsx(_components.code,{children:`usd`}),`. Use a fiat currency\nlisted by `,_jsx(_components.a,{href:`/api-reference/endpoint/fetch-currencies`,children:`Fetch All Currencies`}),` with `,_jsx(_components.code,{children:`type=fiat`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"ngn\"`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`x-access-id`,type:`string`,required:true,id:`param-x-access-id`,children:[_jsx(_components.p,{children:`Your API access ID provided by Tender`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"your-access-id-here\"`})]})]}),`\n`,_jsxs(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:[_jsx(_components.p,{children:`Media type of the request body`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"application/json\"`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(ParamField,{body:`amount`,type:`string`,required:true,id:`param-amount`,children:[_jsx(_components.p,{children:`The price to charge, in the fiat currency named in the path, as a decimal string`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"15000\"`})]})]}),`\n`,_jsxs(ParamField,{body:`chain`,type:`string`,required:true,id:`param-chain`,children:[_jsxs(_components.p,{children:[`Chain identifier, as returned by `,_jsx(_components.a,{href:`/api-reference/endpoint/fetch-chains`,children:`Fetch Allowed Chains`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"tron\"`})]})]}),`\n`,_jsxs(ParamField,{body:`currency`,type:`string`,required:true,id:`param-currency`,children:[_jsxs(_components.p,{children:[`Cryptocurrency identifier. Must be supported on `,_jsx(_components.code,{children:`chain`}),` and allowed for your outlet.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"usdt\"`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`Status of the API request`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"success\"`})]})]}),`\n`,_jsxs(ResponseField,{name:`message`,type:`string`,required:true,id:`param-message`,children:[_jsx(_components.p,{children:`Human-readable message describing the result`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"success\"`})]})]}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The quote`}),_jsxs(Expandable,{title:`data properties`,children:[_jsxs(ResponseField,{name:`coin`,type:`string`,id:`param-coin`,children:[_jsx(_components.p,{children:`Cryptocurrency identifier`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"usdt\"`})]})]}),_jsxs(ResponseField,{name:`symbol`,type:`string`,id:`param-symbol`,children:[_jsx(_components.p,{children:`Cryptocurrency symbol`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"USDT\"`})]})]}),_jsxs(ResponseField,{name:`chain`,type:`string`,id:`param-chain-1`,children:[_jsx(_components.p,{children:`Chain identifier`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"tron\"`})]})]}),_jsxs(ResponseField,{name:`currency`,type:`string`,id:`param-currency-1`,children:[_jsx(_components.p,{children:`The fiat currency the quote is priced in`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"ngn\"`})]})]}),_jsxs(ResponseField,{name:`rate`,type:`number`,id:`param-rate`,children:[_jsxs(_components.p,{children:[`Price of one unit of the cryptocurrency in `,_jsx(_components.code,{children:`currency`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`1500`})]})]}),_jsxs(ResponseField,{name:`usdRate`,type:`number`,id:`param-usd-rate`,children:[_jsx(_components.p,{children:`Price of one unit of the cryptocurrency in USD`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`1`})]})]}),_jsxs(ResponseField,{name:`coinAmount`,type:`number`,id:`param-coin-amount`,children:[_jsx(_components.p,{children:`The payment itself in the cryptocurrency, before fees`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`10`})]})]}),_jsxs(ResponseField,{name:`fee`,type:`number`,id:`param-fee`,children:[_jsx(_components.p,{children:`Every fee the customer covers, combined, in the cryptocurrency`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0.15`})]})]}),_jsxs(ResponseField,{name:`feeUSD`,type:`number`,id:`param-fee-usd`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`fee`}),` in USD`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0.15`})]})]}),_jsxs(ResponseField,{name:`totalPayable`,type:`number`,id:`param-total-payable`,children:[_jsxs(_components.p,{children:[`The all-in cryptocurrency amount the customer would send (`,_jsx(_components.code,{children:`coinAmount`}),` + `,_jsx(_components.code,{children:`fee`}),`)`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`10.15`})]})]}),_jsxs(ResponseField,{name:`totalPayableUSD`,type:`number`,id:`param-total-payable-usd`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`totalPayable`}),` in USD`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`10.15`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Cause`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`amount must be a string`}),` (or another validation message)`]}),_jsx(_components.td,{children:`A required field is missing or has the wrong type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Invalid chain`}),` / `,_jsx(_components.code,{children:`Chain not active`})]}),_jsxs(_components.td,{children:[`Unknown or disabled `,_jsx(_components.code,{children:`chain`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`invalid Currency`}),` / `,_jsx(_components.code,{children:`Currency not allowed`})]}),_jsxs(_components.td,{children:[`Unknown `,_jsx(_components.code,{children:`currency`}),`, or not supported on `,_jsx(_components.code,{children:`chain`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Amount can't be Zero`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`amount`}),` is zero or negative`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Minimum initiated amount is \u003cn> USD`})}),_jsx(_components.td,{children:`The payment is below the minimum`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid Coin Exchange Price`})}),_jsx(_components.td,{children:`No price is available for the currency right now`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`You are not authorized to initiate transactions with this currency`})}),_jsx(_components.td,{children:`The currency isn’t in your outlet’s allowed currencies`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`An unsupported fiat code in the path fails the request; use a code listed by Fetch All Currencies.\nError responses use the standard envelope with `,_jsx(_components.code,{children:`data: null`}),`. See `,_jsx(_components.a,{href:`/api-reference/errors`,children:`Errors`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://sandbox-api.tender.cash/v1/api/payment/quote/ngn`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-access-id: your-access-id-here\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"amount\": \"15000\", \"chain\": \"tron\", \"currency\": \"usdt\" }'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"coin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usdt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"chain\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tron\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ngn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usdRate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"coinAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"feeUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPayable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10.15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPayableUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10.15`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quote Payment","description":"Get the all-in amount a customer would pay, without creating a payment","openapi":"POST /v1/api/payment/quote/{id}","href":"/api-reference/endpoint/quote-payment"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Example request","slug":"example-request","depth":2,"children":[]},{"title":"Example response","slug":"example-response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Quote Payment","description":"Get the all-in amount a customer would pay, without creating a payment","operationId":"quotePayment","tags":["Transactions"],"security":["f193c354-4992-4678-a98b-ec9b89d23fb3"],"parameters":["38ca390c-7eee-4a3e-a22a-60e3645368ee","b3c020c3-81d5-4e3e-b6c5-925123ba8023","a04c6758-27e4-4d3a-8844-bd684d3b5bf0"],"requestBody":"ce60eae5-0aad-4407-9a2f-a7417b158af6","responses":{"200":"3a884b75-2c62-4c71-b0c6-29903d10cb5c","400":"ed57978f-c2ad-4b84-887c-52a80922b690","401":"6dc11fd7-2049-4bcb-86b9-c96f049b62d6","403":"88a98dc0-31ee-4d74-a909-d6011a7673af","429":"71821fb4-9d9f-45c1-a6f1-f3a754ca4f3f"},"method":"post","type":"path","servers":["ec315635-8b74-4417-b93d-4ac28978e9b8","e02077cb-299e-4a7a-b32e-046e6b44408b"],"path":"/v1/api/payment/quote/{id}","baseUrlOptions":["https://secureapi.tender.cash","https://sandbox-api.tender.cash"],"title":"Quote Payment","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.amount":"15000","body.chain":"tron","body.currency":"usdt"}]},"dependencies":{"parameters":{"38ca390c-7eee-4a3e-a22a-60e3645368ee":{"name":"id","in":"path","required":true,"description":"Fiat currency code that `amount` is priced in (e.g. ngn, usd)","schema":{"type":"string","isRequired":true,"description":"Fiat currency code that `amount` is priced in (e.g. ngn, usd)","uniqueKey":"","typeLabel":"string"},"example":"ngn"},"b3c020c3-81d5-4e3e-b6c5-925123ba8023":{"name":"x-access-id","in":"header","required":true,"description":"Your API access ID provided by Tender","schema":{"type":"string","isRequired":true,"description":"Your API access ID provided by Tender","uniqueKey":"","typeLabel":"string"},"example":"your-access-id-here"},"a04c6758-27e4-4d3a-8844-bd684d3b5bf0":{"name":"Content-Type","in":"header","required":true,"description":"Media type of the request body","schema":{"type":"string","isRequired":true,"description":"Media type of the request body","uniqueKey":"","typeLabel":"string"},"example":"application/json"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","chain","currency"],"properties":{"amount":{"type":"string","description":"Price in the fiat currency named in the path","example":"15000","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"chain":{"type":"string","example":"tron","isRequired":true,"uniqueKey":"chain","typeLabel":"string"},"currency":{"type":"string","description":"Cryptocurrency identifier","example":"usdt","isRequired":true,"uniqueKey":"currency","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"amount":"15000","chain":"tron","currency":"usdt"},"examples":{"Example":{"title":"Example","value":{"amount":"15000","chain":"tron","currency":"usdt"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3a884b75-2c62-4c71-b0c6-29903d10cb5c":{"description":"Quote generated","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"success","uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"success","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"coin":{"type":"string","example":"usdt","uniqueKey":"data.coin","typeLabel":"string"},"symbol":{"type":"string","example":"USDT","uniqueKey":"data.symbol","typeLabel":"string"},"chain":{"type":"string","example":"tron","uniqueKey":"data.chain","typeLabel":"string"},"currency":{"type":"string","description":"Fiat currency of the quote","example":"ngn","uniqueKey":"data.currency","typeLabel":"string"},"rate":{"type":"number","description":"Price of one coin in `currency`","example":1500,"uniqueKey":"data.rate","typeLabel":"number"},"usdRate":{"type":"number","example":1,"uniqueKey":"data.usdRate","typeLabel":"number"},"coinAmount":{"type":"number","description":"The payment before fees","example":10,"uniqueKey":"data.coinAmount","typeLabel":"number"},"fee":{"type":"number","description":"All fees combined","example":0.15,"uniqueKey":"data.fee","typeLabel":"number"},"feeUSD":{"type":"number","example":0.15,"uniqueKey":"data.feeUSD","typeLabel":"number"},"totalPayable":{"type":"number","description":"All-in amount; equals initiate's `amount`","example":10.15,"uniqueKey":"data.totalPayable","typeLabel":"number"},"totalPayableUSD":{"type":"number","example":10.15,"uniqueKey":"data.totalPayableUSD","typeLabel":"number"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","message":"success","data":{"coin":"usdt","symbol":"USDT","chain":"tron","currency":"ngn","rate":1500,"usdRate":1,"coinAmount":10,"fee":0.15,"feeUSD":0.15,"totalPayable":10.15,"totalPayableUSD":10.15}}}},"exampleType":"generated"}},"exampleType":"generated"},"ed57978f-c2ad-4b84-887c-52a80922b690":{"description":"Validation error, unknown chain or currency, zero amount or below the minimum","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"description":"Usually `null` or `{}`","uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Usually `null` or `{}`","type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"any | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Minimum initiated amount is 5 USD","data":null},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Minimum initiated amount is 5 USD","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"6dc11fd7-2049-4bcb-86b9-c96f049b62d6":{"description":"Missing or unknown access ID","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"description":"Usually `null` or `{}`","uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Usually `null` or `{}`","type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"any | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"INVALID_REQUEST_SIGNATURE","data":{}},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"INVALID_REQUEST_SIGNATURE","data":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"88a98dc0-31ee-4d74-a909-d6011a7673af":{"description":"Currency not allowed for the outlet","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"description":"Usually `null` or `{}`","uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Usually `null` or `{}`","type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"any | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"You are not authorized to initiate transactions with this currency","data":null},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"You are not authorized to initiate transactions with this currency","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"71821fb4-9d9f-45c1-a6f1-f3a754ca4f3f":{"description":"Too many requests","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"description":"Usually `null` or `{}`","uniqueKey":"data.oneOf.0","typeLabel":"any"},{"description":"Usually `null` or `{}`","type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"any | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Too many requests. Max 120 per 60s.","data":null},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Too many requests. Max 120 per 60s.","data":null}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"f193c354-4992-4678-a98b-ec9b89d23fb3":{"AccessIdAuth":{"type":"apiKey","in":"header","name":"x-access-id","description":"Basic (Access ID) authentication. Only the x-access-id header is required; no request signing.","scopes":[],"schemeName":"AccessIdAuth"}}},"servers":{"ec315635-8b74-4417-b93d-4ac28978e9b8":{"url":"https://secureapi.tender.cash","description":"Production Server"},"e02077cb-299e-4a7a-b32e-046e6b44408b":{"url":"https://sandbox-api.tender.cash","description":"Sandbox Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-access-id","description":"Basic (Access ID) authentication. Only the x-access-id header is required; no request signing.","scopes":[],"schemeName":"AccessIdAuth"},"schema":{"title":"x-access-id","type":"string","description":"Basic (Access ID) authentication. Only the x-access-id header is required; no request signing.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"AccessIdAuth","name":"x-access-id"}],"title":"AccessIdAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"bombatahabeebgmailcom","siteName":"Tender API Docs","title":"Quote Payment - Tender API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T14:11:34.965Z","originalFileLocation":"api-reference/endpoint/quote-payment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get the all-in amount a customer would pay, without creating a payment\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tender API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quote Payment - Tender API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get the all-in amount a customer would pay, without creating a payment\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tender API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tender.cash/api-reference/endpoint/quote-payment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bombatahabeebgmailcom.mintlify.site/_mintlify/api/og/v2?division=Payment\u0026amp;title=Quote+Payment\u0026amp;description=Get+the+all-in+amount+a+customer+would+pay%2C+without+creating+a+payment\u0026amp;theme=ae68a5fbcd8f674438cd3b56\u0026amp;signature=814e14148200fadebaf461d5595aee297fa8ea9073e76b973271ea8fe7235f58\">\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=\"Quote Payment - Tender API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get the all-in amount a customer would pay, without creating a payment\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bombatahabeebgmailcom.mintlify.site/_mintlify/api/og/v2?division=Payment\u0026amp;title=Quote+Payment\u0026amp;description=Get+the+all-in+amount+a+customer+would+pay%2C+without+creating+a+payment\u0026amp;theme=ae68a5fbcd8f674438cd3b56\u0026amp;signature=814e14148200fadebaf461d5595aee297fa8ea9073e76b973271ea8fe7235f58\">\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/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tender API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tender.cash/api-reference/endpoint/quote-payment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/quote-payment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tender.cash/#organization\",\"name\":\"Tender API Docs\",\"url\":\"https://docs.tender.cash\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bombatahabeebgmailcom/mcxCxs_8pzkO0xtV/images/light-icon.svg?fit=max\u0026auto=format\u0026n=mcxCxs_8pzkO0xtV\u0026q=85\u0026s=cda075c6bf5446dcf54eaf34790e6129\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tender.cash#website\",\"name\":\"Tender API Docs\",\"url\":\"https://docs.tender.cash\",\"publisher\":{\"@id\":\"https://docs.tender.cash/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment#webpage\",\"url\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment\",\"name\":\"Quote Payment\",\"description\":\"Get the all-in amount a customer would pay, without creating a payment\",\"dateModified\":\"2026-10-15T14:11:34.965Z\",\"isPartOf\":{\"@id\":\"https://docs.tender.cash#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment\",\"item\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quote Payment\",\"item\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment#apireference\",\"headline\":\"Quote Payment\",\"name\":\"Quote Payment\",\"description\":\"Get the all-in amount a customer would pay, without creating a payment\",\"url\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tender.cash/api-reference/endpoint/quote-payment#webpage\"},\"dateModified\":\"2026-10-15T14:11:34.965Z\",\"publisher\":{\"@id\":\"https://docs.tender.cash/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tender.cash#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tender API Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Tender API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/quote-payment.md","siteName":"Tender API Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/tender-cash"},{"anchor":"API Reference","icon":"book","href":"/api-reference/endpoint/initiate-payment"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Payment","pages":[{"title":"Initiate Payment","openapi":"POST /v1/api/payment/initiate","href":"/api-reference/endpoint/initiate-payment"},{"title":"Initiate Payment By Fiat Currency","openapi":"POST /v1/api/payment/initiate/{currency}","href":"/api-reference/endpoint/initiate-payment-currency"},{"title":"Validate Payment","description":"Check a payment on-chain and get its current status","openapi":"POST /v1/api/payment/validate/{id}","href":"/api-reference/endpoint/validate-payment"},{"title":"Quote Payment","openapi":"POST /v1/api/payment/quote/{id}","href":"/api-reference/endpoint/quote-payment"},{"title":"Cancel Payment","description":"Cancel a pending payment request","openapi":"POST /v1/api/payment/cancel/{id}","href":"/api-reference/endpoint/cancel-payment"}]},{"group":"Transactions","pages":[{"title":"List Payment Internal Transactions","openapi":"GET /v1/api/transactions/{id}/internal","href":"/api-reference/endpoint/transactions/list-internal"},{"title":"Get Payment Internal Transaction","openapi":"GET /v1/api/transactions/{id}/internal/{internalId}","href":"/api-reference/endpoint/transactions/get-internal"}]},{"group":"System","pages":[{"title":"Fetch Allowed Chains","openapi":"GET /v1/api/system/chains","href":"/api-reference/endpoint/fetch-chains"},{"title":"Fetch Chain Currencies","openapi":"GET /v1/api/system/chains/{id}/currency","href":"/api-reference/endpoint/fetch-chain-currencies"},{"title":"Fetch All Currencies","openapi":"GET /v1/api/system/currency","href":"/api-reference/endpoint/fetch-currencies"},{"title":"Fetch Exchange Rates","openapi":"GET /v1/api/system/rates/{coin}","href":"/api-reference/endpoint/fetch-exchange-rates"}]},{"group":"Agents","pages":[{"title":"Create Outlet","openapi":"POST /v1/api/agent/create","href":"/api-reference/endpoint/agents/create"},{"title":"List Outlets","openapi":"GET /v1/api/agent","href":"/api-reference/endpoint/agents/list"}]},{"group":"Conversions","pages":[{"title":"List Conversions","openapi":"GET /v1/api/conversions","href":"/api-reference/endpoint/conversions/list"},{"title":"Conversion Stats","openapi":"GET /v1/api/conversions/stats","href":"/api-reference/endpoint/conversions/stats"},{"title":"Get Conversion","openapi":"GET /v1/api/conversions/{id}","href":"/api-reference/endpoint/conversions/get-one"},{"title":"List Conversion Internal Transactions","openapi":"GET /v1/api/conversions/{id}/internal","href":"/api-reference/endpoint/conversions/list-internal"},{"title":"Get Conversion Internal Transaction","openapi":"GET /v1/api/conversions/{id}/internal/{internalId}","href":"/api-reference/endpoint/conversions/get-internal"},{"title":"Calculate Conversion Fee","openapi":"GET /v1/api/conversions/fee/{chain}/{coin}/{amount}","href":"/api-reference/endpoint/conversions/fee"},{"title":"Swap-Enabled Chains","openapi":"GET /v1/api/conversions/swap/chains","href":"/api-reference/endpoint/conversions/swap-chains"},{"title":"Swap-Enabled Coins","openapi":"GET /v1/api/conversions/swap/coins","href":"/api-reference/endpoint/conversions/swap-coins"},{"title":"Create Conversion","openapi":"POST /v1/api/conversions","href":"/api-reference/endpoint/conversions/create"}]},{"group":"Payouts","pages":[{"title":"List Payouts","openapi":"GET /v1/api/payout","href":"/api-reference/endpoint/payouts/list"},{"title":"Get Payout","openapi":"GET /v1/api/payout/{id}","href":"/api-reference/endpoint/payouts/get-one"},{"title":"List Payout Internal Transactions","openapi":"GET /v1/api/payout/{id}/internal","href":"/api-reference/endpoint/payouts/list-internal"},{"title":"Get Payout Internal Transaction","openapi":"GET /v1/api/payout/{id}/internal/{internalId}","href":"/api-reference/endpoint/payouts/get-internal"},{"title":"Calculate Payout Fee","openapi":"GET /v1/api/payout/fee/{chain}/{coin}/{amount}","href":"/api-reference/endpoint/payouts/fee"},{"title":"Payout Crypto","openapi":"POST /v1/api/payout/crypto","href":"/api-reference/endpoint/payouts/crypto"},{"title":"Payout Fiat","openapi":"POST /v1/api/payout/fiat","href":"/api-reference/endpoint/payouts/fiat"}]},{"group":"Subwallets","pages":[{"title":"Create Wallet","openapi":"POST /v1/api/wallet","href":"/api-reference/endpoint/subwallets/create-wallet"},{"title":"List Wallets","openapi":"GET /v1/api/wallet","href":"/api-reference/endpoint/subwallets/list-wallets"},{"title":"Create Address","openapi":"POST /v1/api/wallet/address","href":"/api-reference/endpoint/subwallets/create-address"},{"title":"List Addresses","openapi":"GET /v1/api/wallet/{walletReference}/addresses","href":"/api-reference/endpoint/subwallets/list-addresses"},{"title":"Get Address Balance","openapi":"GET /v1/api/wallet/balance/{address}","href":"/api-reference/endpoint/subwallets/get-balance"},{"title":"Transfer Funds","openapi":"POST /v1/api/wallet/transfer","href":"/api-reference/endpoint/subwallets/transfer"},{"title":"Get Transfer Status","openapi":"POST /v1/api/wallet/transfer/status","href":"/api-reference/endpoint/subwallets/transfer-status"},{"title":"List Wallet Transactions","openapi":"GET /v1/api/wallet/{walletReference}/transactions","href":"/api-reference/endpoint/subwallets/list-transactions"},{"title":"Validate Address","openapi":"POST /v1/api/wallet/validate","href":"/api-reference/endpoint/subwallets/validate-address"},{"title":"Add Deposit Filter","openapi":"POST /v1/api/wallet/filter","href":"/api-reference/endpoint/subwallets/add-filter"},{"title":"Check Watched Address","openapi":"GET /v1/api/wallet/watch/{address}","href":"/api-reference/endpoint/subwallets/check-watched"}]},{"group":"Webhooks","pages":[{"title":"Add Webhook","openapi":"POST /v1/api/webhook","href":"/api-reference/endpoint/add-webhook"},{"title":"Fetch Webhook","openapi":"GET /v1/api/webhook","href":"/api-reference/endpoint/fetch-webhook"},{"title":"Delete Webhook","openapi":"DELETE /v1/api/webhook/{id}","href":"/api-reference/endpoint/delete-webhook"},{"title":"Get Webhook Logs","openapi":"GET /v1/api/webhook/logs","href":"/api-reference/endpoint/webhook-logs"},{"title":"List Webhook Events","openapi":"GET /v1/api/webhook/events","href":"/api-reference/endpoint/list-webhook-events"}]},{"group":"On-ramp","pages":[{"title":"Fetch On-ramp Chains","openapi":"GET /v1/api/onramp/chains","href":"/api-reference/endpoint/onramp/chains"},{"title":"Fetch On-ramp Coins","openapi":"GET /v1/api/onramp/coins","href":"/api-reference/endpoint/onramp/coins"},{"title":"Get On-ramp Quote","openapi":"POST /v1/api/onramp/quote","href":"/api-reference/endpoint/onramp/quote"},{"title":"Initiate On-ramp","openapi":"POST /v1/api/onramp/initiate","href":"/api-reference/endpoint/onramp/initiate"},{"title":"Get On-ramp Status","openapi":"GET /v1/api/onramp/{reference}","href":"/api-reference/endpoint/onramp/status"}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdk/overview"}]}]},"basePath":"","title":"Quote Payment - Tender API Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}