{
"status": "error",
"message": "You are not authorized to initiate transactions with this currency",
"data": null
}
{
"status": "error",
"message": "A transaction with reference 'ORDER-9821' already exists",
"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.
Works exactly like Initiate Payment, except that
amount is denominated in the fiat currency you name in the path instead of the outlet’s default
fiat currency. Tender converts it to the cryptocurrency at the current rate. If the path currency is
the outlet’s default fiat currency and the outlet uses a manual rate, the manual rate applies.Payment endpoints share a limit of 120 requests per minute. See Rate limits.
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.
This is a fiat code, not the cryptocurrency the customer pays with.Example:"ngn"
The price to charge, in the fiat currency named in the path. Send it as a decimal string.
Tender converts it to the cryptocurrency amount and adds fees on top.Example:"15000"
Your own reference for this payment, such as an order ID. referenceId is accepted as an alias.
A reference can be used by only one payment at a time: reusing the reference of a payment that
isn’t cancelled returns 409.Example:"ORDER-9821"
Present on chains where Tender collects payments through a gasless deposit address. When
present, it equals walletAddress.Example:"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT"
Fees charged on this payment, in the cryptocurrency: the receive fee, any activation fee and
any auto-payout fees. The Tron gasless service fee is reported separately in
gasFreeServiceFee.Example:0.1
Each fee leg as { coin, usd }, where coin is a string and usd a number:
receive, activation, autoPayoutSwap, autoPayoutWithdrawal and gasFreeService.
totalCoin (string) and totalUSD (number) equal fee and feeUSD.
currency 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
409
A transaction with reference '<reference>' already exists
Another payment that isn’t cancelled already uses this reference
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.
Additional fields may be present; ignore fields you don't recognise.
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":""},"chroma":{"liveDeploymentHistoryId":"6add0c8d75a48754bd45b99f","collectionId":"cffc47dc-b092-4492-8e39-7a46212af57d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6add0c8d75a48754bd45b99f"},"entitlements":{},"buildId":"6add0c8d75a48754bd45b99f","clientVersion":"0.0.4006","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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/initiate-payment-currency","slug":"/api-reference/endpoint/initiate-payment-currency","pageMetadata":{"title":"Initiate Payment By Fiat Currency","description":"Create a payment request priced in a specific fiat currency","openapi":"POST /v1/api/payment/initiate/{currency}","href":"/api-reference/endpoint/initiate-payment-currency"},"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: \"Create a payment request priced in a specific fiat currency\"\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:[`Works exactly like `,_jsx(_components.a,{href:`/api-reference/endpoint/initiate-payment`,children:`Initiate Payment`}),`, except that\n`,_jsx(_components.code,{children:`amount`}),` is denominated in the fiat currency you name in the path instead of the outlet’s default\nfiat currency. Tender converts it to the cryptocurrency at the current rate. If the path currency is\nthe outlet’s default fiat currency and the outlet uses a manual rate, the manual rate applies.`]}),`\n`,_jsxs(_components.p,{children:[`Payment endpoints share a limit of 120 requests per minute. See `,_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:`currency`,type:`string`,required:true,id:`param-currency`,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`}),`.\nThis is a fiat code, not the cryptocurrency the customer pays with.`]}),_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. Send it as a decimal string.\nTender converts it to the cryptocurrency amount and adds fees on top.`}),_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-1`,children:[_jsxs(_components.p,{children:[`Cryptocurrency identifier, as returned by\n`,_jsx(_components.a,{href:`/api-reference/endpoint/fetch-chain-currencies`,children:`Fetch Chain Currencies`}),`. The currency must be\nsupported 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`,_jsxs(ParamField,{body:`reference`,type:`string`,id:`param-reference`,children:[_jsxs(_components.p,{children:[`Your own reference for this payment, such as an order ID. `,_jsx(_components.code,{children:`referenceId`}),` is accepted as an alias.\nA reference can be used by only one payment at a time: reusing the reference of a payment that\nisn’t cancelled returns `,_jsx(_components.code,{children:`409`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"ORDER-9821\"`})]})]}),`\n`,_jsxs(ParamField,{body:`meta`,type:`object`,id:`param-meta`,children:[_jsx(_components.p,{children:`Optional metadata attached to the payment. Only the keys below are stored; any other keys are\nignored.`}),_jsx(Expandable,{title:`meta properties`,children:_jsxs(ParamField,{body:`meta.customerEmail`,type:`string`,id:`param-meta-customer-email`,children:[_jsx(_components.p,{children:`The customer’s email address. Must be a valid email.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"customer@example.com\"`})]})]})})]}),`\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 new payment request. Additional fields may be present; ignore fields you don’t recognise.`}),_jsxs(Expandable,{title:`data properties`,children:[_jsxs(ResponseField,{name:`txId`,type:`string`,id:`param-tx-id`,children:[_jsx(_components.p,{children:`The payment’s transaction ID. Use it to validate or cancel the payment.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"66aec7de809b7f45c42a49f9\"`})]})]}),_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:[_jsxs(_components.p,{children:[`Transaction type. Always `,_jsx(_components.code,{children:`receive`}),` for payments.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"receive\"`})]})]}),_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:`chainId`,type:`string`,id:`param-chain-id`,children:[_jsx(_components.p,{children:`Internal ID of the chain record`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"64f782bb4278fc475eb30e29\"`})]})]}),_jsxs(ResponseField,{name:`currency`,type:`string`,id:`param-currency-2`,children:[_jsx(_components.p,{children:`Internal ID of the cryptocurrency record`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"64fc4cda43812c15552311d7\"`})]})]}),_jsxs(ResponseField,{name:`walletAddress`,type:`string`,id:`param-wallet-address`,children:[_jsx(_components.p,{children:`The deposit address the customer must pay to`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT\"`})]})]}),_jsxs(ResponseField,{name:`gasFreeAddress`,type:`string`,id:`param-gas-free-address`,children:[_jsxs(_components.p,{children:[`Present on chains where Tender collects payments through a gasless deposit address. When\npresent, it equals `,_jsx(_components.code,{children:`walletAddress`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT\"`})]})]}),_jsxs(ResponseField,{name:`walletAddressIndex`,type:`number`,id:`param-wallet-address-index`,children:[_jsx(_components.p,{children:`Index of the generated deposit address`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`7`})]})]}),_jsxs(ResponseField,{name:`contractAddress`,type:`string | null`,id:`param-contract-address`,children:[_jsxs(_components.p,{children:[`Token contract address, or `,_jsx(_components.code,{children:`null`}),` for a native coin`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t\"`})]})]}),_jsxs(ResponseField,{name:`requestedAmount`,type:`string`,id:`param-requested-amount`,children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`amount`}),` you sent, in the path fiat currency`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"15000\"`})]})]}),_jsxs(ResponseField,{name:`amount`,type:`string`,id:`param-amount-1`,children:[_jsx(_components.p,{children:`The all-in cryptocurrency amount the customer must send: the payment plus every fee. Show\nthis amount to the customer.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"10.15\"`})]})]}),_jsxs(ResponseField,{name:`coinAmount`,type:`string`,id:`param-coin-amount`,children:[_jsxs(_components.p,{children:[`Same as `,_jsx(_components.code,{children:`amount`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"10.15\"`})]})]}),_jsxs(ResponseField,{name:`usdAmount`,type:`string`,id:`param-usd-amount`,children:[_jsxs(_components.p,{children:[`USD value of `,_jsx(_components.code,{children:`amount`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"10.15\"`})]})]}),_jsxs(ResponseField,{name:`fee`,type:`number`,id:`param-fee`,children:[_jsxs(_components.p,{children:[`Fees charged on this payment, in the cryptocurrency: the receive fee, any activation fee and\nany auto-payout fees. The Tron gasless service fee is reported separately in\n`,_jsx(_components.code,{children:`gasFreeServiceFee`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0.1`})]})]}),_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.1`})]})]}),_jsxs(ResponseField,{name:`activationFee`,type:`number`,id:`param-activation-fee`,children:[_jsxs(_components.p,{children:[`Activation fee included in `,_jsx(_components.code,{children:`fee`}),`, if any`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0`})]})]}),_jsxs(ResponseField,{name:`activationFeeUSD`,type:`number`,id:`param-activation-fee-usd`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`activationFee`}),` in USD`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0`})]})]}),_jsxs(ResponseField,{name:`gasFreeServiceFee`,type:`number`,id:`param-gas-free-service-fee`,children:[_jsxs(_components.p,{children:[`Tron gasless network service fee added to `,_jsx(_components.code,{children:`amount`}),`. Omitted when it doesn’t apply.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0.05`})]})]}),_jsxs(ResponseField,{name:`gasFreeServiceFeeUSD`,type:`number`,id:`param-gas-free-service-fee-usd`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`gasFreeServiceFee`}),` in USD. Omitted when it doesn’t apply.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`0.05`})]})]}),_jsxs(ResponseField,{name:`feeBreakdown`,type:`object`,id:`param-fee-breakdown`,children:[_jsx(_components.p,{children:`Itemised fees charged to the customer`}),_jsxs(Expandable,{title:`feeBreakdown properties`,children:[_jsxs(ResponseField,{name:`settlement`,type:`string`,id:`param-settlement`,children:[_jsx(_components.p,{children:`Fee settlement state`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"pending\"`})]})]}),_jsx(ResponseField,{name:`charged`,type:`object`,id:`param-charged`,children:_jsxs(_components.p,{children:[`Each fee leg as `,_jsx(_components.code,{children:`{ coin, usd }`}),`, where `,_jsx(_components.code,{children:`coin`}),` is a string and `,_jsx(_components.code,{children:`usd`}),` a number:\n`,_jsx(_components.code,{children:`receive`}),`, `,_jsx(_components.code,{children:`activation`}),`, `,_jsx(_components.code,{children:`autoPayoutSwap`}),`, `,_jsx(_components.code,{children:`autoPayoutWithdrawal`}),` and `,_jsx(_components.code,{children:`gasFreeService`}),`.\n`,_jsx(_components.code,{children:`totalCoin`}),` (string) and `,_jsx(_components.code,{children:`totalUSD`}),` (number) equal `,_jsx(_components.code,{children:`fee`}),` and `,_jsx(_components.code,{children:`feeUSD`}),`.`]})})]})]}),_jsxs(ResponseField,{name:`feeSent`,type:`boolean`,id:`param-fee-sent`,children:[_jsxs(_components.p,{children:[`Whether the fee has been collected. Always `,_jsx(_components.code,{children:`false`}),` at initiation.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`false`})]})]}),_jsxs(ResponseField,{name:`rate`,type:`number`,id:`param-rate`,children:[_jsx(_components.p,{children:`USD price of one unit of the cryptocurrency at initiation`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`1`})]})]}),_jsxs(ResponseField,{name:`fxRateAt`,type:`number`,id:`param-fx-rate-at`,children:[_jsxs(_components.p,{children:[`The USD rate used to calculate `,_jsx(_components.code,{children:`usdAmount`}),`, frozen at initiation`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`1`})]})]}),_jsxs(ResponseField,{name:`agentAmount`,type:`string`,id:`param-agent-amount`,children:[_jsxs(_components.p,{children:[`The requested amount in `,_jsx(_components.code,{children:`agentCurrency`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"15000\"`})]})]}),_jsxs(ResponseField,{name:`agentCurrency`,type:`string`,id:`param-agent-currency`,children:[_jsxs(_components.p,{children:[`The fiat currency `,_jsx(_components.code,{children:`amount`}),` was priced in (the path currency)`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"ngn\"`})]})]}),_jsxs(ResponseField,{name:`agentRate`,type:`number`,id:`param-agent-rate`,children:[_jsxs(_components.p,{children:[`Price of one unit of the cryptocurrency in `,_jsx(_components.code,{children:`agentCurrency`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`1500`})]})]}),_jsxs(ResponseField,{name:`agentRateUSD`,type:`number`,id:`param-agent-rate-usd`,children:[_jsx(_components.p,{children:`USD price of one unit of the cryptocurrency, or the outlet’s manual rate if it uses one`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`1`})]})]}),_jsxs(ResponseField,{name:`balanceRequired`,type:`string`,id:`param-balance-required`,children:[_jsxs(_components.p,{children:[`Cryptocurrency amount still owed. Equals `,_jsx(_components.code,{children:`amount`}),` at initiation.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"10.15\"`})]})]}),_jsxs(ResponseField,{name:`balanceRequiredUSD`,type:`string`,id:`param-balance-required-usd`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`balanceRequired`}),` in USD`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"10.15\"`})]})]}),_jsxs(ResponseField,{name:`balanceRequiredAgent`,type:`string`,id:`param-balance-required-agent`,children:[_jsxs(_components.p,{children:[`Amount still owed in `,_jsx(_components.code,{children:`agentCurrency`})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"15000\"`})]})]}),_jsxs(ResponseField,{name:`referenceId`,type:`string`,id:`param-reference-id`,children:[_jsxs(_components.p,{children:[`Your `,_jsx(_components.code,{children:`reference`}),`, if you sent one`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"ORDER-9821\"`})]})]}),_jsxs(ResponseField,{name:`meta`,type:`object`,id:`param-meta-1`,children:[_jsx(_components.p,{children:`The metadata you sent, if any`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`{\"customerEmail\": \"customer@example.com\"}`})]})]}),_jsxs(ResponseField,{name:`agentId`,type:`string`,id:`param-agent-id`,children:[_jsx(_components.p,{children:`ID of the outlet receiving the payment`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"6538eaaebdec6d1a21978e6a\"`})]})]}),_jsxs(ResponseField,{name:`merchantId`,type:`string`,id:`param-merchant-id`,children:[_jsx(_components.p,{children:`ID of your merchant account`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"6538e8f9bdec6d1a21978a64\"`})]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The initiate response has no `,_jsx(_components.code,{children:`status`}),` field. A new payment always starts as `,_jsx(_components.code,{children:`pending`}),`; call\n`,_jsx(_components.a,{href:`/api-reference/endpoint/validate-payment`,children:`Validate Payment`}),` to read its current status.`]})}),`\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:`currency 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`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`A transaction with reference '\u003creference>' already exists`})}),_jsxs(_components.td,{children:[`Another payment that isn’t cancelled already uses this `,_jsx(_components.code,{children:`reference`})]})]})]})]}),`\n`,_jsx(_components.p,{children:`An unsupported fiat code in the path fails the request; use a code listed by Fetch All Currencies.`}),`\n`,_jsxs(_components.p,{children:[`Error 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:`10`,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:`10`,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/initiate/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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": \"15000\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"chain\": \"tron\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"currency\": \"usdt\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reference\": \"ORDER-9821\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"meta\": { \"customerEmail\": \"customer@example.com\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`51`,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:`51`,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:` \"txId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"66aec7de809b7f45c42a49f9\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"receive\"`}),_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:` \"chainId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"64f782bb4278fc475eb30e29\"`}),_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:`\"64fc4cda43812c15552311d7\"`}),_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:` \"walletAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT\"`}),_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:` \"gasFreeAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT\"`}),_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:` \"walletAddressIndex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7`}),_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:` \"contractAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t\"`}),_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:` \"requestedAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15000\"`}),_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:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"coinAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"usdAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.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:` \"feeUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.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:` \"activationFee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"activationFeeUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"gasFreeServiceFee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.05`}),_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:` \"gasFreeServiceFeeUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.05`}),_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:` \"feeBreakdown\"`}),_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:` \"settlement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"charged\"`}),_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:` \"receive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"0.1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.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:` \"activation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"autoPayoutSwap\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"autoPayoutWithdrawal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"gasFreeService\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"0.05\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.05`}),_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:` \"totalCoin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.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:` \"totalUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"feeSent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:`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:` \"fxRateAt\"`}),_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:` \"agentAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15000\"`}),_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:` \"agentCurrency\"`}),_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:` \"agentRate\"`}),_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:` \"agentRateUSD\"`}),_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:` \"balanceRequired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"balanceRequiredUSD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"balanceRequiredAgent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15000\"`}),_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:` \"referenceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORDER-9821\"`}),_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:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"customerEmail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customer@example.com\"`}),_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:` \"agentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6538eaaebdec6d1a21978e6a\"`}),_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:` \"merchantId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6538e8f9bdec6d1a21978a64\"`})]}),`\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":"Initiate Payment By Fiat Currency","description":"Create a payment request priced in a specific fiat currency","openapi":"POST /v1/api/payment/initiate/{currency}","href":"/api-reference/endpoint/initiate-payment-currency"}}},"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":"Initiate Payment By Fiat Currency","description":"Create a payment request priced in a specific fiat currency","operationId":"initiatePaymentByFiatCurrency","tags":["Transactions"],"security":["092475d1-1764-4ba7-a474-8799d69ac132"],"parameters":["30193746-5cdb-444d-9439-4cf5d4ca3b2b","36953771-3a03-4e46-8ab0-fd3f2bf13d06","d69d8fd1-de70-45dc-b7aa-8b84bb9a1e0a"],"requestBody":"069e3dc3-130f-4e98-ab81-31476c939a21","responses":{"200":"51204c05-08cb-4f54-87b9-86c9acd64244","400":"4a2fdf58-a5c0-4395-af30-649ecc60a92c","401":"aed10df6-8524-41e1-a862-2b5375f269e0","403":"dd2b6b68-2325-4c28-a69e-912d280dc6ab","409":"2119eb15-ab10-4b61-999f-7966d083927b","429":"51b650be-8632-4f73-bfae-4f82aaa7faf7"},"method":"post","type":"path","servers":["ec315635-8b74-4417-b93d-4ac28978e9b8","e02077cb-299e-4a7a-b32e-046e6b44408b"],"path":"/v1/api/payment/initiate/{currency}","baseUrlOptions":["https://secureapi.tender.cash","https://sandbox-api.tender.cash"],"title":"Initiate Payment By Fiat Currency","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.amount":"15000","body.chain":"tron","body.currency":"usdt","body.reference":"ORDER-9821","body.meta.customerEmail":"customer@example.com"}]},"dependencies":{"parameters":{"30193746-5cdb-444d-9439-4cf5d4ca3b2b":{"name":"currency","in":"path","required":true,"description":"Fiat currency code that `amount` is priced in (e.g. ngn, usd). Not the cryptocurrency.","schema":{"type":"string","isRequired":true,"description":"Fiat currency code that `amount` is priced in (e.g. ngn, usd). Not the cryptocurrency.","uniqueKey":"","typeLabel":"string"},"example":"ngn"},"36953771-3a03-4e46-8ab0-fd3f2bf13d06":{"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"},"d69d8fd1-de70-45dc-b7aa-8b84bb9a1e0a":{"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","description":"Same fields as InitiatePaymentRequest; `amount` is in the fiat currency named in the path.","required":["amount","chain","currency"],"properties":{"amount":{"type":"string","description":"Price in the outlet's default fiat currency (USD if none is set), as a decimal string","example":"10.00","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"chain":{"type":"string","description":"Chain identifier","example":"tron","isRequired":true,"uniqueKey":"chain","typeLabel":"string"},"currency":{"type":"string","description":"Cryptocurrency identifier; must be supported on `chain` and allowed for the outlet","example":"usdt","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"reference":{"type":"string","maxLength":500,"description":"Your own reference, such as an order ID. Must not be in use by another payment that isn't cancelled.","example":"ORDER-9821","uniqueKey":"reference","typeLabel":"string"},"referenceId":{"type":"string","maxLength":500,"description":"Alias of `reference`","uniqueKey":"referenceId","typeLabel":"string"},"meta":{"type":"object","description":"Optional metadata. Other keys are ignored.","properties":{"customerEmail":{"type":"string","format":"email","example":"customer@example.com","uniqueKey":"meta.customerEmail","typeLabel":"string\u003cemail>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"amount":"15000","chain":"tron","currency":"usdt","reference":"ORDER-9821","meta":{"customerEmail":"customer@example.com"}},"examples":{"Example":{"title":"Example","value":{"amount":"15000","chain":"tron","currency":"usdt","reference":"ORDER-9821","meta":{"customerEmail":"customer@example.com"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"51204c05-08cb-4f54-87b9-86c9acd64244":{"description":"Payment initiated","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","description":"Additional fields may be present; ignore fields you don't recognise.","properties":{"txId":{"type":"string","example":"66aec7de809b7f45c42a49f9","uniqueKey":"data.txId","typeLabel":"string"},"type":{"type":"string","example":"receive","uniqueKey":"data.type","typeLabel":"string"},"chain":{"type":"string","example":"tron","uniqueKey":"data.chain","typeLabel":"string"},"chainId":{"type":"string","description":"Internal chain ID","example":"64f782bb4278fc475eb30e29","uniqueKey":"data.chainId","typeLabel":"string"},"currency":{"type":"string","description":"Internal currency ID","example":"64fc4cda43812c15552311d7","uniqueKey":"data.currency","typeLabel":"string"},"walletAddress":{"type":"string","description":"Deposit address the customer pays to","example":"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT","uniqueKey":"data.walletAddress","typeLabel":"string"},"gasFreeAddress":{"type":"string","description":"Gasless deposit address, when used; equals walletAddress","uniqueKey":"data.gasFreeAddress","typeLabel":"string"},"walletAddressIndex":{"type":"number","example":7,"uniqueKey":"data.walletAddressIndex","typeLabel":"number"},"contractAddress":{"oneOf":[{"type":"string","description":"Token contract, or null for a native coin","uniqueKey":"data.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","description":"Token contract, or null for a native coin","uniqueKey":"data.contractAddress.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contractAddress","typeLabel":"string | null"},"requestedAmount":{"type":"string","description":"The fiat amount you sent","example":"10.00","uniqueKey":"data.requestedAmount","typeLabel":"string"},"amount":{"type":"string","description":"All-in crypto amount the customer must send","example":"10.15","uniqueKey":"data.amount","typeLabel":"string"},"coinAmount":{"type":"string","description":"Same as amount","example":"10.15","uniqueKey":"data.coinAmount","typeLabel":"string"},"usdAmount":{"type":"string","example":"10.15","uniqueKey":"data.usdAmount","typeLabel":"string"},"fee":{"type":"number","description":"Receive, activation and auto-payout fees, in the cryptocurrency (excludes gasFreeServiceFee)","example":0.1,"uniqueKey":"data.fee","typeLabel":"number"},"feeUSD":{"type":"number","example":0.1,"uniqueKey":"data.feeUSD","typeLabel":"number"},"activationFee":{"type":"number","example":0,"uniqueKey":"data.activationFee","typeLabel":"number"},"activationFeeUSD":{"type":"number","example":0,"uniqueKey":"data.activationFeeUSD","typeLabel":"number"},"gasFreeServiceFee":{"type":"number","description":"Tron gasless service fee added to amount; omitted when it doesn't apply","uniqueKey":"data.gasFreeServiceFee","typeLabel":"number"},"gasFreeServiceFeeUSD":{"type":"number","uniqueKey":"data.gasFreeServiceFeeUSD","typeLabel":"number"},"feeBreakdown":{"type":"object","description":"Itemised fees charged to the customer. Additional fields may be present; ignore fields you don't recognise.","properties":{"settlement":{"type":"string","example":"pending","uniqueKey":"data.feeBreakdown.settlement","typeLabel":"string"},"charged":{"type":"object","properties":{"receive":{"type":"object","properties":{"coin":{"type":"string","example":"0.1","uniqueKey":"data.feeBreakdown.charged.receive.coin","typeLabel":"string"},"usd":{"type":"number","example":0.1,"uniqueKey":"data.feeBreakdown.charged.receive.usd","typeLabel":"number"}},"uniqueKey":"data.feeBreakdown.charged.receive","typeLabel":"object"},"activation":{"type":"object","properties":{"coin":{"type":"string","example":"0.1","uniqueKey":"data.feeBreakdown.charged.activation.coin","typeLabel":"string"},"usd":{"type":"number","example":0.1,"uniqueKey":"data.feeBreakdown.charged.activation.usd","typeLabel":"number"}},"uniqueKey":"data.feeBreakdown.charged.activation","typeLabel":"object"},"autoPayoutSwap":{"type":"object","properties":{"coin":{"type":"string","example":"0.1","uniqueKey":"data.feeBreakdown.charged.autoPayoutSwap.coin","typeLabel":"string"},"usd":{"type":"number","example":0.1,"uniqueKey":"data.feeBreakdown.charged.autoPayoutSwap.usd","typeLabel":"number"}},"uniqueKey":"data.feeBreakdown.charged.autoPayoutSwap","typeLabel":"object"},"autoPayoutWithdrawal":{"type":"object","properties":{"coin":{"type":"string","example":"0.1","uniqueKey":"data.feeBreakdown.charged.autoPayoutWithdrawal.coin","typeLabel":"string"},"usd":{"type":"number","example":0.1,"uniqueKey":"data.feeBreakdown.charged.autoPayoutWithdrawal.usd","typeLabel":"number"}},"uniqueKey":"data.feeBreakdown.charged.autoPayoutWithdrawal","typeLabel":"object"},"gasFreeService":{"type":"object","properties":{"coin":{"type":"string","example":"0.1","uniqueKey":"data.feeBreakdown.charged.gasFreeService.coin","typeLabel":"string"},"usd":{"type":"number","example":0.1,"uniqueKey":"data.feeBreakdown.charged.gasFreeService.usd","typeLabel":"number"}},"uniqueKey":"data.feeBreakdown.charged.gasFreeService","typeLabel":"object"},"totalCoin":{"type":"string","example":"0.1","uniqueKey":"data.feeBreakdown.charged.totalCoin","typeLabel":"string"},"totalUSD":{"type":"number","example":0.1,"uniqueKey":"data.feeBreakdown.charged.totalUSD","typeLabel":"number"}},"uniqueKey":"data.feeBreakdown.charged","typeLabel":"object"}},"uniqueKey":"data.feeBreakdown","typeLabel":"object"},"feeSent":{"type":"boolean","example":false,"uniqueKey":"data.feeSent","typeLabel":"boolean"},"rate":{"type":"number","description":"USD price of one unit of the cryptocurrency","example":1,"uniqueKey":"data.rate","typeLabel":"number"},"fxRateAt":{"type":"number","example":1,"uniqueKey":"data.fxRateAt","typeLabel":"number"},"agentAmount":{"type":"string","example":"10.00","uniqueKey":"data.agentAmount","typeLabel":"string"},"agentCurrency":{"type":"string","example":"usd","uniqueKey":"data.agentCurrency","typeLabel":"string"},"agentRate":{"type":"number","description":"Price of one unit of the cryptocurrency in agentCurrency","example":1,"uniqueKey":"data.agentRate","typeLabel":"number"},"agentRateUSD":{"type":"number","example":1,"uniqueKey":"data.agentRateUSD","typeLabel":"number"},"balanceRequired":{"type":"string","example":"10.15","uniqueKey":"data.balanceRequired","typeLabel":"string"},"balanceRequiredUSD":{"type":"string","example":"10.15","uniqueKey":"data.balanceRequiredUSD","typeLabel":"string"},"balanceRequiredAgent":{"type":"string","example":"10.00","uniqueKey":"data.balanceRequiredAgent","typeLabel":"string"},"referenceId":{"type":"string","example":"ORDER-9821","uniqueKey":"data.referenceId","typeLabel":"string"},"meta":{"type":"object","properties":{"customerEmail":{"type":"string","uniqueKey":"data.meta.customerEmail","typeLabel":"string"}},"uniqueKey":"data.meta","typeLabel":"object"},"agentId":{"type":"string","example":"6538eaaebdec6d1a21978e6a","uniqueKey":"data.agentId","typeLabel":"string"},"merchantId":{"type":"string","example":"6538e8f9bdec6d1a21978a64","uniqueKey":"data.merchantId","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","message":"success","data":{"txId":"66aec7de809b7f45c42a49f9","type":"receive","chain":"tron","chainId":"64f782bb4278fc475eb30e29","currency":"64fc4cda43812c15552311d7","walletAddress":"TQn9Y2khDD9JHTfVE5oB2h8BKWWM4LxKLT","gasFreeAddress":"\u003cstring>","walletAddressIndex":7,"contractAddress":"\u003cstring>","requestedAmount":"10.00","amount":"10.15","coinAmount":"10.15","usdAmount":"10.15","fee":0.1,"feeUSD":0.1,"activationFee":0,"activationFeeUSD":0,"gasFreeServiceFee":123,"gasFreeServiceFeeUSD":123,"feeBreakdown":{"settlement":"pending","charged":{"receive":{"coin":"0.1","usd":0.1},"activation":{"coin":"0.1","usd":0.1},"autoPayoutSwap":{"coin":"0.1","usd":0.1},"autoPayoutWithdrawal":{"coin":"0.1","usd":0.1},"gasFreeService":{"coin":"0.1","usd":0.1},"totalCoin":"0.1","totalUSD":0.1}},"feeSent":false,"rate":1,"fxRateAt":1,"agentAmount":"10.00","agentCurrency":"usd","agentRate":1,"agentRateUSD":1,"balanceRequired":"10.15","balanceRequiredUSD":"10.15","balanceRequiredAgent":"10.00","referenceId":"ORDER-9821","meta":{"customerEmail":"\u003cstring>"},"agentId":"6538eaaebdec6d1a21978e6a","merchantId":"6538e8f9bdec6d1a21978a64"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4a2fdf58-a5c0-4395-af30-649ecc60a92c":{"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"},"aed10df6-8524-41e1-a862-2b5375f269e0":{"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"},"dd2b6b68-2325-4c28-a69e-912d280dc6ab":{"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"},"2119eb15-ab10-4b61-999f-7966d083927b":{"description":"Reference already in use","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":"A transaction with reference 'ORDER-9821' already exists","data":null},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"A transaction with reference 'ORDER-9821' already exists","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"51b650be-8632-4f73-bfae-4f82aaa7faf7":{"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":{"092475d1-1764-4ba7-a474-8799d69ac132":{"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":"Initiate Payment By Fiat Currency - Tender API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T14:11:37.364Z","originalFileLocation":"api-reference/endpoint/initiate-payment-currency.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a payment request priced in a specific fiat currency\">\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=\"Initiate Payment By Fiat Currency - Tender API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a payment request priced in a specific fiat currency\">\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/initiate-payment-currency\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bombatahabeebgmailcom.mintlify.app/_mintlify/api/og/v2?division=Payment\u0026amp;title=Initiate+Payment+By+Fiat+Currency\u0026amp;description=Create+a+payment+request+priced+in+a+specific+fiat+currency\u0026amp;theme=6166f8c3311d79eb9939bfa3\u0026amp;signature=dd50b8f16b4c01593888bbcad1d8385d7706f5826b9a3f10d172b55cf5519675\">\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=\"Initiate Payment By Fiat Currency - Tender API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a payment request priced in a specific fiat currency\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bombatahabeebgmailcom.mintlify.app/_mintlify/api/og/v2?division=Payment\u0026amp;title=Initiate+Payment+By+Fiat+Currency\u0026amp;description=Create+a+payment+request+priced+in+a+specific+fiat+currency\u0026amp;theme=6166f8c3311d79eb9939bfa3\u0026amp;signature=dd50b8f16b4c01593888bbcad1d8385d7706f5826b9a3f10d172b55cf5519675\">\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/initiate-payment-currency\">\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/initiate-payment-currency.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/initiate-payment-currency#webpage\",\"url\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency\",\"name\":\"Initiate Payment By Fiat Currency\",\"description\":\"Create a payment request priced in a specific fiat currency\",\"dateModified\":\"2026-10-15T14:11:37.364Z\",\"isPartOf\":{\"@id\":\"https://docs.tender.cash#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payment\",\"item\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Initiate Payment By Fiat Currency\",\"item\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency#apireference\",\"headline\":\"Initiate Payment By Fiat Currency\",\"name\":\"Initiate Payment By Fiat Currency\",\"description\":\"Create a payment request priced in a specific fiat currency\",\"url\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tender.cash/api-reference/endpoint/initiate-payment-currency#webpage\"},\"dateModified\":\"2026-10-15T14:11:37.364Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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","description":"Create a new cryptocurrency payment request and get a deposit address","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","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"}]}]},"title":"Initiate Payment By Fiat Currency - Tender API Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}