Use this endpoint to start a new order for a product — for example, a premium account upgrade or a metal card. The response includes an orderId and, where applicable, a paymentConfig object containing everything needed to route the user through an external crypto payment flow.Once you have an orderId, pass it to your payment gateway. After payment is submitted, poll GET /v1/order/:orderId to confirm the final outcome.
Not sure which productId to use? Call GET /v1/order/products/available first to retrieve the list of products available and eligible for the current user.
Request
Headers
string
required
Bearer token for the authenticated user. Format: Bearer <userAccessToken>
string
required
Your application’s client ID, issued during onboarding.
string
required
Must be application/json.
Body
string
required
The unique identifier of the product to order. Valid values are partner-specific and returned by GET /v1/order/products/available. Example: "PRODUCT_ID_ABC"
string
required
The payment method to use for this order. Supported values:
An identifier for the payment request, used to correlate payment gateway callbacks back to this order. Example: "payment_1234"
string
required
Unique identifier for this order. Store this — you’ll need it to poll for the order outcome via GET /v1/order/:orderId.
object
Payment routing details for the external crypto payment. Pass these values to your payment gateway to initiate the transaction.
Show paymentConfig fields
number
The amount to be paid, denominated in paymentCurrency. Example: 199
string
The fiat currency for the payment amount. Example: "USD"
string
The on-chain wallet address to send the payment to.
string
The EVM chain ID for the destination network. Example: "59144" (Linea mainnet)
string
The token symbol to pay with. Example: "USDC"
string
The contract address of the destination token on the specified chain.
Error Responses
401 — Authentication Error
The bearer token is missing, expired, or invalid. Ensure a valid user access token is included in the Authorization header.
403 — Authorization Error
The authenticated user does not have permission to perform this action.
422 — Validation Error
One or more required fields failed validation. Check that productId and paymentMethod are both present and that paymentMethod is a supported enum value (CRYPTO_EXTERNAL_DAIMO).
498 — Invalid Client Key
The X-Client-ID header value is not recognised. Verify your client ID.
499 — Missing Client Key
The X-Client-ID header is absent from the request.
500 — Internal Server Error
An unexpected error occurred on the server. Retry with exponential backoff. If the issue persists, contact Baanx support.
Related Endpoints
Get Available Products
Retrieve the products available and eligible for the current user before placing an order.
Get Order Status
Poll for the async completion of a payment and confirm the order outcome.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Baanx API","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"https://mintcdn.com/baanxgroup/gdsc8t7WiEeGHqE_/favicon.svg?fit=max\u0026auto=format\u0026n=gdsc8t7WiEeGHqE_\u0026q=85\u0026s=2ba01309dbb7993a37c43420e80054cd","navbar":{"links":[{"href":"mailto:support@baanx.com","label":"Support"}]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"baanxgroup","hasAudioNarration":false,"actualSubdomain":"baanxgroup","customDomains":["docs.baanx.com"],"gitSource":{"type":"github","owner":"baanx-group","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae93ff587cae518f4656895:success","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":75},{"language":"default","tag":"Documentation","count":40},{"language":"default","tag":"Wallet","count":19},{"language":"default","tag":"Authentication","count":17},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Consent","count":11},{"language":"default","tag":"Delegation","count":10},{"language":"default","tag":"Card","count":9},{"language":"default","tag":"Wallets","count":9},{"language":"default","tag":"Card Operations","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/order/create","slug":"/api-reference/order/create","pageMetadata":{"title":"Create Order","api":"POST /v1/order","description":"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.","href":"/api-reference/order/create","hidden":false},"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: \"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.\"\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`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Use this endpoint to start a new order for a product — for example, a premium account upgrade or a metal card. The response includes an `,_jsx(_components.code,{children:`orderId`}),` and, where applicable, a `,_jsx(_components.code,{children:`paymentConfig`}),` object containing everything needed to route the user through an external crypto payment flow.`]}),`\n`,_jsxs(_components.p,{children:[`Once you have an `,_jsx(_components.code,{children:`orderId`}),`, pass it to your payment gateway. After payment is submitted, poll `,_jsx(_components.a,{href:`/api-reference/order/get-order`,children:_jsx(_components.code,{children:`GET /v1/order/:orderId`})}),` to confirm the final outcome.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Not sure which `,_jsx(_components.code,{children:`productId`}),` to use? Call `,_jsx(_components.a,{href:`/api-reference/order/get-products`,children:_jsx(_components.code,{children:`GET /v1/order/products/available`})}),` first to retrieve the list of products available and eligible for the current user.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:_jsxs(_components.p,{children:[`Bearer token for the authenticated user. Format: `,_jsx(_components.code,{children:`Bearer \u003cuserAccessToken>`})]})}),`\n`,_jsx(ParamField,{header:`X-Client-ID`,type:`string`,required:true,id:`param-x-client-id`,children:_jsx(_components.p,{children:`Your application’s client ID, issued during onboarding.`})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Must be `,_jsx(_components.code,{children:`application/json`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`productId`,type:`string`,required:true,id:`param-product-id`,children:_jsxs(_components.p,{children:[`The unique identifier of the product to order. Valid values are partner-specific and returned by `,_jsx(_components.code,{children:`GET /v1/order/products/available`}),`. Example: `,_jsx(_components.code,{children:`\"PRODUCT_ID_ABC\"`})]})}),`\n`,_jsxs(ParamField,{body:`paymentMethod`,type:`string`,required:true,id:`param-payment-method`,children:[_jsx(_components.p,{children:`The payment method to use for this order. Supported values:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CRYPTO_EXTERNAL_DAIMO`})}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-request`,children:`Example Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`15`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.baanx.com/v1/order'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Client-ID'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'your_client_id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`userAccessToken`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` productId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'PRODUCT_ID_ABC'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` paymentMethod:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'CRYPTO_EXTERNAL_DAIMO'`})]}),`\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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`orderId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`requestId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`paymentConfig`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Pass orderId and paymentConfig to your payment gateway`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`18`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.baanx.com/v1/order'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Client-ID'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'your_client_id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`user_access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'productId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'PRODUCT_ID_ABC'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'paymentMethod'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'CRYPTO_EXTERNAL_DAIMO'`})]}),`\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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`data `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`order_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'orderId'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payment_config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` data.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'paymentConfig'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,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:`9`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.baanx.com/v1/order`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003cuserAccessToken>'`}),_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:` --header`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-Client-ID: your_client_id'`}),_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:` --data`}),_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:` \"productId\": \"PRODUCT_ID_ABC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"paymentMethod\": \"CRYPTO_EXTERNAL_DAIMO\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`200-—-success`,children:`200 — Success`}),`\n`,_jsxs(_components.p,{children:[`The order has been created. Store `,_jsx(_components.code,{children:`orderId`}),` to track the order status. Use `,_jsx(_components.code,{children:`paymentConfig`}),` to initiate payment via your gateway.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,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:` \"requestId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment_1234\"`}),_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:` \"orderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abcd_1234\"`}),_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:` \"paymentConfig\"`}),_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:` \"paymentAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`199`}),_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:` \"paymentCurrency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_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:` \"destinationAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x3a11a86cf218c448be519728cd3ac5c741fb3424\"`}),_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:` \"destinationChainId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"59144\"`}),_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:` \"destinationTokenSymbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC\"`}),_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:` \"destinationTokenAddress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0x176211869cA2b568f2A7D4EE941E073a821EE1ff\"`})]}),`\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`]})})}),`\n`,_jsx(ResponseField,{name:`requestId`,type:`string`,id:`param-request-id`,children:_jsxs(_components.p,{children:[`An identifier for the payment request, used to correlate payment gateway callbacks back to this order. Example: `,_jsx(_components.code,{children:`\"payment_1234\"`})]})}),`\n`,_jsx(ResponseField,{name:`orderId`,type:`string`,required:true,id:`param-order-id`,children:_jsxs(_components.p,{children:[`Unique identifier for this order. Store this — you’ll need it to poll for the order outcome via `,_jsx(_components.code,{children:`GET /v1/order/:orderId`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`paymentConfig`,type:`object`,id:`param-payment-config`,children:[_jsx(_components.p,{children:`Payment routing details for the external crypto payment. Pass these values to your payment gateway to initiate the transaction.`}),_jsxs(Expandable,{title:`paymentConfig fields`,children:[_jsx(ResponseField,{name:`paymentConfig.paymentAmount`,type:`number`,id:`param-payment-config-payment-amount`,children:_jsxs(_components.p,{children:[`The amount to be paid, denominated in `,_jsx(_components.code,{children:`paymentCurrency`}),`. Example: `,_jsx(_components.code,{children:`199`})]})}),_jsx(ResponseField,{name:`paymentConfig.paymentCurrency`,type:`string`,id:`param-payment-config-payment-currency`,children:_jsxs(_components.p,{children:[`The fiat currency for the payment amount. Example: `,_jsx(_components.code,{children:`\"USD\"`})]})}),_jsx(ResponseField,{name:`paymentConfig.destinationAddress`,type:`string`,id:`param-payment-config-destination-address`,children:_jsx(_components.p,{children:`The on-chain wallet address to send the payment to.`})}),_jsx(ResponseField,{name:`paymentConfig.destinationChainId`,type:`string`,id:`param-payment-config-destination-chain-id`,children:_jsxs(_components.p,{children:[`The EVM chain ID for the destination network. Example: `,_jsx(_components.code,{children:`\"59144\"`}),` (Linea mainnet)`]})}),_jsx(ResponseField,{name:`paymentConfig.destinationTokenSymbol`,type:`string`,id:`param-payment-config-destination-token-symbol`,children:_jsxs(_components.p,{children:[`The token symbol to pay with. Example: `,_jsx(_components.code,{children:`\"USDC\"`})]})}),_jsx(ResponseField,{name:`paymentConfig.destinationTokenAddress`,type:`string`,id:`param-payment-config-destination-token-address`,children:_jsx(_components.p,{children:`The contract address of the destination token on the specified chain.`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`401 — Authentication Error`,id:`401-authentication-error`,children:_jsxs(_components.p,{children:[`The bearer token is missing, expired, or invalid. Ensure a valid user access token is included in the `,_jsx(_components.code,{children:`Authorization`}),` header.`]})}),_jsx(Accordion,{title:`403 — Authorization Error`,id:`403-authorization-error`,children:_jsx(_components.p,{children:`The authenticated user does not have permission to perform this action.`})}),_jsx(Accordion,{title:`422 — Validation Error`,id:`422-validation-error`,children:_jsxs(_components.p,{children:[`One or more required fields failed validation. Check that `,_jsx(_components.code,{children:`productId`}),` and `,_jsx(_components.code,{children:`paymentMethod`}),` are both present and that `,_jsx(_components.code,{children:`paymentMethod`}),` is a supported enum value (`,_jsx(_components.code,{children:`CRYPTO_EXTERNAL_DAIMO`}),`).`]})}),_jsx(Accordion,{title:`498 — Invalid Client Key`,id:`498-invalid-client-key`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`X-Client-ID`}),` header value is not recognised. Verify your client ID.`]})}),_jsx(Accordion,{title:`499 — Missing Client Key`,id:`499-missing-client-key`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`X-Client-ID`}),` header is absent from the request.`]})}),_jsx(Accordion,{title:`500 — Internal Server Error`,id:`500-internal-server-error`,children:_jsx(_components.p,{children:`An unexpected error occurred on the server. Retry with exponential backoff. If the issue persists, contact Baanx support.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related Endpoints`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Get Available Products`,icon:`list`,href:`/api-reference/order/get-products`,children:_jsx(_components.p,{children:`Retrieve the products available and eligible for the current user before placing an order.`})}),_jsx(Card,{title:`Get Order Status`,icon:`arrow-right`,href:`/api-reference/order/get-order`,children:_jsx(_components.p,{children:`Poll for the async completion of a payment and confirm the order outcome.`})})]})]})}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":"Create Order","api":"POST /v1/order","description":"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.","href":"/api-reference/order/create","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Example Request","slug":"example-request","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"200 — Success","slug":"200-—-success","depth":3,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":3,"children":[]}]},{"title":"Related Endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create Order","path":"/v1/order","method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Bearer token for the authenticated user. Format: `Bearer \u003cuserAccessToken>`","required":true}]},"X-Client-ID":{"schema":[{"type":"string","description":"Your application’s client ID, issued during onboarding.","required":true}]},"Content-Type":{"schema":[{"type":"string","description":"Must be `application/json` .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"productId":[{"type":"string","description":"The unique identifier of the product to order. Valid values are partner-specific and returned by `GET /v1/order/products/available` . Example: `\"PRODUCT_ID_ABC\"`","required":true}],"paymentMethod":[{"type":"string","description":"The payment method to use for this order. Supported values: `CRYPTO_EXTERNAL_DAIMO`","required":true}]}}],"examples":{"example":{"value":{"productId":"\u003cstring>","paymentMethod":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"requestId":[{"type":"string","description":"An identifier for the payment request, used to correlate payment gateway callbacks back to this order. Example: `\"payment_1234\"`"}],"orderId":[{"type":"string","description":"Unique identifier for this order. Store this — you’ll need it to poll for the order outcome via `GET /v1/order/:orderId` .","required":true}],"paymentConfig":[{"type":"object","properties":{"paymentConfig.paymentAmount":[{"type":"number","description":"The amount to be paid, denominated in `paymentCurrency` . Example: `199`"}],"paymentConfig.paymentCurrency":[{"type":"string","description":"The fiat currency for the payment amount. Example: `\"USD\"`"}],"paymentConfig.destinationAddress":[{"type":"string","description":"The on-chain wallet address to send the payment to."}],"paymentConfig.destinationChainId":[{"type":"string","description":"The EVM chain ID for the destination network. Example: `\"59144\"` (Linea mainnet)"}],"paymentConfig.destinationTokenSymbol":[{"type":"string","description":"The token symbol to pay with. Example: `\"USDC\"`"}],"paymentConfig.destinationTokenAddress":[{"type":"string","description":"The contract address of the destination token on the specified chain."}]},"description":"Payment routing details for the external crypto payment. Pass these values to your payment gateway to initiate the transaction."}]}}],"examples":{"example":{"value":{"requestId":"\u003cstring>","orderId":"\u003cstring>","paymentConfig":{"paymentConfig.paymentAmount":123,"paymentConfig.paymentCurrency":"\u003cstring>","paymentConfig.destinationAddress":"\u003cstring>","paymentConfig.destinationChainId":"\u003cstring>","paymentConfig.destinationTokenSymbol":"\u003cstring>","paymentConfig.destinationTokenAddress":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"baanxgroup","siteName":"Baanx API","title":"Create Order - Baanx API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-19T17:17:26.581Z","originalFileLocation":"api-reference/order/create.md"},"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=\"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Baanx API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_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/baanxgroup/0noly4cKYD8qeZxA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Order - Baanx API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Baanx API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.baanx.com/api-reference/order/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://baanxgroup.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+Order\u0026amp;description=Initiate+an+order+for+a+product+such+as+a+premium+account+upgrade+or+metal+card.+Returns+a+unique+order+reference+to+pass+to+your+payment+gateway.\u0026amp;theme=e5ed9adb1acc63d397db9eeb\u0026amp;signature=64c348a4f6865a1928e2e6597dfe5c4a51b261056f4c5653aae2689663fc4eca\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Order - Baanx API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://baanxgroup.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+Order\u0026amp;description=Initiate+an+order+for+a+product+such+as+a+premium+account+upgrade+or+metal+card.+Returns+a+unique+order+reference+to+pass+to+your+payment+gateway.\u0026amp;theme=e5ed9adb1acc63d397db9eeb\u0026amp;signature=64c348a4f6865a1928e2e6597dfe5c4a51b261056f4c5653aae2689663fc4eca\">\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/baanxgroup/0noly4cKYD8qeZxA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Baanx API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.baanx.com/api-reference/order/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/order/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.baanx.com/#organization\",\"name\":\"Baanx API\",\"url\":\"https://docs.baanx.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.baanx.com#website\",\"name\":\"Baanx API\",\"url\":\"https://docs.baanx.com\",\"publisher\":{\"@id\":\"https://docs.baanx.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.baanx.com/api-reference/order/create#webpage\",\"url\":\"https://docs.baanx.com/api-reference/order/create\",\"name\":\"Create Order\",\"description\":\"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.\",\"dateModified\":\"2026-02-19T17:17:26.581Z\",\"isPartOf\":{\"@id\":\"https://docs.baanx.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.baanx.com/api-reference/order/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.baanx.com/api-reference/order/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Orders\",\"item\":\"https://docs.baanx.com/api-reference/order/enum-products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Order\",\"item\":\"https://docs.baanx.com/api-reference/order/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.baanx.com/api-reference/order/create#apireference\",\"headline\":\"Create Order\",\"name\":\"Create Order\",\"description\":\"Initiate an order for a product such as a premium account upgrade or metal card. Returns a unique order reference to pass to your payment gateway.\",\"url\":\"https://docs.baanx.com/api-reference/order/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.baanx.com/api-reference/order/create#webpage\"},\"dateModified\":\"2026-02-19T17:17:26.581Z\",\"publisher\":{\"@id\":\"https://docs.baanx.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.baanx.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Baanx API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Baanx API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/order/create.md","siteName":"Baanx API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/guides/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Authentication","pages":[{"title":"Authenticate User","api":"POST https://dev.api.baanx.com/v1/auth/login","href":"/api-reference/auth/login"},{"title":"Send OTP Code","api":"POST https://dev.api.baanx.com/v1/auth/login/otp","href":"/api-reference/auth/login-otp"},{"title":"Logout User","api":"POST https://dev.api.baanx.com/v1/auth/logout","href":"/api-reference/auth/logout"},{"title":"Initiate OAuth Authorization","api":"GET https://dev.api.baanx.com/v1/auth/oauth/authorize/initiate","href":"/api-reference/auth/oauth-authorize-initiate"},{"title":"Generate Authorization Code","api":"POST https://dev.api.baanx.com/v1/auth/oauth/authorize","href":"/api-reference/auth/oauth-authorize"},{"title":"Exchange Code for Tokens","api":"POST https://dev.api.baanx.com/v1/auth/oauth/token","href":"/api-reference/auth/oauth-token"},{"title":"Revoke OAuth Authorization","api":"DELETE https://dev.api.baanx.com/v1/auth/oauth/revoke","href":"/api-reference/auth/oauth-revoke"},{"title":"Get Onboarding Details","api":"GET https://dev.api.baanx.com/v1/auth/register","href":"/api-reference/auth/register"},{"title":"Send Registration Email","api":"POST https://dev.api.baanx.com/v1/auth/register/email/send","href":"/api-reference/auth/register-email-send"},{"title":"Verify Email Code","api":"POST https://dev.api.baanx.com/v1/auth/register/email/verify","href":"/api-reference/auth/register-email-verify"},{"title":"Send Phone Verification SMS","api":"POST https://dev.api.baanx.com/v1/auth/register/phone/send","href":"/api-reference/auth/register-phone-send"},{"title":"Verify Phone Code","api":"POST https://dev.api.baanx.com/v1/auth/register/phone/verify","href":"/api-reference/auth/register-phone-verify"},{"title":"Update Personal Details","api":"POST https://dev.api.baanx.com/v1/auth/register/personal-details","href":"/api-reference/auth/register-personal-details"},{"title":"Update Physical Address","api":"POST https://dev.api.baanx.com/v1/auth/register/address","href":"/api-reference/auth/register-address"},{"title":"Update Mailing Address","api":"POST https://dev.api.baanx.com/v1/auth/register/mailing-address","href":"/api-reference/auth/register-mailing-address"},{"title":"Generate KYC Verification Session","api":"POST https://dev.api.baanx.com/v1/auth/register/verification","href":"/api-reference/auth/register-verification"},{"title":"Get Registration Settings","api":"GET https://dev.api.baanx.com/v1/auth/settings","href":"/api-reference/auth/settings"}]},{"group":"User","pages":[{"title":"Get User Details","api":"GET https://dev.api.baanx.com/v1/user","href":"/api-reference/user/get-user"},{"title":"Start User Verification","api":"GET https://dev.api.baanx.com/v1/user/verification","href":"/api-reference/user/verification"}]},{"group":"Card","pages":[{"title":"Order a Card","api":"POST https://dev.api.baanx.com/v1/card/order","href":"/api-reference/card/order"},{"title":"Get Card Status","api":"GET https://dev.api.baanx.com/v1/card/status","href":"/api-reference/card/status"},{"title":"Freeze Card","api":"POST https://dev.api.baanx.com/v1/card/freeze","href":"/api-reference/card/freeze"},{"title":"Unfreeze Card","api":"POST https://dev.api.baanx.com/v1/card/unfreeze","href":"/api-reference/card/unfreeze"},{"title":"Get Card Transactions","api":"GET https://dev.api.baanx.com/v1/card/transactions","href":"/api-reference/card/transactions"},{"title":"Generate Transaction Statement","api":"GET https://dev.api.baanx.com/v1/card/transactions/statement","href":"/api-reference/card/transactions-statement"},{"title":"Generate PIN View Token","api":"POST https://dev.api.baanx.com/v1/card/pin/token","href":"/api-reference/card/pin-token"},{"title":"Generate PIN Set Token","api":"POST https://dev.api.baanx.com/v1/card/set-pin/token","href":"/api-reference/card/set-pin-token"},{"title":"Generate Card Details Token","api":"POST https://dev.api.baanx.com/v1/card/details/token","href":"/api-reference/card/details-token"}]},{"group":"Orders","pages":[{"title":"Get Available Products","api":"GET /v1/order/products/available","description":"Fetch the list of active orderable products available to the current user, including eligibility status.","href":"/api-reference/order/enum-products"},{"title":"Create Order","api":"POST /v1/order","href":"/api-reference/order/create"},{"title":"Get Order Status","api":"GET /v1/order/{orderId}","description":"Fetch the current status of an order by ID. Use this to poll for async completion after a payment is submitted.","href":"/api-reference/order/status"}]},{"group":"Wallet","pages":[{"title":"Get/Create Internal Wallets","api":"GET https://dev.api.baanx.com/v1/wallet/internal","href":"/api-reference/wallet/internal"},{"title":"List Card-Linked Wallets","api":"GET /v1/wallet/internal/card_linked","href":"/api-reference/wallet/internal-card-linked-get"},{"title":"Link Wallet to Card","api":"POST /v1/wallet/internal/card_linked","href":"/api-reference/wallet/internal-card-linked-post"},{"title":"Unlink Wallet from Card","api":"DELETE /v1/wallet/internal/card_linked","href":"/api-reference/wallet/internal-card-linked-delete"},{"title":"Update Linked Wallet Priority","api":"PUT https://dev.api.baanx.com/v1/wallet/internal/card_linked/priority","href":"/api-reference/wallet/internal-card-linked-priority"},{"title":"Withdraw from Internal Wallet","api":"POST https://dev.api.baanx.com/v1/wallet/internal/withdraw","href":"/api-reference/wallet/internal-withdraw"},{"title":"Get External Wallets","api":"GET https://dev.api.baanx.com/v1/wallet/external","href":"/api-reference/wallet/external"},{"title":"Get External Wallet Priority","api":"GET /v1/wallet/external/priority","href":"/api-reference/wallet/external-priority-get"},{"title":"Update External Wallet Priority","api":"PUT /v1/wallet/external/priority","href":"/api-reference/wallet/external-priority-put"},{"title":"Get Credit Wallet Balance","api":"GET https://dev.api.baanx.com/v1/wallet/credit","href":"/api-reference/wallet/credit"},{"title":"Withdraw from Credit Wallet","api":"POST https://dev.api.baanx.com/v1/wallet/credit/withdraw","href":"/api-reference/wallet/credit-withdraw"},{"title":"Estimate Credit Withdrawal Fees","api":"GET https://dev.api.baanx.com/v1/wallet/credit/withdraw-estimation","href":"/api-reference/wallet/credit-withdraw-estimation"},{"title":"Get Reward Wallet Balance","api":"GET https://dev.api.baanx.com/v1/wallet/reward","href":"/api-reference/wallet/reward"},{"title":"Withdraw from Reward Wallet","api":"POST https://dev.api.baanx.com/v1/wallet/reward/withdraw","href":"/api-reference/wallet/reward-withdraw"},{"title":"Estimate Reward Withdrawal Fees","api":"GET https://dev.api.baanx.com/v1/wallet/reward/withdraw-estimation","href":"/api-reference/wallet/reward-withdraw-estimation"},{"title":"Get Whitelisted Addresses","api":"GET /v1/wallet/whitelist","href":"/api-reference/wallet/whitelist-get"},{"title":"Add Addresses to Whitelist","api":"POST /v1/wallet/whitelist","href":"/api-reference/wallet/whitelist-post"},{"title":"Remove Addresses from Whitelist","api":"DELETE /v1/wallet/whitelist","href":"/api-reference/wallet/whitelist-delete"},{"title":"Get Wallet Transaction History","api":"GET https://dev.api.baanx.com/v1/wallet/history","href":"/api-reference/wallet/history"}]},{"group":"Delegation","pages":[{"title":"Get Delegation Token","api":"GET /v1/delegation/token","href":"/api-reference/delegation/get-token"},{"title":"Get Blockchain Configuration","api":"GET https://dev.api.baanx.com/v1/delegation/chain/config","href":"/api-reference/delegation/chain-config"},{"title":"Complete EVM Wallet Delegation","api":"POST https://dev.api.baanx.com/v1/delegation/evm/post-approval","href":"/api-reference/delegation/evm-post-approval"},{"title":"Complete Solana Wallet Delegation","api":"POST https://dev.api.baanx.com/v1/delegation/solana/post-approval","href":"/api-reference/delegation/solana-post-approval"}]},{"group":"Consent","pages":[{"title":"Create Onboarding Consent","api":"POST /v2/consent/onboarding","href":"/api-reference/consent/create-onboarding-consent"},{"title":"Get Consent Sets by Onboarding ID","api":"GET /v2/consent/onboarding/{onboardingId}","href":"/api-reference/consent/get-onboarding-consent"},{"title":"Link User to Consent Set","api":"PATCH /v2/consent/onboarding/{consentSetId}","href":"/api-reference/consent/link-user-to-consent"},{"title":"Get Consent Set by ID","api":"GET /v2/consent/consentSet/{consentSetId}","href":"/api-reference/consent/get-consent-set"},{"title":"Get User Consent Status","api":"GET /v2/consent/user/{userId}","href":"/api-reference/consent/get-user-consent"},{"title":"Get Consent Audit Trail","api":"GET /v2/consent/user/{userId}/audit","href":"/api-reference/consent/get-consent-audit"},{"title":"Revoke Consent","api":"DELETE /v2/consent/consentSet/{consentSetId}/consent/{consentId}","href":"/api-reference/consent/revoke-consent"}]},{"group":"Referral","pages":[{"title":"Get User Referral Code","api":"GET /v1/referral","href":"/api-reference/referral/get-referral-code"},{"title":"Validate Referral Code","api":"GET /v1/referral/{code}/validate","href":"/api-reference/referral/validate-referral-code"}]},{"group":"Webhooks","pages":[{"title":"List Webhook Endpoints","api":"GET /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create Webhook Endpoint","api":"POST /v1/webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Get Webhook Endpoint","api":"GET /v1/webhooks/{id}","href":"/api-reference/webhooks/get-webhook"},{"title":"Update Webhook Endpoint","api":"PUT /v1/webhooks/{id}","href":"/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook Endpoint","api":"DELETE /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Rotate Webhook Signing Key","api":"POST /v1/webhooks/{id}/rotate-key","href":"/api-reference/webhooks/rotate-key"},{"title":"Get Webhook Delivery Logs","api":"GET /v1/webhooks/{id}/logs","href":"/api-reference/webhooks/webhook-logs"},{"title":"List Events","api":"GET /v1/webhooks/events","href":"/api-reference/webhooks/list-events"},{"title":"Get Event Status","api":"GET /v1/webhooks/events/{eventId}/status","href":"/api-reference/webhooks/event-status"},{"title":"Get Event Delivery Logs","api":"GET /v1/webhooks/events/{eventId}/logs","href":"/api-reference/webhooks/event-logs"},{"title":"Retry Event Delivery","api":"POST /v1/webhooks/events/{eventId}/retry","href":"/api-reference/webhooks/retry-event"}]}]}]},"basePath":"","title":"Create Order - Baanx API","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","Page-CnLhKuUV.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js"]}