Places one order on one market. type and time_in_force are separate flat fields rather than a fused union key, and post_only is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name.
Sizing. A limit order names quantity in the base asset and a price in the quote asset. A marketsell names quantity and nothing else. A marketbuy names quote_quantity, the amount of the quote asset to spend, and nothing else; naming none is market_buy_needs_quote_quantity, because the spend would otherwise be unbounded. A market order of either side that names a price is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a limit order with time_in_forceioc — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market’s quantity step and the unspent remainder of the amount is returned.
Replay. client_order_id is the caller’s own reference, at most 64 characters, and must be unique among that caller’s orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is not an error and creates nothing: it answers 200 with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a different request under the same id is duplicate_client_order_id. A terminal order’s reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange’s own admission policy allows it); a new or different request is refused by that admission first.
Self-trade prevention. stp_mode decides what happens when the order would match the caller’s own resting order: cancel_taker cancels the incoming one, cancel_maker cancels the resting one, cancel_both cancels both, and decrement takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book’s own default, which is cancel_taker unless staff have set another. A self-trade is always prevented; there is no value that lets one print.
The reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so created_at, updated_at and the resolved stp_mode are the venue’s own values and not an echo of the request: a client may store the reply and compare it against GET /v1/exchange/orders/{order_id} without seeing a difference that is not there.
If placement is unavailable, this write returns 503 book_busy by default.
One order. type, time_in_force and post_only are flat and independent rather than fused into a single union key, so the wire format stays readable and extensible; the server refuses an invalid combination by name with invalid_order_combination. A property this schema does not declare is refused with unknown-property rather than ignored.
market
string
required
A market's one canonical identifier: the base asset, a hyphen, the quote asset, all uppercase. USDT-NGN means USDT priced in NGN, so a buy acquires USDT and spends NGN. The same string is used in paths, query parameters, request bodies and stream subscriptions; there is no second spelling of a market anywhere on this surface.
Required string length: 5 - 21
Pattern: ^[A-Z0-9]{2,10}-[A-Z0-9]{2,10}$
Example:
"USDT-NGN"
side
enum<string>
required
The direction of an order or a fill, in terms of the market's base asset
Available options:
buy,
sell
Example:
"buy"
type
enum<string>
required
limit rests at a named price. market takes whatever the book offers, bounded by quote_quantity on a buy and by quantity on a sell.
Available options:
limit,
market
Example:
"limit"
quantity
string
The size in the base asset. Required for a limit order and for a marketsell. Mutually exclusive with quote_quantity.
Maximum string length: 62
Pattern: ^-?[0-9]{1,30}(\.[0-9]{1,30})?$
Example:
"5000.00"
quote_quantity
string
The amount of the quote asset to spend, for a marketbuy that wants to size its spend rather than its acquisition. Mutually exclusive with quantity.
Maximum string length: 62
Pattern: ^-?[0-9]{1,30}(\.[0-9]{1,30})?$
Example:
"1000000.00"
price
string
The limit price, in the quote asset. Required for a limit order, and refused on a market order of either side, which takes what the book offers and carries no price bound. To bound the price, place a limit order with time_in_forceioc.
Maximum string length: 62
Pattern: ^-?[0-9]{1,30}(\.[0-9]{1,30})?$
Example:
"1371.50"
time_in_force
enum<string>
How long the order may live. Defaults to gtc for a limit order and ioc for a market one.
Available options:
gtc,
ioc,
fok
Example:
"gtc"
post_only
boolean
When true the order will not take liquidity. If it arrives to find a resting order it would have crossed, it is accepted and immediately cancelled with a cancel_reason of post_only_would_cross, so a maker can never pay a taker fee by accident. That is an outcome and not a refusal: the order existed, ran and closed, and it answers 201 with a cancelled order rather than an error. It is 201 and not 200 because an order WAS created; 200 on this operation means the other thing the response table lists, an identical replay of a client_order_id, which creates nothing. Defaults to false, and is not accepted on a market order.
Example:
true
client_order_id
string
The caller's own reference, unique among that caller's orders placed in the last 24 hours and among their live orders however old. Sending the same request twice under one id creates one order and answers 200 the second time, which is what makes a retry after a network timeout safe. Sending a different request under a held id is duplicate_client_order_id.
Maximum string length: 64
Example:
"mm-usdtngn-bid-0091"
stp_mode
enum<string>
Self-trade prevention. Defaults to cancel_taker.
Available options:
cancel_taker,
cancel_maker,
cancel_both,
decrement
Example:
"cancel_taker"
Response
An identical replay of a held client_order_id — placed within the last 24 hours, or still live. Nothing was created; this is the order as it stands now, including any status change since the first response.
General response Values
status
enum<string>
required
Available options:
success,
error
Example:
"success"
message
string
required
Example:
"message for success"
data
object
required
One of the caller's orders. Every field is always present and the ones that do not apply are null rather than absent, so a client's parser never has to branch on a missing key. The single exception is cancel_reason, which is absent on an order that was not cancelled, for the reason its own description gives.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Busha Developer Documentation","colors":{"primary":"#12A232","light":"#12A232","dark":"#12A232"},"logo":{"light":"https://mintcdn.com/busha-36f167ef/bqGQAc9YwZBzW1ju/logo/light.svg?fit=max\u0026auto=format\u0026n=bqGQAc9YwZBzW1ju\u0026q=85\u0026s=08cf983a0716b1e5e0ccf2eabf9408a5","dark":"https://mintcdn.com/busha-36f167ef/bqGQAc9YwZBzW1ju/logo/dark.svg?fit=max\u0026auto=format\u0026n=bqGQAc9YwZBzW1ju\u0026q=85\u0026s=209a532c93e641a4ad79e0d7ef0ebbe3"},"favicon":"https://mintcdn.com/busha-36f167ef/bqGQAc9YwZBzW1ju/images/svg/favicon.svg?fit=max\u0026auto=format\u0026n=bqGQAc9YwZBzW1ju\u0026q=85\u0026s=3d0baa4107dcc1b7208265c241435f89","navbar":{"links":[{"href":"mailto:developers@busha.co","label":"Support"}],"primary":{"type":"button","label":"Visit Busha","href":"https://busha.io"}},"footer":{"socials":{"x":"https://twitter.com/getbusha","github":"https://github.com/bushaHQ","linkedin":"https://linkedin.com/company/getbusha"}},"seo":{"metatags":{"og:description":"Busha API documentation for developers. Integrate crypto trading, wallets, and payments into your app with our comprehensive guides and API references.","description":"Busha API documentation for developers. Integrate crypto trading, wallets, and payments into your app with our comprehensive guides and API references.","og:title":"Busha Developer Documentation","og:site_name":"Busha Developer Documentation","og:image":"/images/meta-image.png"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Guides","icon":"book-open-cover","href":"https://docs.busha.io/guides"},{"anchor":"Blog","icon":"newspaper","href":"https://busha.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://docs.busha.io/changelog"},{"anchor":"Exchange","icon":"chart-candlestick","href":"/guides/exchange/introduction"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"busha-36f167ef","hasAudioNarration":false,"actualSubdomain":"busha-36f167ef","customDomains":["docs.busha.io"],"gitSource":{"type":"github","owner":"bushahq","repo":"developers","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b08577f3255825ab84aaa48","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API Reference","count":87},{"language":"default","tag":"API reference","count":87},{"language":"default","tag":"Guides","count":56},{"language":"default","tag":"Exchange","count":22},{"language":"default","tag":"Examples","count":20},{"language":"default","tag":"Pledges","count":11},{"language":"default","tag":"Reference","count":10},{"language":"default","tag":"Overview","count":10},{"language":"default","tag":"Customers","count":10},{"language":"default","tag":"Miscellaneous","count":9}]},"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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/exchange/place-an-order","slug":"/api-reference/exchange/place-an-order","pageMetadata":{"title":"Place an order","description":"Places one order on one market. `type` and `time_in_force` are separate flat fields rather than a fused union key, and `post_only` is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name.\n\nSizing. A `limit` order names `quantity` in the base asset and a `price` in the quote asset. A `market` `sell` names `quantity` and nothing else. A `market` `buy` names `quote_quantity`, the amount of the quote asset to spend, and nothing else; naming none is `market_buy_needs_quote_quantity`, because the spend would otherwise be unbounded. A `market` order of either side that names a `price` is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a `limit` order with `time_in_force` `ioc` — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market's quantity step and the unspent remainder of the amount is returned.\n\nReplay. `client_order_id` is the caller's own reference, at most 64 characters, and must be unique among that caller's orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is **not** an error and creates nothing: it answers `200` with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a *different* request under the same id is `duplicate_client_order_id`. A terminal order's reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange's own admission policy allows it); a new or *different* request is refused by that admission first.\n\nSelf-trade prevention. `stp_mode` decides what happens when the order would match the caller's own resting order: `cancel_taker` cancels the incoming one, `cancel_maker` cancels the resting one, `cancel_both` cancels both, and `decrement` takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book's own default, which is `cancel_taker` unless staff have set another. A self-trade is always prevented; there is no value that lets one print.\n\nThe reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so `created_at`, `updated_at` and the resolved `stp_mode` are the venue's own values and not an echo of the request: a client may store the reply and compare it against `GET /v1/exchange/orders/{order_id}` without seeing a difference that is not there.\n\nIf placement is unavailable, this write returns `503 book_busy` by default.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/exchange/orders","href":"/api-reference/exchange/place-an-order","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n em: \"em\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Places one order on one market. \", _jsx(_components.code, {\n children: \"type\"\n }), \" and \", _jsx(_components.code, {\n children: \"time_in_force\"\n }), \" are separate flat fields rather than a fused union key, and \", _jsx(_components.code, {\n children: \"post_only\"\n }), \" is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Sizing. A \", _jsx(_components.code, {\n children: \"limit\"\n }), \" order names \", _jsx(_components.code, {\n children: \"quantity\"\n }), \" in the base asset and a \", _jsx(_components.code, {\n children: \"price\"\n }), \" in the quote asset. A \", _jsx(_components.code, {\n children: \"market\"\n }), \" \", _jsx(_components.code, {\n children: \"sell\"\n }), \" names \", _jsx(_components.code, {\n children: \"quantity\"\n }), \" and nothing else. A \", _jsx(_components.code, {\n children: \"market\"\n }), \" \", _jsx(_components.code, {\n children: \"buy\"\n }), \" names \", _jsx(_components.code, {\n children: \"quote_quantity\"\n }), \", the amount of the quote asset to spend, and nothing else; naming none is \", _jsx(_components.code, {\n children: \"market_buy_needs_quote_quantity\"\n }), \", because the spend would otherwise be unbounded. A \", _jsx(_components.code, {\n children: \"market\"\n }), \" order of either side that names a \", _jsx(_components.code, {\n children: \"price\"\n }), \" is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a \", _jsx(_components.code, {\n children: \"limit\"\n }), \" order with \", _jsx(_components.code, {\n children: \"time_in_force\"\n }), \" \", _jsx(_components.code, {\n children: \"ioc\"\n }), \" — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market’s quantity step and the unspent remainder of the amount is returned.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Replay. \", _jsx(_components.code, {\n children: \"client_order_id\"\n }), \" is the caller’s own reference, at most 64 characters, and must be unique among that caller’s orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is \", _jsx(_components.strong, {\n children: \"not\"\n }), \" an error and creates nothing: it answers \", _jsx(_components.code, {\n children: \"200\"\n }), \" with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a \", _jsx(_components.em, {\n children: \"different\"\n }), \" request under the same id is \", _jsx(_components.code, {\n children: \"duplicate_client_order_id\"\n }), \". A terminal order’s reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange’s own admission policy allows it); a new or \", _jsx(_components.em, {\n children: \"different\"\n }), \" request is refused by that admission first.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Self-trade prevention. \", _jsx(_components.code, {\n children: \"stp_mode\"\n }), \" decides what happens when the order would match the caller’s own resting order: \", _jsx(_components.code, {\n children: \"cancel_taker\"\n }), \" cancels the incoming one, \", _jsx(_components.code, {\n children: \"cancel_maker\"\n }), \" cancels the resting one, \", _jsx(_components.code, {\n children: \"cancel_both\"\n }), \" cancels both, and \", _jsx(_components.code, {\n children: \"decrement\"\n }), \" takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book’s own default, which is \", _jsx(_components.code, {\n children: \"cancel_taker\"\n }), \" unless staff have set another. A self-trade is always prevented; there is no value that lets one print.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so \", _jsx(_components.code, {\n children: \"created_at\"\n }), \", \", _jsx(_components.code, {\n children: \"updated_at\"\n }), \" and the resolved \", _jsx(_components.code, {\n children: \"stp_mode\"\n }), \" are the venue’s own values and not an echo of the request: a client may store the reply and compare it against \", _jsx(_components.code, {\n children: \"GET /v1/exchange/orders/{order_id}\"\n }), \" without seeing a difference that is not there.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"If placement is unavailable, this write returns \", _jsx(_components.code, {\n children: \"503 book_busy\"\n }), \" by default.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Place an order","description":"Places one order on one market. `type` and `time_in_force` are separate flat fields rather than a fused union key, and `post_only` is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name.\n\nSizing. A `limit` order names `quantity` in the base asset and a `price` in the quote asset. A `market` `sell` names `quantity` and nothing else. A `market` `buy` names `quote_quantity`, the amount of the quote asset to spend, and nothing else; naming none is `market_buy_needs_quote_quantity`, because the spend would otherwise be unbounded. A `market` order of either side that names a `price` is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a `limit` order with `time_in_force` `ioc` — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market's quantity step and the unspent remainder of the amount is returned.\n\nReplay. `client_order_id` is the caller's own reference, at most 64 characters, and must be unique among that caller's orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is **not** an error and creates nothing: it answers `200` with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a *different* request under the same id is `duplicate_client_order_id`. A terminal order's reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange's own admission policy allows it); a new or *different* request is refused by that admission first.\n\nSelf-trade prevention. `stp_mode` decides what happens when the order would match the caller's own resting order: `cancel_taker` cancels the incoming one, `cancel_maker` cancels the resting one, `cancel_both` cancels both, and `decrement` takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book's own default, which is `cancel_taker` unless staff have set another. A self-trade is always prevented; there is no value that lets one print.\n\nThe reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so `created_at`, `updated_at` and the resolved `stp_mode` are the venue's own values and not an echo of the request: a client may store the reply and compare it against `GET /v1/exchange/orders/{order_id}` without seeing a difference that is not there.\n\nIf placement is unavailable, this write returns `503 book_busy` by default.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/exchange/orders","href":"/api-reference/exchange/place-an-order","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Exchange"],"security":["ce5acc7a-1acb-4d28-a599-98ce3b69ce18"],"summary":"Place an order","description":"Places one order on one market. `type` and `time_in_force` are separate flat fields rather than a fused union key, and `post_only` is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name.\n\nSizing. A `limit` order names `quantity` in the base asset and a `price` in the quote asset. A `market` `sell` names `quantity` and nothing else. A `market` `buy` names `quote_quantity`, the amount of the quote asset to spend, and nothing else; naming none is `market_buy_needs_quote_quantity`, because the spend would otherwise be unbounded. A `market` order of either side that names a `price` is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a `limit` order with `time_in_force` `ioc` — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market's quantity step and the unspent remainder of the amount is returned.\n\nReplay. `client_order_id` is the caller's own reference, at most 64 characters, and must be unique among that caller's orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is **not** an error and creates nothing: it answers `200` with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a *different* request under the same id is `duplicate_client_order_id`. A terminal order's reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange's own admission policy allows it); a new or *different* request is refused by that admission first.\n\nSelf-trade prevention. `stp_mode` decides what happens when the order would match the caller's own resting order: `cancel_taker` cancels the incoming one, `cancel_maker` cancels the resting one, `cancel_both` cancels both, and `decrement` takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book's own default, which is `cancel_taker` unless staff have set another. A self-trade is always prevented; there is no value that lets one print.\n\nThe reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so `created_at`, `updated_at` and the resolved `stp_mode` are the venue's own values and not an echo of the request: a client may store the reply and compare it against `GET /v1/exchange/orders/{order_id}` without seeing a difference that is not there.\n\nIf placement is unavailable, this write returns `503 book_busy` by default.\n","operationId":"createExchangeOrder","x-error-contract":{"resource_state_conflict":409},"parameters":["8630c15a-face-451d-a1b9-d1a6dd43f809"],"requestBody":"6a0288cd-fde3-43b6-a135-96d39ee682b9","responses":{"200":"dc69cf37-b817-42a9-b3f6-eedbefd42181","201":"7c9e8437-5c64-45f4-a17f-2dcd1bb8bff3","4XX":"40acf888-4c91-49af-bd55-5909d2978915","5XX":"9574107e-d703-43f0-bca2-7dc197461275"},"method":"post","type":"path","servers":["8a5d59f3-34e3-4375-9d06-f4dffc05f9fb","31fefe45-5dd9-493b-8ecc-8e6d84855d69"],"path":"/v1/exchange/orders","baseUrlOptions":["https://api.sandbox.busha.so","https://api.busha.io"],"title":"Place an order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8630c15a-face-451d-a1b9-d1a6dd43f809":{"in":"header","name":"X-BU-PROFILE-ID","required":false,"description":"User profile header","schema":{"type":"string","example":"BUS_YOK8tp5Zga01qOKEsqp07","isRequired":false,"description":"User profile header","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"description":"One order. `type`, `time_in_force` and `post_only` are flat and independent rather than fused into a single union key, so the wire format stays readable and extensible; the server refuses an invalid combination by name with `invalid_order_combination`. A property this schema does not declare is refused with `unknown-property` rather than ignored.\n","required":["market","side","type"],"properties":{"market":{"type":"string","description":"A market's one canonical identifier: the base asset, a hyphen, the quote asset, all uppercase. `USDT-NGN` means USDT priced in NGN, so a `buy` acquires USDT and spends NGN. The same string is used in paths, query parameters, request bodies and stream subscriptions; there is no second spelling of a market anywhere on this surface.\n","pattern":"^[A-Z0-9]{2,10}-[A-Z0-9]{2,10}$","minLength":5,"maxLength":21,"example":"USDT-NGN","isRequired":true,"uniqueKey":"market","typeLabel":"string"},"side":{"type":"string","description":"The direction of an order or a fill, in terms of the market's base asset","enum":["buy","sell"],"example":"buy","isRequired":true,"uniqueKey":"side","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"`limit` rests at a named price. `market` takes whatever the book offers, bounded by `quote_quantity` on a buy and by `quantity` on a sell.\n","enum":["limit","market"],"example":"limit","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"quantity":{"type":"string","description":"The size in the base asset. Required for a `limit` order and for a `market` `sell`. Mutually exclusive with `quote_quantity`.\n","maxLength":62,"pattern":"^-?[0-9]{1,30}(\\.[0-9]{1,30})?$","example":"5000.00","uniqueKey":"quantity","typeLabel":"string"},"quote_quantity":{"type":"string","description":"The amount of the quote asset to spend, for a `market` `buy` that wants to size its spend rather than its acquisition. Mutually exclusive with `quantity`.\n","maxLength":62,"pattern":"^-?[0-9]{1,30}(\\.[0-9]{1,30})?$","example":"1000000.00","uniqueKey":"quote_quantity","typeLabel":"string"},"price":{"type":"string","description":"The limit price, in the quote asset. Required for a `limit` order, and refused on a `market` order of either side, which takes what the book offers and carries no price bound. To bound the price, place a `limit` order with `time_in_force` `ioc`.\n","maxLength":62,"pattern":"^-?[0-9]{1,30}(\\.[0-9]{1,30})?$","example":"1371.50","uniqueKey":"price","typeLabel":"string"},"time_in_force":{"type":"string","description":"How long the order may live. Defaults to `gtc` for a `limit` order and `ioc` for a `market` one.","enum":["gtc","ioc","fok"],"example":"gtc","uniqueKey":"time_in_force","typeLabel":"enum\u003cstring>"},"post_only":{"type":"boolean","description":"When true the order will not take liquidity. If it arrives to find a resting order it would have crossed, it is accepted and immediately cancelled with a `cancel_reason` of `post_only_would_cross`, so a maker can never pay a taker fee by accident. That is an outcome and not a refusal: the order existed, ran and closed, and it answers `201` with a `cancelled` order rather than an error. It is `201` and not `200` because an order WAS created; `200` on this operation means the other thing the response table lists, an identical replay of a `client_order_id`, which creates nothing. Defaults to false, and is not accepted on a `market` order.\n","example":true,"uniqueKey":"post_only","typeLabel":"boolean"},"client_order_id":{"type":"string","maxLength":64,"description":"The caller's own reference, unique among that caller's orders placed in the last 24 hours and among their live orders however old. Sending the same request twice under one id creates one order and answers 200 the second time, which is what makes a retry after a network timeout safe. Sending a *different* request under a held id is `duplicate_client_order_id`.\n","example":"mm-usdtngn-bid-0091","uniqueKey":"client_order_id","typeLabel":"string"},"stp_mode":{"type":"string","description":"Self-trade prevention. Defaults to `cancel_taker`.","enum":["cancel_taker","cancel_maker","cancel_both","decrement"],"example":"cancel_taker","uniqueKey":"stp_mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"limit_post_only":{"title":"limit_post_only","summary":"A maker bid on USDT-NGN","value":{"market":"USDT-NGN","side":"buy","type":"limit","quantity":"5000.00","price":"1371.50","time_in_force":"gtc","post_only":true,"client_order_id":"mm-usdtngn-bid-0091","stp_mode":"cancel_taker"}},"market_buy":{"title":"market_buy","summary":"Spend 1,000,000 NGN at market","value":{"market":"USDT-NGN","side":"buy","type":"market","quote_quantity":"1000000.00","time_in_force":"ioc","client_order_id":"taker-0442"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"dc69cf37-b817-42a9-b3f6-eedbefd42181":{"description":"An identical replay of a held `client_order_id` — placed within the last 24 hours, or still live. Nothing was created; this is the order as it stands now, including any status change since the first response.\n","content":{"application/json":{"schema":{"type":"object","description":"General response Values","required":["data","status","message"],"properties":{"status":{"type":"string","enum":["success","error"],"example":"success","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"message for success","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"One of the caller's orders. Every field is always present and the ones that do not apply are `null` rather than absent, so a client's parser never has to branch on a missing key. The single exception is `cancel_reason`, which is absent on an order that was not cancelled, for the reason its own description gives.\n","required":["id","client_order_id","market","side","type","time_in_force","post_only","stp_mode","status","price","quantity","quote_quantity","filled_quantity","filled_quote","remaining_quantity","average_price","maker_fee_rate","taker_fee_rate","created_at","updated_at","expires_at"],"properties":{"id":{"type":"string","description":"The platform's identifier for the order","example":"exo_3Nd8vYpLwGtE","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"client_order_id":{"oneOf":[{"type":"string","maxLength":64,"description":"The caller's own reference, or `null` if none was supplied","example":"mm-usdtngn-ask-0090","isRequired":true,"uniqueKey":"data.client_order_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":64,"description":"The caller's own reference, or `null` if none was supplied","example":"mm-usdtngn-ask-0090","isRequired":true,"uniqueKey":"data.client_order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.client_order_id","typeLabel":"string | null"},"market":{"type":"string","description":"A market's one canonical identifier: the base asset, a hyphen, the quote asset, all uppercase. `USDT-NGN` means USDT priced in NGN, so a `buy` acquires USDT and spends NGN. The same string is used in paths, query parameters, request bodies and stream subscriptions; there is no second spelling of a market anywhere on this surface.\n","pattern":"^[A-Z0-9]{2,10}-[A-Z0-9]{2,10}$","minLength":5,"maxLength":21,"example":"USDT-NGN","isRequired":true,"uniqueKey":"data.market","typeLabel":"string"},"side":{"type":"string","description":"The direction of an order or a fill, in terms of the market's base asset","enum":["buy","sell"],"example":"buy","isRequired":true,"uniqueKey":"data.side","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"`limit` rests at a named price. `market` takes whatever the book offers, bounded by `quote_quantity` on a buy and by `quantity` on a sell.\n","enum":["limit","market"],"example":"limit","isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"time_in_force":{"type":"string","description":"How long the order may live. `gtc` rests until filled or cancelled. `ioc` fills what it can immediately and cancels the rest. `fok` fills in full immediately or does nothing at all.\n","enum":["gtc","ioc","fok"],"example":"gtc","isRequired":true,"uniqueKey":"data.time_in_force","typeLabel":"enum\u003cstring>"},"post_only":{"type":"boolean","description":"Whether the order was placed as post-only","example":true,"isRequired":true,"uniqueKey":"data.post_only","typeLabel":"boolean"},"stp_mode":{"type":"string","description":"What happens when an order would match the same caller's resting order. `cancel_taker` cancels the incoming order, `cancel_maker` cancels the resting one, `cancel_both` cancels both, and `decrement` takes the crossing quantity off both and lets whatever is left of each carry on. Defaults to `cancel_taker`.\n\nA self-trade is always prevented: there is no value that lets one print. That is what every major spot venue does — Binance permits its `NONE` mode on none of its live spot symbols, Coinbase Exchange states that self-trading is not allowed, and Kraken applies prevention to every order.\n","enum":["cancel_taker","cancel_maker","cancel_both","decrement"],"example":"cancel_taker","isRequired":true,"uniqueKey":"data.stp_mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Where the order stands. `open` and `partially_filled` are live and can be cancelled; `filled` and `cancelled` are terminal. A partially filled order that is then cancelled ends `cancelled` with its `filled_quantity` intact.\n\nA `market` `buy` sized by `quote_quantity` ends `filled` once it has spent the amount: every whole `quantity_step` the amount buys after the taker fee is bought, and what is left, less than one step, returns to the available balance. `filled_quote` plus the taker fee is what was spent. It ends `cancelled` with `immediate_or_cancel` when it bought nothing, when the matching walk stopped before the money ran out, or when a `decrement` self-trade prevention took part of the amount off without spending it.\n","enum":["open","partially_filled","filled","cancelled"],"example":"open","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"price":{"oneOf":[{"type":"string","format":"decimal","description":"The limit price, or `null` on a market order that named no cap","example":"1372.30","isRequired":true,"uniqueKey":"data.price.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"The limit price, or `null` on a market order that named no cap","example":"1372.30","isRequired":true,"uniqueKey":"data.price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.price","typeLabel":"string\u003cdecimal> | null"},"quantity":{"oneOf":[{"type":"string","format":"decimal","description":"The size in the base asset, or `null` on an order sized by `quote_quantity`","example":"5000.00","isRequired":true,"uniqueKey":"data.quantity.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"The size in the base asset, or `null` on an order sized by `quote_quantity`","example":"5000.00","isRequired":true,"uniqueKey":"data.quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.quantity","typeLabel":"string\u003cdecimal> | null"},"quote_quantity":{"oneOf":[{"type":"string","format":"decimal","description":"The spend in the quote asset, or `null` on an order sized by `quantity`","example":null,"isRequired":true,"uniqueKey":"data.quote_quantity.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"The spend in the quote asset, or `null` on an order sized by `quantity`","example":null,"isRequired":true,"uniqueKey":"data.quote_quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.quote_quantity","typeLabel":"string\u003cdecimal> | null"},"filled_quantity":{"type":"string","description":"How much of the base asset has traded so far. Zero on an untouched order.","example":"1900.00","isRequired":true,"uniqueKey":"data.filled_quantity","typeLabel":"string"},"filled_quote":{"type":"string","description":"How much of the quote asset has changed hands so far. Carried alongside `filled_quantity` rather than left to the client to multiply, because rounding at each fill makes the product and the sum disagree.\n","example":"2607370.00","isRequired":true,"uniqueKey":"data.filled_quote","typeLabel":"string"},"remaining_quantity":{"oneOf":[{"type":"string","format":"decimal","description":"What is still open on the order: `quantity` less `filled_quantity`, less anything a self-trade decrement removed. It stays as the untraded leftover once the order closes, so a client can see what never traded. It is `null` exactly where `quantity` is null, and otherwise it is the same number the private stream publishes under the same name. For a market buy sized by `quote_quantity`, which has no quantity of its own, this field is null on the order reads while the private stream publishes \"0\" for the same order.\n","example":"3100.00","isRequired":true,"uniqueKey":"data.remaining_quantity.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"What is still open on the order: `quantity` less `filled_quantity`, less anything a self-trade decrement removed. It stays as the untraded leftover once the order closes, so a client can see what never traded. It is `null` exactly where `quantity` is null, and otherwise it is the same number the private stream publishes under the same name. For a market buy sized by `quote_quantity`, which has no quantity of its own, this field is null on the order reads while the private stream publishes \"0\" for the same order.\n","example":"3100.00","isRequired":true,"uniqueKey":"data.remaining_quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.remaining_quantity","typeLabel":"string\u003cdecimal> | null"},"average_price":{"oneOf":[{"type":"string","format":"decimal","description":"`filled_quote` divided by `filled_quantity`, or `null` before the first fill","example":"1372.30","isRequired":true,"uniqueKey":"data.average_price.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"`filled_quote` divided by `filled_quantity`, or `null` before the first fill","example":"1372.30","isRequired":true,"uniqueKey":"data.average_price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.average_price","typeLabel":"string\u003cdecimal> | null"},"maker_fee_rate":{"type":"string","description":"The fee rate applied to the parts of this order that rested and were taken, as a fraction rather than a percentage. Fixed at placement, so a later tier change does not reprice a resting order.\n","example":"0.0000","isRequired":true,"uniqueKey":"data.maker_fee_rate","typeLabel":"string"},"taker_fee_rate":{"type":"string","description":"The fee rate applied to the parts of this order that crossed the spread, as a fraction","example":"0.0010","isRequired":true,"uniqueKey":"data.taker_fee_rate","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","example":"2023-10-15T12:15:30Z","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2023-10-15T12:15:30Z","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"expires_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the order expires of its own accord, or `null` for a `gtc` order","example":null,"isRequired":true,"uniqueKey":"data.expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the order expires of its own accord, or `null` for a `gtc` order","example":null,"isRequired":true,"uniqueKey":"data.expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.expires_at","typeLabel":"string\u003cdate-time> | null"},"cancel_reason":{"type":"string","description":"Why a `cancelled` order was cancelled. It is the field a maker reads to tell an intentional withdrawal from one the venue forced.\n\nThis is the one field on an order that is **absent** rather than `null` when it does not apply. An enum cannot admit `null` in OpenAPI 3.0 without carrying `null` as a member of the enum itself, which generates a nonsense `\"\u003cnil>\"` constant a Go client could send by accident; on a trading API that is a worse hazard than one optional key.\n\n`admin` is a cancel the **venue** made rather than you: a staff member took the order off the book, either on its own or as part of clearing the whole market during an incident. Support can say who and why. It is deliberately not folded into `user_requested`, because a maker reconciling a morning of vanished quotes needs to tell \"I cancelled these\" from \"somebody at the venue did\", and only the second is worth a conversation.\n\n`dust_remainder` means a remainder the book cannot trade: its executable quantity is zero or worth less than one minor unit of the quote asset at its own price (one kobo on an NGN book). Executable quantity is the remainder floored to the quantity step. When the walk reaches it, the venue retires it, returns its collateral, and continues to the next maker. A larger tradeable legacy off-step remainder supplies whole steps; its sub-step crumb is retired the next time it is reached.\n\n`crossing_depth_exhausted` means the taker still had quantity remaining after reading the market's maximum crossing depth. Its remainder is cancelled and its unused collateral returned rather than resting against makers the bounded read did not reach.\n`price_protection` means a market order's remainder could not fill inside its protection price: the market's reference price less (for a sell) or plus (for a buy) the market's price protection share, fixed when the order arrived. The remainder is cancelled and its unused collateral returned. Place a limit order to trade further from the market.\n`price_band` means the market's price band stopped the order. Its next fill, or the price its remainder would rest at, lay further from the market's reference price than the band allows, or a resting order outside the band stood in its way. The band is the market's breaker threshold either side of the reference price, fixed when the order arrived. The rest is cancelled and its unused collateral returned (FIX OrdRejReason 8, \"Price exceeds current price band\").\n","enum":["user_requested","cancel_all","dead_mans_switch","admin","dust_remainder","crossing_depth_exhausted","price_protection","price_band","post_only_would_cross","immediate_or_cancel","fill_or_kill","self_trade_prevention","market_halted","expired","insufficient_available"],"example":"user_requested","uniqueKey":"data.cancel_reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","value":{"status":"success","message":"Order already exists","data":{"id":"exo_7Kq2mZ4tRbXn","client_order_id":"mm-usdtngn-bid-0091","market":"USDT-NGN","side":"buy","type":"limit","time_in_force":"gtc","post_only":true,"stp_mode":"cancel_taker","status":"open","price":"1371.50","quantity":"5000.00","quote_quantity":null,"filled_quantity":"0.00","filled_quote":"0.00","remaining_quantity":"5000.00","average_price":null,"maker_fee_rate":"0.0000","taker_fee_rate":"0.0010","created_at":"2026-09-06T12:00:00.115Z","updated_at":"2026-09-06T12:00:00.115Z","expires_at":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"7c9e8437-5c64-45f4-a17f-2dcd1bb8bff3":{"description":"Order placed","content":{"application/json":{"schema":{"type":"object","description":"General response Values","required":["data","status","message"],"properties":{"status":{"type":"string","enum":["success","error"],"example":"success","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"message for success","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"One of the caller's orders. Every field is always present and the ones that do not apply are `null` rather than absent, so a client's parser never has to branch on a missing key. The single exception is `cancel_reason`, which is absent on an order that was not cancelled, for the reason its own description gives.\n","required":["id","client_order_id","market","side","type","time_in_force","post_only","stp_mode","status","price","quantity","quote_quantity","filled_quantity","filled_quote","remaining_quantity","average_price","maker_fee_rate","taker_fee_rate","created_at","updated_at","expires_at"],"properties":{"id":{"type":"string","description":"The platform's identifier for the order","example":"exo_3Nd8vYpLwGtE","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"client_order_id":{"oneOf":[{"type":"string","maxLength":64,"description":"The caller's own reference, or `null` if none was supplied","example":"mm-usdtngn-ask-0090","isRequired":true,"uniqueKey":"data.client_order_id.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":64,"description":"The caller's own reference, or `null` if none was supplied","example":"mm-usdtngn-ask-0090","isRequired":true,"uniqueKey":"data.client_order_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.client_order_id","typeLabel":"string | null"},"market":{"type":"string","description":"A market's one canonical identifier: the base asset, a hyphen, the quote asset, all uppercase. `USDT-NGN` means USDT priced in NGN, so a `buy` acquires USDT and spends NGN. The same string is used in paths, query parameters, request bodies and stream subscriptions; there is no second spelling of a market anywhere on this surface.\n","pattern":"^[A-Z0-9]{2,10}-[A-Z0-9]{2,10}$","minLength":5,"maxLength":21,"example":"USDT-NGN","isRequired":true,"uniqueKey":"data.market","typeLabel":"string"},"side":{"type":"string","description":"The direction of an order or a fill, in terms of the market's base asset","enum":["buy","sell"],"example":"buy","isRequired":true,"uniqueKey":"data.side","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"`limit` rests at a named price. `market` takes whatever the book offers, bounded by `quote_quantity` on a buy and by `quantity` on a sell.\n","enum":["limit","market"],"example":"limit","isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"time_in_force":{"type":"string","description":"How long the order may live. `gtc` rests until filled or cancelled. `ioc` fills what it can immediately and cancels the rest. `fok` fills in full immediately or does nothing at all.\n","enum":["gtc","ioc","fok"],"example":"gtc","isRequired":true,"uniqueKey":"data.time_in_force","typeLabel":"enum\u003cstring>"},"post_only":{"type":"boolean","description":"Whether the order was placed as post-only","example":true,"isRequired":true,"uniqueKey":"data.post_only","typeLabel":"boolean"},"stp_mode":{"type":"string","description":"What happens when an order would match the same caller's resting order. `cancel_taker` cancels the incoming order, `cancel_maker` cancels the resting one, `cancel_both` cancels both, and `decrement` takes the crossing quantity off both and lets whatever is left of each carry on. Defaults to `cancel_taker`.\n\nA self-trade is always prevented: there is no value that lets one print. That is what every major spot venue does — Binance permits its `NONE` mode on none of its live spot symbols, Coinbase Exchange states that self-trading is not allowed, and Kraken applies prevention to every order.\n","enum":["cancel_taker","cancel_maker","cancel_both","decrement"],"example":"cancel_taker","isRequired":true,"uniqueKey":"data.stp_mode","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"Where the order stands. `open` and `partially_filled` are live and can be cancelled; `filled` and `cancelled` are terminal. A partially filled order that is then cancelled ends `cancelled` with its `filled_quantity` intact.\n\nA `market` `buy` sized by `quote_quantity` ends `filled` once it has spent the amount: every whole `quantity_step` the amount buys after the taker fee is bought, and what is left, less than one step, returns to the available balance. `filled_quote` plus the taker fee is what was spent. It ends `cancelled` with `immediate_or_cancel` when it bought nothing, when the matching walk stopped before the money ran out, or when a `decrement` self-trade prevention took part of the amount off without spending it.\n","enum":["open","partially_filled","filled","cancelled"],"example":"open","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"price":{"oneOf":[{"type":"string","format":"decimal","description":"The limit price, or `null` on a market order that named no cap","example":"1372.30","isRequired":true,"uniqueKey":"data.price.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"The limit price, or `null` on a market order that named no cap","example":"1372.30","isRequired":true,"uniqueKey":"data.price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.price","typeLabel":"string\u003cdecimal> | null"},"quantity":{"oneOf":[{"type":"string","format":"decimal","description":"The size in the base asset, or `null` on an order sized by `quote_quantity`","example":"5000.00","isRequired":true,"uniqueKey":"data.quantity.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"The size in the base asset, or `null` on an order sized by `quote_quantity`","example":"5000.00","isRequired":true,"uniqueKey":"data.quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.quantity","typeLabel":"string\u003cdecimal> | null"},"quote_quantity":{"oneOf":[{"type":"string","format":"decimal","description":"The spend in the quote asset, or `null` on an order sized by `quantity`","example":null,"isRequired":true,"uniqueKey":"data.quote_quantity.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"The spend in the quote asset, or `null` on an order sized by `quantity`","example":null,"isRequired":true,"uniqueKey":"data.quote_quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.quote_quantity","typeLabel":"string\u003cdecimal> | null"},"filled_quantity":{"type":"string","description":"How much of the base asset has traded so far. Zero on an untouched order.","example":"1900.00","isRequired":true,"uniqueKey":"data.filled_quantity","typeLabel":"string"},"filled_quote":{"type":"string","description":"How much of the quote asset has changed hands so far. Carried alongside `filled_quantity` rather than left to the client to multiply, because rounding at each fill makes the product and the sum disagree.\n","example":"2607370.00","isRequired":true,"uniqueKey":"data.filled_quote","typeLabel":"string"},"remaining_quantity":{"oneOf":[{"type":"string","format":"decimal","description":"What is still open on the order: `quantity` less `filled_quantity`, less anything a self-trade decrement removed. It stays as the untraded leftover once the order closes, so a client can see what never traded. It is `null` exactly where `quantity` is null, and otherwise it is the same number the private stream publishes under the same name. For a market buy sized by `quote_quantity`, which has no quantity of its own, this field is null on the order reads while the private stream publishes \"0\" for the same order.\n","example":"3100.00","isRequired":true,"uniqueKey":"data.remaining_quantity.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"What is still open on the order: `quantity` less `filled_quantity`, less anything a self-trade decrement removed. It stays as the untraded leftover once the order closes, so a client can see what never traded. It is `null` exactly where `quantity` is null, and otherwise it is the same number the private stream publishes under the same name. For a market buy sized by `quote_quantity`, which has no quantity of its own, this field is null on the order reads while the private stream publishes \"0\" for the same order.\n","example":"3100.00","isRequired":true,"uniqueKey":"data.remaining_quantity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.remaining_quantity","typeLabel":"string\u003cdecimal> | null"},"average_price":{"oneOf":[{"type":"string","format":"decimal","description":"`filled_quote` divided by `filled_quantity`, or `null` before the first fill","example":"1372.30","isRequired":true,"uniqueKey":"data.average_price.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","description":"`filled_quote` divided by `filled_quantity`, or `null` before the first fill","example":"1372.30","isRequired":true,"uniqueKey":"data.average_price.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.average_price","typeLabel":"string\u003cdecimal> | null"},"maker_fee_rate":{"type":"string","description":"The fee rate applied to the parts of this order that rested and were taken, as a fraction rather than a percentage. Fixed at placement, so a later tier change does not reprice a resting order.\n","example":"0.0000","isRequired":true,"uniqueKey":"data.maker_fee_rate","typeLabel":"string"},"taker_fee_rate":{"type":"string","description":"The fee rate applied to the parts of this order that crossed the spread, as a fraction","example":"0.0010","isRequired":true,"uniqueKey":"data.taker_fee_rate","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","example":"2023-10-15T12:15:30Z","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2023-10-15T12:15:30Z","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"expires_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the order expires of its own accord, or `null` for a `gtc` order","example":null,"isRequired":true,"uniqueKey":"data.expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the order expires of its own accord, or `null` for a `gtc` order","example":null,"isRequired":true,"uniqueKey":"data.expires_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.expires_at","typeLabel":"string\u003cdate-time> | null"},"cancel_reason":{"type":"string","description":"Why a `cancelled` order was cancelled. It is the field a maker reads to tell an intentional withdrawal from one the venue forced.\n\nThis is the one field on an order that is **absent** rather than `null` when it does not apply. An enum cannot admit `null` in OpenAPI 3.0 without carrying `null` as a member of the enum itself, which generates a nonsense `\"\u003cnil>\"` constant a Go client could send by accident; on a trading API that is a worse hazard than one optional key.\n\n`admin` is a cancel the **venue** made rather than you: a staff member took the order off the book, either on its own or as part of clearing the whole market during an incident. Support can say who and why. It is deliberately not folded into `user_requested`, because a maker reconciling a morning of vanished quotes needs to tell \"I cancelled these\" from \"somebody at the venue did\", and only the second is worth a conversation.\n\n`dust_remainder` means a remainder the book cannot trade: its executable quantity is zero or worth less than one minor unit of the quote asset at its own price (one kobo on an NGN book). Executable quantity is the remainder floored to the quantity step. When the walk reaches it, the venue retires it, returns its collateral, and continues to the next maker. A larger tradeable legacy off-step remainder supplies whole steps; its sub-step crumb is retired the next time it is reached.\n\n`crossing_depth_exhausted` means the taker still had quantity remaining after reading the market's maximum crossing depth. Its remainder is cancelled and its unused collateral returned rather than resting against makers the bounded read did not reach.\n`price_protection` means a market order's remainder could not fill inside its protection price: the market's reference price less (for a sell) or plus (for a buy) the market's price protection share, fixed when the order arrived. The remainder is cancelled and its unused collateral returned. Place a limit order to trade further from the market.\n`price_band` means the market's price band stopped the order. Its next fill, or the price its remainder would rest at, lay further from the market's reference price than the band allows, or a resting order outside the band stood in its way. The band is the market's breaker threshold either side of the reference price, fixed when the order arrived. The rest is cancelled and its unused collateral returned (FIX OrdRejReason 8, \"Price exceeds current price band\").\n","enum":["user_requested","cancel_all","dead_mans_switch","admin","dust_remainder","crossing_depth_exhausted","price_protection","price_band","post_only_would_cross","immediate_or_cancel","fill_or_kill","self_trade_prevention","market_halted","expired","insufficient_available"],"example":"user_requested","uniqueKey":"data.cancel_reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","summary":"The maker bid, resting","value":{"status":"success","message":"Order placed","data":{"id":"exo_7Kq2mZ4tRbXn","client_order_id":"mm-usdtngn-bid-0091","market":"USDT-NGN","side":"buy","type":"limit","time_in_force":"gtc","post_only":true,"stp_mode":"cancel_taker","status":"open","price":"1371.50","quantity":"5000.00","quote_quantity":null,"filled_quantity":"0.00","filled_quote":"0.00","remaining_quantity":"5000.00","average_price":null,"maker_fee_rate":"0.0000","taker_fee_rate":"0.0010","created_at":"2026-09-06T12:00:00.115Z","updated_at":"2026-09-06T12:00:00.115Z","expires_at":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"40acf888-4c91-49af-bd55-5909d2978915":{"description":"Client error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["name","message"],"properties":{"name":{"type":"string","example":"bad_request","isRequired":true,"uniqueKey":"error.name","typeLabel":"string"},"message":{"type":"string","example":"Invalid Request","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"fields":{"type":"object","uniqueKey":"fields","typeLabel":"object"},"schema":{"type":"array","items":{"type":"object","description":"One thing wrong with the request body: in prose for a person, and in a code and a pointer for a program. `reason` and `fix` are written by the validation library and their wording changes between releases of it; `code` and `pointer` do not, so branch on those.\n","properties":{"reason":{"type":"string","description":"What is wrong, in prose. For a person reading a log, not for code to match on.","example":"missing property 'additional_info'","uniqueKey":"schema.items.[INDEX].reason","typeLabel":"string"},"fix":{"type":"string","description":"What to do about it, in prose.","example":"Ensure that the object being submitted, matches the schema correctly","uniqueKey":"schema.items.[INDEX].fix","typeLabel":"string"},"code":{"type":"string","description":"What is wrong, as a stable token. `missing-property` for a required property left out, `type-mismatch` for a value of the wrong JSON type, `enum-mismatch` for a value outside the documented set, `pattern-mismatch` for a string that fails its pattern, `unknown-property` for a property the endpoint does not declare, `malformed-json` for a body that is not JSON at all, and `constraint-\u003ckeyword>` for any other JSON Schema keyword the body tripped.\n","example":"missing-property","uniqueKey":"schema.items.[INDEX].code","typeLabel":"string"},"pointer":{"type":"string","description":"Where it is wrong: an RFC 6901 JSON Pointer into the request body. The empty string points at the body itself, which is the answer when no single property is at fault.\n","example":"/additional_info","uniqueKey":"schema.items.[INDEX].pointer","typeLabel":"string"},"schema_validation_error":{"type":"array","description":"The validator's own specifics, where it produced any.","items":{"type":"string","uniqueKey":"schema.items.[INDEX].schema_validation_error.items.[INDEX]","typeLabel":"string"},"example":["minLength: got 3, want 12"],"uniqueKey":"schema.items.[INDEX].schema_validation_error","typeLabel":"string[]"}},"uniqueKey":"schema.items.[INDEX]","typeLabel":"object"},"uniqueKey":"schema","typeLabel":"object[]"}},"example":{"error":{"name":"bad_request","message":"Invalid Request"}},"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","description":"Default error","value":{"error":{"name":"bad_request","message":"Invalid request"}}},"not_found_error":{"title":"not_found_error","description":"Not Found error","value":{"error":{"name":"resource_not_found","message":"Resource Not Found"}}},"unauthorized_error":{"title":"unauthorized_error","description":"Unauthorized Error","value":{"error":{"name":"unauthorized","message":"Unauthorized request"}}},"request_validation_error":{"title":"request_validation_error","description":"Request Validation error example","value":{"error":{"name":"request_validation","message":"Validation error"},"fields":{"field1":[{"reason":"One of target and source amount must be set"}],"field2":[{"reason":"One of target and source amount must be set"}]}}},"schema_validation_error":{"title":"schema_validation_error","description":"Schema validation error example. One entry per violation, each with its own `code` and `pointer` naming what is wrong and where; branch on those rather than on the prose beside them.\n","value":{"error":{"name":"schema_validation","message":"Error Validating Requests"},"schema":[{"reason":"Missing property 'market'","fix":"Ensure that the object being submitted, matches the schema correctly","code":"missing-property","pointer":"/market","schema_validation_error":["missing property 'market'"]},{"reason":"MinLength: got 3, want 12","fix":"Ensure that the object being submitted, matches the schema correctly","code":"constraint-minlength","pointer":"/additional_info/name","schema_validation_error":["minLength: got 3, want 12"]}]}},"below_min_notional":{"title":"below_min_notional","summary":"An order under the market's minimum value","value":{"error":{"name":"below_min_notional","message":"Order value must be at least 5000 NGN"}}},"market_halted":{"title":"market_halted","summary":"An order against a market that is not accepting them","value":{"error":{"name":"market_halted","message":"USDT-NGN is not accepting new orders"}}}},"exampleType":"examples"}},"exampleType":"examples"},"9574107e-d703-43f0-bca2-7dc197461275":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["name","message"],"properties":{"name":{"type":"string","example":"bad_request","isRequired":true,"uniqueKey":"error.name","typeLabel":"string"},"message":{"type":"string","example":"Invalid Request","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"fields":{"type":"object","uniqueKey":"fields","typeLabel":"object"},"schema":{"type":"array","items":{"type":"object","description":"One thing wrong with the request body: in prose for a person, and in a code and a pointer for a program. `reason` and `fix` are written by the validation library and their wording changes between releases of it; `code` and `pointer` do not, so branch on those.\n","properties":{"reason":{"type":"string","description":"What is wrong, in prose. For a person reading a log, not for code to match on.","example":"missing property 'additional_info'","uniqueKey":"schema.items.[INDEX].reason","typeLabel":"string"},"fix":{"type":"string","description":"What to do about it, in prose.","example":"Ensure that the object being submitted, matches the schema correctly","uniqueKey":"schema.items.[INDEX].fix","typeLabel":"string"},"code":{"type":"string","description":"What is wrong, as a stable token. `missing-property` for a required property left out, `type-mismatch` for a value of the wrong JSON type, `enum-mismatch` for a value outside the documented set, `pattern-mismatch` for a string that fails its pattern, `unknown-property` for a property the endpoint does not declare, `malformed-json` for a body that is not JSON at all, and `constraint-\u003ckeyword>` for any other JSON Schema keyword the body tripped.\n","example":"missing-property","uniqueKey":"schema.items.[INDEX].code","typeLabel":"string"},"pointer":{"type":"string","description":"Where it is wrong: an RFC 6901 JSON Pointer into the request body. The empty string points at the body itself, which is the answer when no single property is at fault.\n","example":"/additional_info","uniqueKey":"schema.items.[INDEX].pointer","typeLabel":"string"},"schema_validation_error":{"type":"array","description":"The validator's own specifics, where it produced any.","items":{"type":"string","uniqueKey":"schema.items.[INDEX].schema_validation_error.items.[INDEX]","typeLabel":"string"},"example":["minLength: got 3, want 12"],"uniqueKey":"schema.items.[INDEX].schema_validation_error","typeLabel":"string[]"}},"uniqueKey":"schema.items.[INDEX]","typeLabel":"object"},"uniqueKey":"schema","typeLabel":"object[]"}},"example":{"error":{"name":"bad_request","message":"Invalid Request"}},"uniqueKey":"","typeLabel":"object"},"examples":{"internal_server_error":{"title":"internal_server_error","description":"Internal Server Error","value":{"error":{"name":"internal_server_error","message":"Internal Server Error"}}},"service_unavailable_error":{"title":"service_unavailable_error","description":"Service Unavailable Error","value":{"error":{"name":"service_unavailable","message":"Service Unavailable"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ce5acc7a-1acb-4d28-a599-98ce3b69ce18":{"Auth":{"type":"http","scheme":"bearer","description":"Bearer Authentication","scopes":["exchange:trade","api:write"],"schemeName":"Auth"}}},"servers":{"8a5d59f3-34e3-4375-9d06-f4dffc05f9fb":{"url":"https://api.sandbox.busha.so","description":"Sandbox Environment"},"31fefe45-5dd9-493b-8ecc-8e6d84855d69":{"url":"https://api.busha.io","description":"Production Environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer Authentication","scopes":["exchange:trade","api:write"],"schemeName":"Auth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer Authentication","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Auth","name":"Authorization"}],"title":"Auth"}]},"originalFileLocation":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml"},"subdomain":"busha-36f167ef","siteName":"Busha Developer Documentation","title":"Busha Developer Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T16:00:06.502Z","originalFileLocation":"api-reference/exchange/place-an-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Places one order on one market. type and time_in_force are separate flat fields rather than a fused union key, and post_only is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name. Sizing. A limit order names quantity in the base asset and a price in the quote asset. A market sell names quantity and nothing else. A market buy names quote_quantity, the amount of the quote asset to spend, and nothing else; naming none is market_buy_needs_quote_quantity, because the spend would otherwise be unbounded. A market order of either side that names a price is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a limit order with time_in_force ioc — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market\u0026#x27;s quantity step and the unspent remainder of the amount is returned. Replay. client_order_id is the caller\u0026#x27;s own reference, at most 64 characters, and must be unique among that caller\u0026#x27;s orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is not an error and creates nothing: it answers 200 with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a different request under the same id is duplicate_client_order_id. A terminal order\u0026#x27;s reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange\u0026#x27;s own admission policy allows it); a new or different request is refused by that admission first. Self-trade prevention. stp_mode decides what happens when the order would match the caller\u0026#x27;s own resting order: cancel_taker cancels the incoming one, cancel_maker cancels the resting one, cancel_both cancels both, and decrement takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book\u0026#x27;s own default, which is cancel_taker unless staff have set another. A self-trade is always prevented; there is no value that lets one print. The reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so created_at, updated_at and the resolved stp_mode are the venue\u0026#x27;s own values and not an echo of the request: a client may store the reply and compare it against GET /v1/exchange/orders/{order_id} without seeing a difference that is not there. If placement is unavailable, this write returns 503 book_busy by default.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Busha Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_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/busha-36f167ef/S-rXk8aJPIs6tBWz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Busha Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Busha API documentation for developers. Integrate crypto trading, wallets, and payments into your app with our comprehensive guides and API references.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Busha Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.busha.io/api-reference/exchange/place-an-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://busha-36f167ef.mintlify.site/images/meta-image.png\">\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=\"Busha Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Busha API documentation for developers. Integrate crypto trading, wallets, and payments into your app with our comprehensive guides and API references.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://busha-36f167ef.mintlify.site/images/meta-image.png\">\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/busha-36f167ef/S-rXk8aJPIs6tBWz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Busha Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#12A232\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.busha.io/api-reference/exchange/place-an-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/exchange/place-an-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.busha.io/#organization\",\"name\":\"Busha Developer Documentation\",\"url\":\"https://docs.busha.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/busha-36f167ef/bqGQAc9YwZBzW1ju/logo/light.svg?fit=max\u0026auto=format\u0026n=bqGQAc9YwZBzW1ju\u0026q=85\u0026s=08cf983a0716b1e5e0ccf2eabf9408a5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.busha.io#website\",\"name\":\"Busha Developer Documentation\",\"url\":\"https://docs.busha.io\",\"publisher\":{\"@id\":\"https://docs.busha.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.busha.io/api-reference/exchange/place-an-order#webpage\",\"url\":\"https://docs.busha.io/api-reference/exchange/place-an-order\",\"name\":\"Place an order\",\"description\":\"Places one order on one market. type and time_in_force are separate flat fields rather than a fused union key, and post_only is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name. Sizing. A limit order names quantity in the base asset and a price in the quote asset. A market sell names quantity and nothing else. A market buy names quote_quantity, the amount of the quote asset to spend, and nothing else; naming none is market_buy_needs_quote_quantity, because the spend would otherwise be unbounded. A market order of either side that names a price is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a limit order with time_in_force ioc — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market's quantity step and the unspent remainder of the amount is returned. Replay. client_order_id is the caller's own reference, at most 64 characters, and must be unique among that caller's orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is not an error and creates nothing: it answers 200 with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a different request under the same id is duplicate_client_order_id. A terminal order's reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange's own admission policy allows it); a new or different request is refused by that admission first. Self-trade prevention. stp_mode decides what happens when the order would match the caller's own resting order: cancel_taker cancels the incoming one, cancel_maker cancels the resting one, cancel_both cancels both, and decrement takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book's own default, which is cancel_taker unless staff have set another. A self-trade is always prevented; there is no value that lets one print. The reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so created_at, updated_at and the resolved stp_mode are the venue's own values and not an echo of the request: a client may store the reply and compare it against GET /v1/exchange/orders/{order_id} without seeing a difference that is not there. If placement is unavailable, this write returns 503 book_busy by default.\",\"dateModified\":\"2026-11-26T16:00:06.502Z\",\"isPartOf\":{\"@id\":\"https://docs.busha.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.busha.io/api-reference/exchange/place-an-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.busha.io/api-reference/exchange/place-an-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://docs.busha.io/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exchange\",\"item\":\"https://docs.busha.io/api-reference/exchange/list-exchange-markets\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Place an order\",\"item\":\"https://docs.busha.io/api-reference/exchange/place-an-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.busha.io/api-reference/exchange/place-an-order#apireference\",\"headline\":\"Place an order\",\"name\":\"Place an order\",\"description\":\"Places one order on one market. type and time_in_force are separate flat fields rather than a fused union key, and post_only is its own boolean rather than a distinct order type, so the wire format stays readable and the invalid combinations are refused by name. Sizing. A limit order names quantity in the base asset and a price in the quote asset. A market sell names quantity and nothing else. A market buy names quote_quantity, the amount of the quote asset to spend, and nothing else; naming none is market_buy_needs_quote_quantity, because the spend would otherwise be unbounded. A market order of either side that names a price is refused: a market order takes what the book offers and carries no price bound. To bound the price, place a limit order with time_in_force ioc — it takes what is available at that price or better and cancels the rest. For a market buy, the executed quantity lands on the market's quantity step and the unspent remainder of the amount is returned. Replay. client_order_id is the caller's own reference, at most 64 characters, and must be unique among that caller's orders placed in the last 24 hours and among their live orders however old. Re-sending an identical request under an id such an order holds is not an error and creates nothing: it answers 200 with that order, even after the order has filled or been cancelled, so a bot that lost the response to a network timeout can retry safely. Re-sending a different request under the same id is duplicate_client_order_id. A terminal order's reference is free for reuse 24 hours after it was placed; a live order holds it for as long as it rests. An identical replay is answered even when the market has stopped admitting new orders, as long as the caller is still admitted to the exchange (their profile may trade and the exchange's own admission policy allows it); a new or different request is refused by that admission first. Self-trade prevention. stp_mode decides what happens when the order would match the caller's own resting order: cancel_taker cancels the incoming one, cancel_maker cancels the resting one, cancel_both cancels both, and decrement takes the crossing quantity off both and lets the remainder of each carry on. Omitting it takes the book's own default, which is cancel_taker unless staff have set another. A self-trade is always prevented; there is no value that lets one print. The reply is the order as a later read returns it. Both success bodies carry the stored order, field for field, so created_at, updated_at and the resolved stp_mode are the venue's own values and not an echo of the request: a client may store the reply and compare it against GET /v1/exchange/orders/{order_id} without seeing a difference that is not there. If placement is unavailable, this write returns 503 book_busy by default.\",\"url\":\"https://docs.busha.io/api-reference/exchange/place-an-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.busha.io/api-reference/exchange/place-an-order#webpage\"},\"image\":\"https://docs.busha.io/images/meta-image.png\",\"dateModified\":\"2026-11-26T16:00:06.502Z\",\"publisher\":{\"@id\":\"https://docs.busha.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.busha.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Busha Developer Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Busha Developer Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/exchange/place-an-order.md","siteName":"Busha Developer Documentation","nav":{"global":{"anchors":[{"anchor":"Guides","icon":"book-open-cover","href":"https://docs.busha.io/guides"},{"anchor":"Blog","icon":"newspaper","href":"https://busha.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://docs.busha.io/changelog"},{"anchor":"Exchange","icon":"chart-candlestick","href":"/guides/exchange/introduction"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/overview/quotes"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/getting-started/quick-start"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/introduction"}]},{"tab":"Exchange","href":"/guides/exchange/introduction"},{"tab":"API Reference","groups":[{"group":"API reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Balances","pages":[{"title":"List all balances","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/balances","href":"/api-reference/balances/list-all-balances"},{"title":"Create currency balance","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/balances","href":"/api-reference/balances/create-currency-balance"},{"title":"Get balance details","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/balances/{id_or_code}","href":"/api-reference/balances/get-balance-details"}]},{"group":"Currencies","pages":[{"title":"Retrieve supported currencies","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/currencies","href":"/api-reference/currencies/retrieve-supported-currencies"},{"title":"Retrieve details of a specific currency","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/currencies/{code}","href":"/api-reference/currencies/retrieve-details-of-a-specific-currency"}]},{"group":"Customers","pages":[{"title":"List Customers","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/customers","href":"/api-reference/customers/list-customers"},{"title":"Create a new customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/customers","href":"/api-reference/customers/create-a-new-customer"},{"title":"Export Customers","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/customers/export","href":"/api-reference/customers/export-customers"},{"title":"Get a customer by ID","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/customers/{id}","href":"/api-reference/customers/get-a-customer-by-id"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml put /v1/customers/{id}","href":"/api-reference/customers/update-a-customer"},{"title":"Delete a customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml delete /v1/customers/{id}","href":"/api-reference/customers/delete-a-customer"},{"title":"Verify a customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/customers/{id}/verify","href":"/api-reference/customers/verify-a-customer"},{"title":"Share customer token","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/customers/{id}/token-share","href":"/api-reference/customers/share-customer-token"},{"title":"Generate KYC link for a customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/customers/{id}/kyc-link","href":"/api-reference/customers/generate-kyc-link-for-a-customer"},{"title":"List Business Industries","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/customers/industries","href":"/api-reference/customers/list-business-industries"}]},{"group":"Exchange","pages":[{"title":"List exchange markets","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/markets","href":"/api-reference/exchange/list-exchange-markets"},{"title":"Get one exchange market","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/markets/{symbol}","href":"/api-reference/exchange/get-one-exchange-market"},{"title":"Get an order book snapshot","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/markets/{symbol}/order_book","href":"/api-reference/exchange/get-an-order-book-snapshot"},{"title":"List public trades","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/markets/{symbol}/trades","href":"/api-reference/exchange/list-public-trades"},{"title":"List candles","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/markets/{symbol}/candles","href":"/api-reference/exchange/list-candles"},{"title":"Get one market's ticker","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/markets/{symbol}/ticker","href":"/api-reference/exchange/get-one-markets-ticker"},{"title":"List exchange tickers","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/tickers","href":"/api-reference/exchange/list-exchange-tickers"},{"title":"Get exchange server time","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/time","href":"/api-reference/exchange/get-exchange-server-time"},{"title":"List the caller's orders","description":"The caller's own orders, most recent first, cursor paginated. `status=open` returns the live ones, `open` and `partially_filled`, which a bot reconciles against on reconnect. `closed` returns `filled` and `cancelled`; `all` returns every status. Omitting it is `open`. `partially_filled`, `filled`, and `cancelled` each select that exact state.\n\nFilters combine with AND. `market` selects one pair; `asset` selects markets with that base or quote currency. `side` selects buy or sell, and `type` selects market or limit. `from` and `to` bound the date placed (`created_at`), inclusively, using RFC3339 timestamps. Either date bound may be omitted. `from` must not be later than `to`.\n\n`client_order_id` looks an order up by the caller's own reference, so an id is enough to find an order whose platform id was lost. `limit` defaults to 50 and is capped at 200. When placement is unavailable, this read serves example orders rather than live orders.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/orders","href":"/api-reference/exchange/list-the-callers-orders"},{"title":"Place an order","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/exchange/orders","href":"/api-reference/exchange/place-an-order"},{"title":"Cancel every order on one market","description":"Cancels all of the caller's live orders on one market and answers with the orders the cancel applied to. `market` is **required**: a venue-wide cancel with no scope is too easy to fire by accident and too blunt for a maker quoting several books, so it is not offered. Cancel each market in turn, or arm the dead man's switch.\n\nIf placement is unavailable, this write returns `503 book_busy` by default.\n","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml delete /v1/exchange/orders","href":"/api-reference/exchange/cancel-every-order-on-one-market"},{"title":"Arm the dead man's switch","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/exchange/orders/cancel_all_after","href":"/api-reference/exchange/arm-the-dead-mans-switch"},{"title":"Get one of the caller's orders","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/orders/{order_id}","href":"/api-reference/exchange/get-one-of-the-callers-orders"},{"title":"Cancel one order","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml delete /v1/exchange/orders/{order_id}","href":"/api-reference/exchange/cancel-one-order"},{"title":"List the caller's fills","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/fills","href":"/api-reference/exchange/list-the-callers-fills"},{"title":"List your exchange fee rates","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/exchange/fees","href":"/api-reference/exchange/list-your-exchange-fee-rates"},{"title":"Mint a stream token","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/exchange/stream_tokens","href":"/api-reference/exchange/mint-a-stream-token"}]},{"group":"Files","pages":[{"title":"Generate presigned upload URL","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/files","href":"/api-reference/files/generate-presigned-upload-url"}]},{"group":"Insights","pages":[{"title":"Get transaction trends","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/insights/transactions/trends","href":"/api-reference/insights/get-transaction-trends"},{"title":"Get transaction breakdown","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/insights/transactions/breakdown","href":"/api-reference/insights/get-transaction-breakdown"},{"title":"Get customer growth","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/insights/customers/growth","href":"/api-reference/insights/get-customer-growth"}]},{"group":"Miscellaneous","pages":[{"title":"Validate payment destination","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/validate","href":"/api-reference/miscellaneous/validate-payment-destination"},{"title":"List banks resource","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/banks","href":"/api-reference/miscellaneous/list-banks-resource"},{"title":"Returns a list of countries","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/countries","href":"/api-reference/miscellaneous/returns-a-list-of-countries"},{"title":"Look up users addresses","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/pay/{username}","href":"/api-reference/miscellaneous/look-up-users-addresses"},{"title":"Get a merchant by public key","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/merchants","href":"/api-reference/miscellaneous/get-a-merchant-by-public-key"},{"title":"Get deposit address","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/addresses/{code}","href":"/api-reference/miscellaneous/get-deposit-address"},{"title":"Regenerate deposit address","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/addresses/regenerate","href":"/api-reference/miscellaneous/regenerate-deposit-address"},{"title":"Get virtual bank account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/virtual_bank_accounts/{code}","href":"/api-reference/miscellaneous/get-virtual-bank-account"},{"title":"Get virtual bank account terms","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/virtual_bank_accounts/{code}/terms","href":"/api-reference/miscellaneous/get-virtual-bank-account-terms"}]},{"group":"Pairs","pages":[{"title":"List trading pairs","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/pairs","href":"/api-reference/pairs/list-trading-pairs"}]},{"group":"PaymentLinks","pages":[{"title":"List payment links","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/payments/links","href":"/api-reference/paymentlinks/list-payment-links"},{"title":"Create a payment link","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/payments/links","href":"/api-reference/paymentlinks/create-a-payment-link"},{"title":"Retrieve a payment link","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/payments/links/{id}","href":"/api-reference/paymentlinks/retrieve-a-payment-link"},{"title":"Delete a payment link","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml delete /v1/payments/links/{id}","href":"/api-reference/paymentlinks/delete-a-payment-link"},{"title":"Update a payment link","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml patch /v1/payments/links/{id}","href":"/api-reference/paymentlinks/update-a-payment-link"},{"title":"List payment requests for payment link","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/payments/links/{id}/requests","href":"/api-reference/paymentlinks/list-payment-requests-for-payment-link"},{"title":"Create a payment request for payment link","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/payments/links/{id}/requests","href":"/api-reference/paymentlinks/create-a-payment-request-for-payment-link"},{"title":"Activate a draft invoice","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/payments/links/{id}/activate","href":"/api-reference/paymentlinks/activate-a-draft-invoice"}]},{"group":"PaymentRequests","pages":[{"title":"List payment requests","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/payments/requests","href":"/api-reference/paymentrequests/list-payment-requests"},{"title":"Create a payment request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/payments/requests","href":"/api-reference/paymentrequests/create-a-payment-request"},{"title":"Retrieve a payment request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/payments/requests/{id}","href":"/api-reference/paymentrequests/retrieve-a-payment-request"},{"title":"Finalize a payment request","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/payments/requests/{id}/finalize","href":"/api-reference/paymentrequests/finalize-a-payment-request"}]},{"group":"Pledges","pages":[{"title":"Create pledge quote","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges/quotes","href":"/api-reference/pledges/create-pledge-quote"},{"title":"List pledges","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/pledges","href":"/api-reference/pledges/list-pledges"},{"title":"Create pledge","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges","href":"/api-reference/pledges/create-pledge"},{"title":"Get pledge","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/pledges/{id}","href":"/api-reference/pledges/get-pledge"},{"title":"Activate pledge","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges/{id}/activate","href":"/api-reference/pledges/activate-pledge"},{"title":"Add pledge items","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges/{id}/items","href":"/api-reference/pledges/add-pledge-items"},{"title":"Release pledge items","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges/{id}/release","href":"/api-reference/pledges/release-pledge-items"},{"title":"Request pledge liquidation","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges/{id}/liquidations","href":"/api-reference/pledges/request-pledge-liquidation"},{"title":"Cancel pledge liquidation","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/pledges/{id}/liquidations/{liquidation_id}/cancel","href":"/api-reference/pledges/cancel-pledge-liquidation"}]},{"group":"Quotes","pages":[{"title":"List Quotes","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/quotes","href":"/api-reference/quotes/list-quotes"},{"title":"Create a new Quote","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/quotes","href":"/api-reference/quotes/create-a-new-quote"},{"title":"Get Quote","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/quotes/{id}","href":"/api-reference/quotes/get-quote"},{"title":"Create Unauthenticated Quotes","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/quotes/unauthenticated","href":"/api-reference/quotes/create-unauthenticated-quotes"},{"title":"List Payment Options","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/quote/payment_options","href":"/api-reference/quotes/list-payment-options"}]},{"group":"Recipients","pages":[{"title":"List recipients","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/recipients","href":"/api-reference/recipients/list-recipients"},{"title":"Create a recipient","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/recipients","href":"/api-reference/recipients/create-a-recipient"},{"title":"Retrieve a recipient","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/recipients/{id}","href":"/api-reference/recipients/retrieve-a-recipient"},{"title":"Delete a recipient","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml delete /v1/recipients/{id}","href":"/api-reference/recipients/delete-a-recipient"},{"title":"Resolves a bank account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/recipients/resolve-bank-account","href":"/api-reference/recipients/resolves-a-bank-account"}]},{"group":"Transactions","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Get transaction","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/transactions/{id}","href":"/api-reference/transactions/get-transaction"}]},{"group":"Transfers","pages":[{"title":"List transfers","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/transfers","href":"/api-reference/transfers/list-transfers"},{"title":"Create transfer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/transfers","href":"/api-reference/transfers/create-transfer"},{"title":"List transfers waiting for approval","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/transfers/awaiting-approval","href":"/api-reference/transfers/list-transfers-waiting-for-approval"},{"title":"Get transfer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/transfers/{id}","href":"/api-reference/transfers/get-transfer"},{"title":"Approve, reject or cancel a held business transfer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/transfers/{id}/approval","href":"/api-reference/transfers/approve-reject-or-cancel-a-held-business-transfer"},{"title":"Get the selfie of a held payout","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/transfers/{id}/liveness","href":"/api-reference/transfers/get-the-selfie-of-a-held-payout"},{"title":"Open the selfie of a held payout","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/transfers/{id}/liveness","href":"/api-reference/transfers/open-the-selfie-of-a-held-payout"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Busha Developer Documentation","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}