Base URLs, headers, JSON, idempotency and pagination.
A few conventions apply to every endpoint.
Base URLs
Product
Base URL
Payments
https://api.rach.finance/api/v1/
CaaS
https://api.rach.finance/caas/v1/
Headers
X-API-Key: <your key> # every service endpointContent-Type: application/json # on any request with a body
Always send Content-Type: application/json when you include a body, and read/write
JSON.
Idempotency
Value-moving endpoints accept an idempotency key so a retry never double-executes.
On CaaS transfers and withdrawals, pass idempotency_key in the body:
The key must be 16 to 128 characters; a transfer without one is rejected with 400.
Replaying the same key returns the original transfer instead of sending a second one, and
GET /wallet/{customer_id}/transfers/{key} reads the outcome back — so after a timeout,
retry with the same key rather than generating a new one. See
WaaS transfers.On other Payments endpoints, send a stable reference on create operations (e.g.
checkout) and reconcile against it. Reusing the same reference lets you safely retry.
Amounts
Payments checkout amounts are decimal numbers in the stated currency.
WaaS transfers take amount as a string plus a unit: "decimal" (whole coins,
the default) or "base" (smallest unit, e.g. wei/satoshi).
CaaS amounts are decimal strings; stablecoin vs fiat fields are named explicitly
(stablecoin_amount, local_fiat_amount).
Always send money amounts as strings where the API asks for a string, to avoid
floating-point rounding.
Pagination
List endpoints accept page and limit query parameters:
Retry 429 and 5xx with exponential backoff and jitter. Never retry a non-idempotent
write without an idempotency_key or a stable reference. See Errors.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rach","description":"Developer documentation for Rach — crypto payment gateway, WaaS, CaaS stablecoin wallets, swaps, 24/7 monitoring and webhooks.","colors":{"primary":"#8B5CF6","light":"#A78BFA","dark":"#7C3AED"},"logo":{"light":"https://mintcdn.com/rach-finance/JqM0ln4O1zcrC0GI/logo/rach.png?fit=max\u0026auto=format\u0026n=JqM0ln4O1zcrC0GI\u0026q=85\u0026s=a23db7dff16b5f42358dfbf063db7350","dark":"https://mintcdn.com/rach-finance/JqM0ln4O1zcrC0GI/logo/rach-white.png?fit=max\u0026auto=format\u0026n=JqM0ln4O1zcrC0GI\u0026q=85\u0026s=2f65b17ea450ed92913b13573f56f0a5","href":"https://rach.finance"},"favicon":"https://mintcdn.com/rach-finance/JqM0ln4O1zcrC0GI/favicon.png?fit=max\u0026auto=format\u0026n=JqM0ln4O1zcrC0GI\u0026q=85\u0026s=2c7e887a54008974865567f4609381b1","appearance":{"default":"dark"},"navbar":{"links":[{"href":"mailto:support@rach.finance","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://payments.rach.finance"}},"footer":{"socials":{"website":"https://rach.finance","x":"https://x.com/userachhq","instagram":"https://instagram.com/userachhq","youtube":"https://youtube.com/@userachhq","threads":"https://threads.net/@userachhq","facebook":"https://facebook.com/userachhq"}},"integrations":{"gtm":{"tagId":"GTM-XXXXXXX"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rach-finance","hasAudioNarration":false,"actualSubdomain":"rach-finance","customDomains":["docs.rach.finance"],"gitSource":{"type":"gitlab","owner":"tech-team6074316","repo":"rach-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":77262143,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac2aaaac077714d1a861b0b","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Payments API","count":62},{"language":"default","tag":"CaaS API","count":37},{"language":"default","tag":"Value-Added Services","count":25},{"language":"default","tag":"Documentation","count":19},{"language":"default","tag":"WaaS (Wallet-as-a-Service)","count":18},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"B2B - Escrow","count":10},{"language":"default","tag":"B2B - Users","count":9},{"language":"default","tag":"Core Products","count":7},{"language":"default","tag":"Overview","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/making-requests","slug":"/guides/making-requests","pageMetadata":{"title":"Making requests","description":"Base URLs, headers, JSON, idempotency and pagination.","href":"/guides/making-requests"},"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: \"Base URLs, headers, JSON, idempotency and pagination.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A few conventions apply to every endpoint.`}),`\n`,_jsx(Heading,{level:`2`,id:`base-urls`,children:`Base URLs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Product`}),_jsx(_components.th,{children:`Base URL`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Payments`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.rach.finance/api/v1/`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`CaaS`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://api.rach.finance/caas/v1/`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`X-API-Key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \u003cyour key> # every service endpoint`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json # on any request with a body`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Always send `,_jsx(_components.code,{children:`Content-Type: application/json`}),` when you include a body, and read/write\nJSON.`]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotency`,children:`Idempotency`}),`\n`,_jsxs(_components.p,{children:[`Value-moving endpoints accept an idempotency key so a retry never double-executes.\nOn `,_jsx(_components.strong,{children:`CaaS transfers and withdrawals`}),`, pass `,_jsx(_components.code,{children:`idempotency_key`}),` in the body:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,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:` \"idempotency_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a-unique-id-you-generate\"`}),_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:` \"sender_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+2348010000001\"`}),_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:` \"recipient_phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+2348010000002\"`}),_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:` \"quote_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"qt_...\"`}),_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:` \"local_fiat_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5000\"`}),_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:` \"target_token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`WaaS transfers`}),`, idempotency is a `,_jsx(_components.strong,{children:`header and it is mandatory`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.rach.finance/api/v1/wallet/cust_001/transfer`}),_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-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RACH_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` \"Idempotency-Key: 8f14e45f-ea6d-4f3a-9c21-7b0e5d3a1c92\"`}),_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:` '{ \"network\": \"ETH\", \"currency\": \"USDT\", \"to_address\": \"0x…\", \"amount\": \"25.00\" }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The key must be `,_jsx(_components.strong,{children:`16 to 128 characters`}),`; a transfer without one is rejected with `,_jsx(_components.code,{children:`400`}),`.\nReplaying the same key returns the original transfer instead of sending a second one, and\n`,_jsx(_components.code,{children:`GET /wallet/{customer_id}/transfers/{key}`}),` reads the outcome back — so after a timeout,\nretry with the same key rather than generating a new one. See\n`,_jsx(_components.a,{href:`/products/wallet-as-a-service#5-send-crypto-out`,children:`WaaS transfers`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`other Payments endpoints`}),`, send a stable `,_jsx(_components.code,{children:`reference`}),` on create operations (e.g.\ncheckout) and reconcile against it. Reusing the same reference lets you safely retry.`]}),`\n`,_jsx(Heading,{level:`2`,id:`amounts`,children:`Amounts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Payments checkout amounts are decimal numbers in the stated `,_jsx(_components.code,{children:`currency`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`WaaS transfers`}),` take `,_jsx(_components.code,{children:`amount`}),` as a string plus a `,_jsx(_components.code,{children:`unit`}),`: `,_jsx(_components.code,{children:`\"decimal\"`}),` (whole coins,\nthe default) or `,_jsx(_components.code,{children:`\"base\"`}),` (smallest unit, e.g. wei/satoshi).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CaaS`}),` amounts are decimal strings; stablecoin vs fiat fields are named explicitly\n(`,_jsx(_components.code,{children:`stablecoin_amount`}),`, `,_jsx(_components.code,{children:`local_fiat_amount`}),`).`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Always send money amounts as `,_jsx(_components.strong,{children:`strings`}),` where the API asks for a string, to avoid\nfloating-point rounding.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`pagination`,children:`Pagination`}),`\n`,_jsxs(_components.p,{children:[`List endpoints accept `,_jsx(_components.code,{children:`page`}),` and `,_jsx(_components.code,{children:`limit`}),` query parameters:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.rach.finance/api/v1/checkout/list?page=1\u0026limit=25\"`}),_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-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$RACH_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`timeouts-\u0026-retries`,children:`Timeouts \u0026 retries`}),`\n`,_jsxs(_components.p,{children:[`Retry `,_jsx(_components.code,{children:`429`}),` and `,_jsx(_components.code,{children:`5xx`}),` with exponential backoff and jitter. Never retry a non-idempotent\nwrite without an `,_jsx(_components.code,{children:`idempotency_key`}),` or a stable `,_jsx(_components.code,{children:`reference`}),`. See `,_jsx(_components.a,{href:`/guides/errors`,children:`Errors`}),`.`]})]})}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":"Making requests","description":"Base URLs, headers, JSON, idempotency and pagination.","href":"/guides/making-requests"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Base URLs","slug":"base-urls","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Idempotency","slug":"idempotency","depth":2,"children":[]},{"title":"Amounts","slug":"amounts","depth":2,"children":[]},{"title":"Pagination","slug":"pagination","depth":2,"children":[]},{"title":"Timeouts \u0026 retries","slug":"timeouts-\u0026-retries","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/rach-finance/390919c57430ba8a/scripts/add-missing-endpoints.js","/_mintlify/custom/rach-finance/1395d9e41ea8d255/scripts/fix-balances-schema.js","/_mintlify/custom/rach-finance/800c53d2efc4d1ca/scripts/fix-stale-descriptions.js","/_mintlify/custom/rach-finance/6403dc646251b28a/scripts/add-vas-endpoints.js"],"subdomain":"rach-finance","siteName":"Rach","title":"Making requests - Rach","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T11:34:33.386Z","originalFileLocation":"guides/making-requests.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=\"dark\"}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=\"Base URLs, headers, JSON, idempotency and pagination.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rach\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_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/rach-finance/-7wdBJOkp4YcRXzu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Making requests - Rach\">\u003cmeta data-mint-head property=\"og:description\" content=\"Base URLs, headers, JSON, idempotency and pagination.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rach\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rach.finance/guides/making-requests\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rach-finance.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Making+requests\u0026amp;description=Base+URLs%2C+headers%2C+JSON%2C+idempotency+and+pagination.\u0026amp;theme=2d02f724647fc4aa3d515216\u0026amp;signature=a1f62aec8b383d14e40e0c7c70a2bfa26e04e3a015d95734a29badad6faea9f4\">\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=\"Making requests - Rach\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Base URLs, headers, JSON, idempotency and pagination.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rach-finance.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Making+requests\u0026amp;description=Base+URLs%2C+headers%2C+JSON%2C+idempotency+and+pagination.\u0026amp;theme=2d02f724647fc4aa3d515216\u0026amp;signature=a1f62aec8b383d14e40e0c7c70a2bfa26e04e3a015d95734a29badad6faea9f4\">\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/rach-finance/-7wdBJOkp4YcRXzu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rach\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8B5CF6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rach.finance/guides/making-requests\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/making-requests.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rach.finance/#organization\",\"name\":\"Rach\",\"url\":\"https://docs.rach.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rach-finance/JqM0ln4O1zcrC0GI/logo/rach.png?fit=max\u0026auto=format\u0026n=JqM0ln4O1zcrC0GI\u0026q=85\u0026s=a23db7dff16b5f42358dfbf063db7350\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rach.finance#website\",\"name\":\"Rach\",\"url\":\"https://docs.rach.finance\",\"publisher\":{\"@id\":\"https://docs.rach.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rach.finance/guides/making-requests#webpage\",\"url\":\"https://docs.rach.finance/guides/making-requests\",\"name\":\"Making requests\",\"description\":\"Base URLs, headers, JSON, idempotency and pagination.\",\"dateModified\":\"2026-09-28T11:34:33.386Z\",\"isPartOf\":{\"@id\":\"https://docs.rach.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rach.finance/guides/making-requests#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rach.finance/guides/making-requests#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.rach.finance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Making requests\",\"item\":\"https://docs.rach.finance/guides/making-requests\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.rach.finance/guides/making-requests#article\",\"headline\":\"Making requests\",\"name\":\"Making requests\",\"description\":\"Base URLs, headers, JSON, idempotency and pagination.\",\"url\":\"https://docs.rach.finance/guides/making-requests\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rach.finance/guides/making-requests#webpage\"},\"dateModified\":\"2026-09-28T11:34:33.386Z\",\"publisher\":{\"@id\":\"https://docs.rach.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rach.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rach\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rach\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/making-requests.md","siteName":"Rach","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Rach Developer Docs","href":""},{"title":"What you can build","href":"/products/use-cases"},{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Get your API keys","href":"/guides/api-keys"},{"title":"Authentication","href":"/guides/authentication"},{"title":"Test vs Live","href":"/guides/environments"},{"title":"Supported networks \u0026 assets","href":"/guides/networks"},{"title":"Sandbox \u0026 demo","description":"Try Rach with test keys, or book a guided walkthrough of a fully populated workspace.","href":"/guides/sandbox-and-demo"},{"title":"Making requests","href":"/guides/making-requests"},{"title":"Errors","description":"HTTP status codes and error shapes returned by the API.","href":"/guides/errors"}]},{"group":"Core Products","pages":[{"title":"Crypto Payment Gateway","href":"/products/crypto-gateway"},{"title":"Settlement \u0026 withdrawals","href":"/guides/settlement-withdrawals"},{"title":"Wallet-as-a-Service (WaaS)","href":"/products/wallet-as-a-service"},{"title":"Swap","href":"/products/swap"},{"title":"Airtime, Gift Cards \u0026 Bills","href":"/products/airtime-giftcards"},{"title":"CaaS — Money to any phone","href":"/products/caas"},{"title":"Market Data","href":"/products/market-data"}]},{"group":"Monitoring \u0026 Webhooks","pages":[{"title":"24/7 Wallet Monitoring","href":"/products/wallet-monitoring"},{"title":"Webhooks","href":"/guides/webhooks"}]}]},{"tab":"Payments API","pages":[{"title":"Payments API","href":"/api-reference/introduction"}]},{"tab":"CaaS API","pages":[{"title":"CaaS API","href":"/api-reference/caas-introduction"}]}]},"basePath":"","title":"Making requests - Rach","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}