{"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"}]},"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":""},"chroma":{"liveDeploymentHistoryId":"6adf63bed9cce1ec7365aa4c","collectionId":"d9702e48-9fe5-4a2a-bdbc-490fe3092d07","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf63bed9cce1ec7365aa4c"},"entitlements":{},"buildId":"6adf63bed9cce1ec7365aa4c","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":68},{"language":"default","tag":"API reference","count":68},{"language":"default","tag":"Guides","count":51},{"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},{"language":"default","tag":"OAuth2","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/paymentlinks/update-a-payment-link","slug":"/api-reference/paymentlinks/update-a-payment-link","pageMetadata":{"title":"Update a payment link","description":"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","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update a payment link\"\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":"Update a payment link","description":"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","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["PaymentLinks"],"security":["bf8c9497-fc6e-4a40-b142-57cf16a5226f"],"operationId":"updatePaymentLink","summary":"Update a payment link","description":"Update a payment link","parameters":["4e79ddf3-c9ee-46a3-badf-0855f167d4f8","a2e001af-7e57-49bc-be16-39308588f1f9"],"requestBody":"7bbd45eb-1764-44c9-8f43-d1682464cb24","responses":{"200":"cfd79267-3f04-4059-9f2b-abc7fe5db38b","4XX":"38c07b07-8d3e-4464-8fda-2ba620774a51","5XX":"93f55249-351f-4bec-9465-b55770b3f3a7"},"method":"patch","type":"path","servers":["da7e1349-896d-4d44-bf50-5095dca769ae","0117cc31-430c-47bd-9d4e-ad2e7f6fba80"],"path":"/v1/payments/links/{id}","baseUrlOptions":["https://api.sandbox.busha.so","https://api.busha.io"],"title":"Update a payment link","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4e79ddf3-c9ee-46a3-badf-0855f167d4f8":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"nanoid","example":"bus_123456789","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cnanoid>"},"x-oapi-codegen-extra-tags":{"validate":"required|nanoid"}},"a2e001af-7e57-49bc-be16-39308588f1f9":{"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":{"content":{"application/json":{"schema":{"type":"object","properties":{"quote_amount":{"oneOf":[{"type":"string","format":"decimal","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"uniqueKey":"quote_amount.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"uniqueKey":"quote_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"quote_amount","typeLabel":"string\u003cdecimal> | null"},"quote_currency":{"oneOf":[{"type":"string","x-order":20,"example":"BTC","format":"string","maxLength":10,"minLength":1,"uniqueKey":"quote_currency.oneOf.0","typeLabel":"string\u003cstring>"},{"type":"null","x-order":20,"example":"BTC","format":"string","maxLength":10,"minLength":1,"uniqueKey":"quote_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"quote_currency","typeLabel":"string\u003cstring> | null"},"target_amount":{"oneOf":[{"type":"string","format":"decimal","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"uniqueKey":"target_amount.oneOf.0","typeLabel":"string\u003cdecimal>"},{"type":"null","format":"decimal","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"uniqueKey":"target_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"target_amount","typeLabel":"string\u003cdecimal> | null"},"target_currency":{"type":"string","description":"A valid currency","format":"string","maxLength":10,"minLength":1,"x-order":20,"x-oapi-codegen-extra-tags":{"validate":"required|min_len:1|max_len:10","filter":"trim|upper"},"example":"BTC","uniqueKey":"target_currency","typeLabel":"string\u003cstring>"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"title":{"type":"string","uniqueKey":"title","typeLabel":"string"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"status":{"type":"string","enum":["pending","active"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"require_extra_info":{"type":"array","items":{"type":"object","required":["field_name","required"],"properties":{"field_name":{"type":"string","isRequired":true,"uniqueKey":"require_extra_info.items.[INDEX].field_name","typeLabel":"string"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"require_extra_info.items.[INDEX].required","typeLabel":"boolean"}},"uniqueKey":"require_extra_info.items.[INDEX]","typeLabel":"object"},"uniqueKey":"require_extra_info","typeLabel":"object[]"},"images":{"type":"array","items":{"type":"string","format":"url","uniqueKey":"images.items.[INDEX]","typeLabel":"string\u003curl>"},"uniqueKey":"images","typeLabel":"string\u003curl>[]"},"allow_customer_amount":{"type":"boolean","uniqueKey":"allow_customer_amount","typeLabel":"boolean"},"amount_limit":{"type":"object","required":["min_amount","max_amount"],"properties":{"min_amount":{"type":"string","description":"decimal value","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"example":"100","isRequired":true,"uniqueKey":"amount_limit.min_amount","typeLabel":"string"},"max_amount":{"type":"string","description":"decimal value","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"example":"100","isRequired":true,"uniqueKey":"amount_limit.max_amount","typeLabel":"string"}},"uniqueKey":"amount_limit","typeLabel":"object"},"allow_quantity_selection":{"type":"boolean","uniqueKey":"allow_quantity_selection","typeLabel":"boolean"},"customer_email":{"type":"string","format":"email","description":"Can update customer email for existing invoices","uniqueKey":"customer_email","typeLabel":"string\u003cemail>"},"customer_name":{"type":"string","description":"Can update customer name for existing invoices","uniqueKey":"customer_name","typeLabel":"string"},"due_date":{"type":"string","format":"date-time","description":"Can update due date for existing invoices (must be in the future)","uniqueKey":"due_date","typeLabel":"string\u003cdate-time>"},"note":{"type":"string","maxLength":250,"description":"Can update note for existing invoices (max 250 characters)","uniqueKey":"note","typeLabel":"string"},"items":{"type":"array","description":"Update line items for existing invoices","items":{"type":"object","required":["item","quantity","amount"],"properties":{"item":{"type":"string","description":"Name/description of the item","maxLength":255,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].item","typeLabel":"string"},"quantity":{"type":"integer","description":"Quantity of the item","minimum":1,"isRequired":true,"uniqueKey":"\\items.items.[INDEX].quantity","typeLabel":"integer"},"amount":{"type":"string","description":"Unit price of the item","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-oapi-codegen-extra-tags":{"validate":"num_gte:0"},"example":"100","isRequired":true,"uniqueKey":"\\items.items.[INDEX].amount","typeLabel":"string"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"\\items","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"quote_amount":"\u003cstring>","quote_currency":"BTC","target_amount":"\u003cstring>","target_currency":"BTC","name":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","require_extra_info":[{"field_name":"\u003cstring>","required":true}],"images":["\u003cstring>"],"allow_customer_amount":true,"allow_quantity_selection":true,"customer_email":"jsmith@example.com","customer_name":"\u003cstring>","due_date":"2023-11-07T05:31:56Z","note":"\u003cstring>","items":[{"item":"\u003cstring>","quantity":2,"amount":"100"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"cfd79267-3f04-4059-9f2b-abc7fe5db38b":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","description":"General response Values","required":["data","status","message"],"properties":{"status":{"type":"string","x-order":1,"x-go-type":"string","enum":["success","error"],"example":"success","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","x-order":2,"example":"message for success","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","required":["id","profile_id","type","fixed","one_time","name","link","title","description","target_currency","status","created_at","updated_at"],"properties":{"id":{"type":"string","x-order":2,"example":"bus_123456789","format":"nanoid","description":"A valid id","x-oapi-codegen-extra-tags":{"validate":"required|nanoid"},"isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cnanoid>"},"profile_id":{"type":"string","x-order":2,"example":"bus_123456789","format":"nanoid","description":"A valid id","x-oapi-codegen-extra-tags":{"validate":"required|nanoid"},"isRequired":true,"uniqueKey":"data.profile_id","typeLabel":"string\u003cnanoid>"},"type":{"type":"string","enum":["payment_link","invoice"],"x-order":2,"isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"fixed":{"x-order":3,"type":"boolean","example":false,"description":"If true it will use the fixed amount, otherwise it will use the dynamic amount\n","isRequired":true,"uniqueKey":"data.fixed","typeLabel":"boolean"},"one_time":{"x-order":4,"type":"boolean","example":false,"description":"If true it is a one-time link, otherwise it is a reusable link\n","isRequired":true,"uniqueKey":"data.one_time","typeLabel":"boolean"},"link":{"type":"string","format":"url","example":"https://pay.busha.io/charges/123456789","isRequired":true,"uniqueKey":"data.link","typeLabel":"string\u003curl>"},"name":{"x-order":5,"type":"string","example":"Payment Link","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"title":{"x-order":6,"type":"string","description":"The display title shown to customers\n","isRequired":true,"uniqueKey":"data.title","typeLabel":"string"},"description":{"x-order":7,"type":"string","description":"The display description shown to customers\n","isRequired":true,"uniqueKey":"data.description","typeLabel":"string"},"target_currency":{"type":"string","description":"The crypto currency to which payment is to be received in\n","format":"string","maxLength":10,"minLength":1,"x-order":11,"x-oapi-codegen-extra-tags":{"validate":"required|min_len:1|max_len:10","filter":"trim|upper"},"example":"BTC","isRequired":true,"uniqueKey":"data.target_currency","typeLabel":"string\u003cstring>"},"status":{"type":"string","enum":["draft","pending","active","expired","deleted","paid"],"x-order":13,"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","x-go-type":"time.Time","x-order":14,"example":"2023-10-15T12:15:30Z","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","x-go-type":"time.Time","x-order":15,"example":"2023-10-15T12:15:30Z","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"quote_amount":{"type":"string","description":"The amount to be paid for the product/service pegged to the quote currency\n","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-order":8,"example":"100","uniqueKey":"data.quote_amount","typeLabel":"string"},"quote_currency":{"type":"string","description":"The currency used to price the amount, which is converted from the source amount\n","format":"string","maxLength":10,"minLength":1,"x-order":9,"x-oapi-codegen-extra-tags":{"validate":"required|min_len:1|max_len:10","filter":"trim|upper"},"example":"BTC","uniqueKey":"data.quote_currency","typeLabel":"string\u003cstring>"},"target_amount":{"type":"string","description":"The amount to be paid for the product/service in a crypto currency (target currency)\n","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"x-order":10,"example":"100","uniqueKey":"data.target_amount","typeLabel":"string"},"meta":{"type":"object","x-order":12,"properties":{"images":{"type":"array","items":{"type":"string","format":"url","uniqueKey":"data.meta.images.items.[INDEX]","typeLabel":"string\u003curl>"},"uniqueKey":"data.meta.images","typeLabel":"string\u003curl>[]"},"allow_customer_amount":{"type":"boolean","uniqueKey":"data.meta.allow_customer_amount","typeLabel":"boolean"},"amount_limit":{"type":"object","required":["min_amount","max_amount"],"properties":{"min_amount":{"type":"string","description":"decimal value","example":"100","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"isRequired":true,"uniqueKey":"data.meta.amount_limit.min_amount","typeLabel":"string"},"max_amount":{"type":"string","description":"decimal value","example":"100","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"isRequired":true,"uniqueKey":"data.meta.amount_limit.max_amount","typeLabel":"string"}},"uniqueKey":"data.meta.amount_limit","typeLabel":"object"},"allow_quantity_selection":{"type":"boolean","uniqueKey":"data.meta.allow_quantity_selection","typeLabel":"boolean"},"require_extra_info":{"type":"array","items":{"type":"object","required":["field_name","required"],"properties":{"field_name":{"type":"string","isRequired":true,"uniqueKey":"data.meta.require_extra_info.items.[INDEX].field_name","typeLabel":"string"},"required":{"type":"boolean","isRequired":true,"uniqueKey":"data.meta.require_extra_info.items.[INDEX].required","typeLabel":"boolean"}},"uniqueKey":"data.meta.require_extra_info.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.meta.require_extra_info","typeLabel":"object[]"},"customer_email":{"type":"string","format":"email","description":"Customer email for invoices","uniqueKey":"data.meta.customer_email","typeLabel":"string\u003cemail>"},"customer_name":{"type":"string","description":"Customer name for invoices","uniqueKey":"data.meta.customer_name","typeLabel":"string"},"due_date":{"type":"string","format":"date-time","description":"Due date for invoices","uniqueKey":"data.meta.due_date","typeLabel":"string\u003cdate-time>"},"note":{"type":"string","maxLength":250,"description":"Optional note for invoices","uniqueKey":"data.meta.note","typeLabel":"string"},"items":{"type":"array","items":{"type":"object","required":["item","quantity","amount"],"properties":{"item":{"type":"string","description":"Name/description of the item","maxLength":255,"isRequired":true,"uniqueKey":"data.meta.\\items.items.[INDEX].item","typeLabel":"string"},"quantity":{"type":"integer","description":"Quantity of the item","minimum":1,"isRequired":true,"uniqueKey":"data.meta.\\items.items.[INDEX].quantity","typeLabel":"integer"},"amount":{"type":"string","description":"Unit price of the item","example":"100","x-go-type":"decimal.Decimal","x-go-type-import":{"path":"github.com/shopspring/decimal","name":"decimal"},"isRequired":true,"uniqueKey":"data.meta.\\items.items.[INDEX].amount","typeLabel":"string"}},"uniqueKey":"data.meta.\\items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.meta.\\items","typeLabel":"object[]"}},"uniqueKey":"data.meta","typeLabel":"object"},"pub_key":{"type":"string","uniqueKey":"data.pub_key","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","x-go-type":"time.Time","x-order":16,"example":"2023-10-15T12:15:30Z","uniqueKey":"data.expires_at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","message":"message for success","data":{"id":"bus_123456789","profile_id":"bus_123456789","type":"payment_link","fixed":false,"one_time":false,"link":"https://pay.busha.io/charges/123456789","name":"Payment Link","title":"\u003cstring>","description":"\u003cstring>","target_currency":"BTC","status":"draft","created_at":"2023-10-15T12:15:30Z","updated_at":"2023-10-15T12:15:30Z","quote_amount":"100","quote_currency":"BTC","target_amount":"100","meta":{"images":["\u003cstring>"],"allow_customer_amount":true,"amount_limit":{"min_amount":"100","max_amount":"100"},"allow_quantity_selection":true,"require_extra_info":[{"field_name":"\u003cstring>","required":true}],"customer_email":"jsmith@example.com","customer_name":"\u003cstring>","due_date":"2023-11-07T05:31:56Z","note":"\u003cstring>","items":[{"item":"\u003cstring>","quantity":2,"amount":"100"}]},"pub_key":"\u003cstring>","expires_at":"2023-10-15T12:15:30Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"38c07b07-8d3e-4464-8fda-2ba620774a51":{"description":"Default","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["name","message"],"properties":{"name":{"type":"string","x-order":40,"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"]}]}}},"exampleType":"examples"}},"exampleType":"examples"},"93f55249-351f-4bec-9465-b55770b3f3a7":{"description":"Default","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["name","message"],"properties":{"name":{"type":"string","x-order":40,"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":{"bf8c9497-fc6e-4a40-b142-57cf16a5226f":{"Auth":{"type":"http","scheme":"bearer","description":"Bearer Authentication","scopes":["transfers:write","api:write"],"schemeName":"Auth"}}},"servers":{"da7e1349-896d-4d44-bf50-5095dca769ae":{"url":"https://api.sandbox.busha.so","description":"Sandbox Environment"},"0117cc31-430c-47bd-9d4e-ad2e7f6fba80":{"url":"https://api.busha.io","description":"Production Environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer Authentication","scopes":["transfers:write","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","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T14:22:48.415Z","originalFileLocation":"api-reference/paymentlinks/update-a-payment-link.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=\"Update a payment link\">\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/paymentlinks/update-a-payment-link\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://busha-36f167ef.mintlify.app/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.app/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/paymentlinks/update-a-payment-link\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/paymentlinks/update-a-payment-link.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/paymentlinks/update-a-payment-link#webpage\",\"url\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link\",\"name\":\"Update a payment link\",\"description\":\"Update a payment link\",\"dateModified\":\"2026-10-26T14:22:48.415Z\",\"isPartOf\":{\"@id\":\"https://docs.busha.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://docs.busha.io/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PaymentLinks\",\"item\":\"https://docs.busha.io/api-reference/paymentlinks/list-payment-links\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a payment link\",\"item\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link#apireference\",\"headline\":\"Update a payment link\",\"name\":\"Update a payment link\",\"description\":\"Update a payment link\",\"url\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link\",\"mainEntityOfPage\":{\"@id\":\"https://docs.busha.io/api-reference/paymentlinks/update-a-payment-link#webpage\"},\"image\":\"https://docs.busha.io/images/meta-image.png\",\"dateModified\":\"2026-10-26T14:22:48.415Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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"}]},"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":"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":"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","description":"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","description":"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"},{"title":"List pending transfer approvals","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml get /v1/quotes/pending-approvals","href":"/api-reference/quotes/list-pending-transfer-approvals"},{"title":"Reject a pending transfer approval","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/bushaHQ/openapi/refs/heads/main/openapi-spec.yaml post /v1/quotes/pending-approvals/{id}/reject","href":"/api-reference/quotes/reject-a-pending-transfer-approval"}]},{"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":"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"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Busha Developer Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}