{ "status": "error", "message": "Webhook URL must use https", "data": null}
Auth method: Signed (HMAC) — this endpoint requires the full set of signed
headers: x-access-id, x-request-id, x-timestamp, and an HMAC-SHA256
authorization signature. See Authentication.
Rate limit: 120 requests per minute for all webhook endpoints. See Rate limits.
Base64-encoded HMAC-SHA256 signature of {"timeStamp":"<x-timestamp>","requestId":"<x-request-id>","accessId":"<x-access-id>"}, signed with your access secret. The request body is not part of the signature.Example:"pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0="
Media type of the request bodyExample:"application/json"
Each merchant account has one webhook. If you already have one, this request replaces its description, url, eventTypes and headers; the webhook keeps its _id. See Webhooks for delivery behaviour.
The URL Tender sends events to. It must use https, and must not point to localhost or a private, loopback or link-local address.Example:"https://your-domain.com/webhooks/tender"
The events to receive. Names are lowercase and case-sensitive, and aren’t checked: a misspelt name is accepted but never delivered. Get valid names from List Webhook Events or see Webhook Events. Send an empty array to stop deliveries without deleting the webhook.Example:["transaction_completed", "transaction_cancelled"]
Custom headers Tender sends with every delivery, as string key-value pairs. Use them to authenticate deliveries, because webhooks are not signed. Host, Content-Length, Connection, Transfer-Encoding, Upgrade, Proxy-Authorization and X-Forwarded-* headers are not sent.Example:{ "X-Webhook-Secret": "a-long-random-value" }
Signed (HMAC) authentication. Required headers: x-access-id, x-request-id (UUID v4), x-timestamp (ISO 8601, must be within 5 minutes of server time), and authorization: the Base64 HMAC-SHA256 of the JSON string {"timeStamp":"","requestId":"","accessId":""} (keys in that order, no whitespace) using your access secret. The request body, method and path are not signed. The API key must be linked to an outlet.
Base64-encoded HMAC-SHA256 signature of {"timeStamp":"<x-timestamp>","requestId":"<x-request-id>","accessId":"<x-access-id>"}, signed with your access secret. The request body is not part of the signature.
Additional fields may be present; ignore fields you don't recognise.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tender API Docs","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/bombatahabeebgmailcom/mcxCxs_8pzkO0xtV/images/light-icon.svg?fit=max\u0026auto=format\u0026n=mcxCxs_8pzkO0xtV\u0026q=85\u0026s=cda075c6bf5446dcf54eaf34790e6129","dark":"https://mintcdn.com/bombatahabeebgmailcom/mcxCxs_8pzkO0xtV/images/dark-icon.svg?fit=max\u0026auto=format\u0026n=mcxCxs_8pzkO0xtV\u0026q=85\u0026s=6c4948e4995170dbf8a78f32efd4df57"},"favicon":"https://mintcdn.com/bombatahabeebgmailcom/OnVfcdlhGF-H84R_/images/icon.png?fit=max\u0026auto=format\u0026n=OnVfcdlhGF-H84R_\u0026q=85\u0026s=34518dafb185bf64a0bb1ab9dfe9ae05","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python","php"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"mailto:support@tender.cash","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://merchant.tender.cash"}},"footer":{"socials":{"x":"https://x.com/tender_cash","github":"https://github.com/tender-cash","linkedin":"https://www.linkedin.com/company/tender-merchant"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/tender-cash"},{"anchor":"API Reference","icon":"book","href":"/api-reference/endpoint/initiate-payment"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bombatahabeebgmailcom","hasAudioNarration":false,"actualSubdomain":"bombatahabeebgmailcom","customDomains":["docs.tender.cash"],"gitSource":{"type":"github","owner":"tender-cash","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6add0c8d75a48754bd45b99f","collectionId":"cffc47dc-b092-4492-8e39-7a46212af57d","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6add0c8d75a48754bd45b99f"},"entitlements":{},"buildId":"6add0c8d75a48754bd45b99f","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API reference","count":50},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Subwallets","count":12},{"language":"default","tag":"Getting started","count":11},{"language":"default","tag":"Conversions","count":9},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Payouts","count":7},{"language":"default","tag":"Online payments","count":6},{"language":"default","tag":"Payment","count":5},{"language":"default","tag":"On-ramp","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/add-webhook","slug":"/api-reference/endpoint/add-webhook","pageMetadata":{"title":"Add Webhook","description":"Register or replace the webhook endpoint for your merchant account","openapi":"POST /v1/api/webhook","href":"/api-reference/endpoint/add-webhook"},"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: \"Register or replace the webhook endpoint for your merchant account\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Auth method: Signed (HMAC)`}),` — this endpoint requires the full set of signed\nheaders: `,_jsx(_components.code,{children:`x-access-id`}),`, `,_jsx(_components.code,{children:`x-request-id`}),`, `,_jsx(_components.code,{children:`x-timestamp`}),`, and an HMAC-SHA256\n`,_jsx(_components.code,{children:`authorization`}),` signature. See `,_jsx(_components.a,{href:`/api-reference/authentication#signed-hmac-authentication`,children:`Authentication`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Rate limit: 120 requests per minute for all webhook endpoints. See `,_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limits`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Base64-encoded HMAC-SHA256 signature of `,_jsx(_components.code,{children:`{\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"}`}),`, signed with your access secret. The request body is not part of the signature.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0=\"`})]})]}),`\n`,_jsxs(ParamField,{header:`x-timestamp`,type:`string`,required:true,id:`param-x-timestamp`,children:[_jsx(_components.p,{children:`ISO 8601 timestamp; must be within 5 minutes of server time`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"2026-10-15T09:45:53.000Z\"`})]})]}),`\n`,_jsxs(ParamField,{header:`x-request-id`,type:`string`,required:true,id:`param-x-request-id`,children:[_jsx(_components.p,{children:`A unique UUID v4 per request`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"550e8400-e29b-41d4-a716-446655440000\"`})]})]}),`\n`,_jsxs(ParamField,{header:`x-access-id`,type:`string`,required:true,id:`param-x-access-id`,children:[_jsx(_components.p,{children:`Your API access ID provided by Tender`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"your-access-id-here\"`})]})]}),`\n`,_jsxs(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:[_jsx(_components.p,{children:`Media type of the request body`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"application/json\"`})]})]}),`\n`,_jsxs(_components.p,{children:[`Each merchant account has `,_jsx(_components.strong,{children:`one`}),` webhook. If you already have one, this request `,_jsx(_components.strong,{children:`replaces`}),` its `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`eventTypes`}),` and `,_jsx(_components.code,{children:`headers`}),`; the webhook keeps its `,_jsx(_components.code,{children:`_id`}),`. See `,_jsx(_components.a,{href:`/get-started/webhooks`,children:`Webhooks`}),` for delivery behaviour.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(_components.p,{children:`All four fields are required.`}),`\n`,_jsxs(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:[_jsx(_components.p,{children:`A description for your own reference`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"Production webhook\"`})]})]}),`\n`,_jsxs(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:[_jsxs(_components.p,{children:[`The URL Tender sends events to. It must use `,_jsx(_components.code,{children:`https`}),`, and must not point to `,_jsx(_components.code,{children:`localhost`}),` or a private, loopback or link-local address.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"https://your-domain.com/webhooks/tender\"`})]})]}),`\n`,_jsxs(ParamField,{body:`eventTypes`,type:`string[]`,required:true,id:`param-event-types`,children:[_jsxs(_components.p,{children:[`The events to receive. Names are lowercase and case-sensitive, and aren’t checked: a misspelt name is accepted but never delivered. Get valid names from `,_jsx(_components.a,{href:`/api-reference/endpoint/list-webhook-events`,children:`List Webhook Events`}),` or see `,_jsx(_components.a,{href:`/get-started/webhook-events`,children:`Webhook Events`}),`. Send an empty array to stop deliveries without deleting the webhook.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`[\"transaction_completed\", \"transaction_cancelled\"]`})]})]}),`\n`,_jsxs(ParamField,{body:`headers`,type:`object`,required:true,id:`param-headers`,children:[_jsxs(_components.p,{children:[`Custom headers Tender sends with every delivery, as string key-value pairs. Use them to authenticate deliveries, because webhooks are not signed. `,_jsx(_components.code,{children:`Host`}),`, `,_jsx(_components.code,{children:`Content-Length`}),`, `,_jsx(_components.code,{children:`Connection`}),`, `,_jsx(_components.code,{children:`Transfer-Encoding`}),`, `,_jsx(_components.code,{children:`Upgrade`}),`, `,_jsx(_components.code,{children:`Proxy-Authorization`}),` and `,_jsx(_components.code,{children:`X-Forwarded-*`}),` headers are not sent.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`{ \"X-Webhook-Secret\": \"a-long-random-value\" }`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns HTTP `,_jsx(_components.code,{children:`200`}),` with the saved webhook.`]}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`\"success\"`})]})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,required:true,id:`param-message`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"success\"`})]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The saved webhook. Additional fields may be present; ignore fields you don’t recognise.`}),_jsxs(Expandable,{title:`data properties`,children:[_jsxs(ResponseField,{name:`_id`,type:`string`,id:`param-id`,children:[_jsxs(_components.p,{children:[`The webhook ID. Use it with `,_jsx(_components.a,{href:`/api-reference/endpoint/delete-webhook`,children:`Delete Webhook`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"691069ff947a702cfad9e861\"`})]})]}),_jsxs(ResponseField,{name:`merchantId`,type:`string`,id:`param-merchant-id`,children:[_jsx(_components.p,{children:`Your merchant ID`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"6538e8f9bdec6d1a21978a64\"`})]})]}),_jsxs(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:[_jsx(_components.p,{children:`Description of the webhook`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"Production webhook\"`})]})]}),_jsxs(ResponseField,{name:`url`,type:`string`,id:`param-url-1`,children:[_jsx(_components.p,{children:`Webhook endpoint URL`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"https://your-domain.com/webhooks/tender\"`})]})]}),_jsxs(ResponseField,{name:`eventTypes`,type:`string[]`,id:`param-event-types-1`,children:[_jsx(_components.p,{children:`Subscribed event names`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`[\"transaction_completed\", \"transaction_cancelled\"]`})]})]}),_jsxs(ResponseField,{name:`headers`,type:`object`,id:`param-headers-1`,children:[_jsx(_components.p,{children:`Custom headers sent with every delivery`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`{ \"X-Webhook-Secret\": \"a-long-random-value\" }`})]})]}),_jsxs(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active`,children:[_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`true`}),` for a registered webhook`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`true`})]})]}),_jsxs(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:[_jsx(_components.p,{children:`ISO 8601 timestamp when the webhook was first registered`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"2026-10-15T10:16:31.594Z\"`})]})]}),_jsxs(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:[_jsx(_components.p,{children:`ISO 8601 timestamp when the webhook was last changed`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"2026-10-15T10:18:35.286Z\"`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`A field is missing or has the wrong type, or the URL is not allowed, for example `,_jsx(_components.code,{children:`\"Webhook URL must use https\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`401`}),`, `,_jsx(_components.code,{children:`403`})]}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`/api-reference/authentication#authentication-errors`,children:`Authentication`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Rate limit exceeded.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add Webhook","description":"Register or replace the webhook endpoint for your merchant account","openapi":"POST /v1/api/webhook","href":"/api-reference/endpoint/add-webhook"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Auth method: Signed (HMAC)`}),` — this endpoint requires the full set of signed\nheaders: `,_jsx(_components.code,{children:`x-access-id`}),`, `,_jsx(_components.code,{children:`x-request-id`}),`, `,_jsx(_components.code,{children:`x-timestamp`}),`, and an HMAC-SHA256\n`,_jsx(_components.code,{children:`authorization`}),` signature. See `,_jsx(_components.a,{href:`/api-reference/authentication#signed-hmac-authentication`,children:`Authentication`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Rate limit: 120 requests per minute for all webhook endpoints. See `,_jsx(_components.a,{href:`/api-reference/rate-limits`,children:`Rate limits`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Base64-encoded HMAC-SHA256 signature of `,_jsx(_components.code,{children:`{\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"}`}),`, signed with your access secret. The request body is not part of the signature.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0=\"`})]})]}),`\n`,_jsxs(ParamField,{header:`x-timestamp`,type:`string`,required:true,id:`param-x-timestamp`,children:[_jsx(_components.p,{children:`ISO 8601 timestamp; must be within 5 minutes of server time`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"2026-10-15T09:45:53.000Z\"`})]})]}),`\n`,_jsxs(ParamField,{header:`x-request-id`,type:`string`,required:true,id:`param-x-request-id`,children:[_jsx(_components.p,{children:`A unique UUID v4 per request`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"550e8400-e29b-41d4-a716-446655440000\"`})]})]}),`\n`,_jsxs(ParamField,{header:`x-access-id`,type:`string`,required:true,id:`param-x-access-id`,children:[_jsx(_components.p,{children:`Your API access ID provided by Tender`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"your-access-id-here\"`})]})]}),`\n`,_jsxs(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:[_jsx(_components.p,{children:`Media type of the request body`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"application/json\"`})]})]}),`\n`,_jsxs(_components.p,{children:[`Each merchant account has `,_jsx(_components.strong,{children:`one`}),` webhook. If you already have one, this request `,_jsx(_components.strong,{children:`replaces`}),` its `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`eventTypes`}),` and `,_jsx(_components.code,{children:`headers`}),`; the webhook keeps its `,_jsx(_components.code,{children:`_id`}),`. See `,_jsx(_components.a,{href:`/get-started/webhooks`,children:`Webhooks`}),` for delivery behaviour.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(_components.p,{children:`All four fields are required.`}),`\n`,_jsxs(ParamField,{body:`description`,type:`string`,required:true,id:`param-description`,children:[_jsx(_components.p,{children:`A description for your own reference`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"Production webhook\"`})]})]}),`\n`,_jsxs(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:[_jsxs(_components.p,{children:[`The URL Tender sends events to. It must use `,_jsx(_components.code,{children:`https`}),`, and must not point to `,_jsx(_components.code,{children:`localhost`}),` or a private, loopback or link-local address.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"https://your-domain.com/webhooks/tender\"`})]})]}),`\n`,_jsxs(ParamField,{body:`eventTypes`,type:`string[]`,required:true,id:`param-event-types`,children:[_jsxs(_components.p,{children:[`The events to receive. Names are lowercase and case-sensitive, and aren’t checked: a misspelt name is accepted but never delivered. Get valid names from `,_jsx(_components.a,{href:`/api-reference/endpoint/list-webhook-events`,children:`List Webhook Events`}),` or see `,_jsx(_components.a,{href:`/get-started/webhook-events`,children:`Webhook Events`}),`. Send an empty array to stop deliveries without deleting the webhook.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`[\"transaction_completed\", \"transaction_cancelled\"]`})]})]}),`\n`,_jsxs(ParamField,{body:`headers`,type:`object`,required:true,id:`param-headers`,children:[_jsxs(_components.p,{children:[`Custom headers Tender sends with every delivery, as string key-value pairs. Use them to authenticate deliveries, because webhooks are not signed. `,_jsx(_components.code,{children:`Host`}),`, `,_jsx(_components.code,{children:`Content-Length`}),`, `,_jsx(_components.code,{children:`Connection`}),`, `,_jsx(_components.code,{children:`Transfer-Encoding`}),`, `,_jsx(_components.code,{children:`Upgrade`}),`, `,_jsx(_components.code,{children:`Proxy-Authorization`}),` and `,_jsx(_components.code,{children:`X-Forwarded-*`}),` headers are not sent.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`{ \"X-Webhook-Secret\": \"a-long-random-value\" }`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns HTTP `,_jsx(_components.code,{children:`200`}),` with the saved webhook.`]}),`\n`,_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`\"success\"`})]})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,required:true,id:`param-message`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"success\"`})]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The saved webhook. Additional fields may be present; ignore fields you don’t recognise.`}),_jsxs(Expandable,{title:`data properties`,children:[_jsxs(ResponseField,{name:`_id`,type:`string`,id:`param-id`,children:[_jsxs(_components.p,{children:[`The webhook ID. Use it with `,_jsx(_components.a,{href:`/api-reference/endpoint/delete-webhook`,children:`Delete Webhook`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"691069ff947a702cfad9e861\"`})]})]}),_jsxs(ResponseField,{name:`merchantId`,type:`string`,id:`param-merchant-id`,children:[_jsx(_components.p,{children:`Your merchant ID`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"6538e8f9bdec6d1a21978a64\"`})]})]}),_jsxs(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:[_jsx(_components.p,{children:`Description of the webhook`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"Production webhook\"`})]})]}),_jsxs(ResponseField,{name:`url`,type:`string`,id:`param-url-1`,children:[_jsx(_components.p,{children:`Webhook endpoint URL`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"https://your-domain.com/webhooks/tender\"`})]})]}),_jsxs(ResponseField,{name:`eventTypes`,type:`string[]`,id:`param-event-types-1`,children:[_jsx(_components.p,{children:`Subscribed event names`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`[\"transaction_completed\", \"transaction_cancelled\"]`})]})]}),_jsxs(ResponseField,{name:`headers`,type:`object`,id:`param-headers-1`,children:[_jsx(_components.p,{children:`Custom headers sent with every delivery`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`{ \"X-Webhook-Secret\": \"a-long-random-value\" }`})]})]}),_jsxs(ResponseField,{name:`isActive`,type:`boolean`,id:`param-is-active`,children:[_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`true`}),` for a registered webhook`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`true`})]})]}),_jsxs(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:[_jsx(_components.p,{children:`ISO 8601 timestamp when the webhook was first registered`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"2026-10-15T10:16:31.594Z\"`})]})]}),_jsxs(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:[_jsx(_components.p,{children:`ISO 8601 timestamp when the webhook was last changed`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Example:`}),` `,_jsx(_components.code,{children:`\"2026-10-15T10:18:35.286Z\"`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`A field is missing or has the wrong type, or the URL is not allowed, for example `,_jsx(_components.code,{children:`\"Webhook URL must use https\"`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`401`}),`, `,_jsx(_components.code,{children:`403`})]}),_jsxs(_components.td,{children:[`See `,_jsx(_components.a,{href:`/api-reference/authentication#authentication-errors`,children:`Authentication`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Rate limit exceeded.`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://secureapi.tender.cash/v1/api/webhook`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-access-id: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TENDER_ACCESS_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-request-id: 550e8400-e29b-41d4-a716-446655440000\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-timestamp: 2026-10-15T09:45:53.000Z\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"authorization: pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0=\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Production webhook\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://your-domain.com/webhooks/tender\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventTypes\": [\"transaction_completed\", \"transaction_cancelled\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"headers\": { \"X-Webhook-Secret\": \"a-long-random-value\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"691069ff947a702cfad9e861\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchantId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6538e8f9bdec6d1a21978a64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Production webhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-domain.com/webhooks/tender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventTypes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transaction_completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transaction_cancelled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"headers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"X-Webhook-Secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a-long-random-value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isActive\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isDeleted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-15T10:16:31.594Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-15T10:18:35.286Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Webhook URL must use https\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Add Webhook","description":"Register or replace the webhook endpoint for your merchant account","openapi":"POST /v1/api/webhook","href":"/api-reference/endpoint/add-webhook"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://secureapi.tender.cash/v1/api/webhook\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"x-access-id: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$TENDER_ACCESS_ID\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"x-request-id: 550e8400-e29b-41d4-a716-446655440000\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"x-timestamp: 2026-10-15T09:45:53.000Z\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"authorization: pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0=\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"description\": \"Production webhook\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"url\": \"https://your-domain.com/webhooks/tender\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"eventTypes\": [\"transaction_completed\", \"transaction_cancelled\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"headers\": { \"X-Webhook-Secret\": \"a-long-random-value\" }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"691069ff947a702cfad9e861\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchantId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6538e8f9bdec6d1a21978a64\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Production webhook\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://your-domain.com/webhooks/tender\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"eventTypes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"transaction_completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"transaction_cancelled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"headers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"X-Webhook-Secret\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a-long-random-value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isActive\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isDeleted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-15T10:16:31.594Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-15T10:18:35.286Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Webhook URL must use https\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Add Webhook","operationId":"addWebhook","tags":["Webhooks"],"description":"Register or replace the webhook endpoint for your merchant account","security":["ef588db5-3ba6-4bd0-8dc9-f39d09e56fd9"],"parameters":["1903c551-2421-4cb7-9044-ba99c3ab881f","822c97ad-5c9b-43a8-830d-a57980dffd5d","bea442cc-aaa5-4e16-b63f-77650aa50204","ddae5315-1795-4d09-93ac-9efedcccc12a","31482a09-0a90-42b0-981c-0eb41d049c4c"],"requestBody":"ab6db296-8873-4e03-9893-606f8c1d75f6","responses":{"200":"a5bb9b9a-3175-4e0f-9ac3-7e79b431bda0","400":"203fdf46-d3de-42be-88f1-af73c510ddf2","401":"0df40884-c76d-4ed2-82db-f859a5e4f20b","403":"5c126c36-62af-4078-8429-12d73cadf3d8","429":"cafe6022-f215-40c4-b9dc-89cfd2fed956"},"method":"post","type":"path","servers":["ec315635-8b74-4417-b93d-4ac28978e9b8","e02077cb-299e-4a7a-b32e-046e6b44408b"],"path":"/v1/api/webhook","baseUrlOptions":["https://secureapi.tender.cash","https://sandbox-api.tender.cash"],"title":"Add Webhook","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","php"],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" https://secureapi.tender.cash/v1/api/webhook"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"x-access-id: "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#9CDCFE"},"children":"$TENDER_ACCESS_ID"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"x-request-id: 550e8400-e29b-41d4-a716-446655440000\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"x-timestamp: 2026-10-15T09:45:53.000Z\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"authorization: pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0=\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"description\": \"Production webhook\","}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"url\": \"https://your-domain.com/webhooks/tender\","}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"eventTypes\": [\"transaction_completed\", \"transaction_cancelled\"],"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"headers\": { \"X-Webhook-Secret\": \"a-long-random-value\" }"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }'"}}}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"16","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"691069ff947a702cfad9e861\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"merchantId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"6538e8f9bdec6d1a21978a64\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"description\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Production webhook\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"url\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"https://your-domain.com/webhooks/tender\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"eventTypes\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"transaction_completed\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":", "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"transaction_cancelled\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"],"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"headers\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":"\"X-Webhook-Secret\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"a-long-random-value\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"isActive\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"isDeleted\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"createdAt\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-10-15T10:16:31.594Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"updatedAt\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-10-15T10:18:35.286Z\""}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"200"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"error\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"message\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Webhook URL must use https\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"400"}],"responseExampleType":"mdx","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.description":"Production webhook","body.url":"https://your-domain.com/webhooks/tender","body.eventTypes.items.0":"transaction_completed","body.eventTypes.items.1":"transaction_cancelled","body.headers.X-Webhook-Secret":"a-long-random-value"}]},"dependencies":{"parameters":{"1903c551-2421-4cb7-9044-ba99c3ab881f":{"name":"authorization","in":"header","required":true,"description":"Base64-encoded HMAC-SHA256 signature of `{\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"}`, signed with your access secret. The request body is not part of the signature.","schema":{"type":"string","isRequired":true,"description":"Base64-encoded HMAC-SHA256 signature of `{\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"}`, signed with your access secret. The request body is not part of the signature.","uniqueKey":"","typeLabel":"string"},"example":"pV3n0o8kq0lK2mJ8bZ1yq3Yt6hR0cXK9u4mVJ2l9sE0="},"822c97ad-5c9b-43a8-830d-a57980dffd5d":{"name":"x-timestamp","in":"header","required":true,"description":"ISO 8601 timestamp; must be within 5 minutes of server time","schema":{"type":"string","format":"date-time","isRequired":true,"description":"ISO 8601 timestamp; must be within 5 minutes of server time","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"example":"2026-10-15T09:45:53.000Z"},"bea442cc-aaa5-4e16-b63f-77650aa50204":{"name":"x-request-id","in":"header","required":true,"description":"A unique UUID v4 per request","schema":{"type":"string","format":"uuid","isRequired":true,"description":"A unique UUID v4 per request","uniqueKey":"","typeLabel":"string\u003cuuid>"},"example":"550e8400-e29b-41d4-a716-446655440000"},"ddae5315-1795-4d09-93ac-9efedcccc12a":{"name":"x-access-id","in":"header","required":true,"description":"Your API access ID provided by Tender","schema":{"type":"string","isRequired":true,"description":"Your API access ID provided by Tender","uniqueKey":"","typeLabel":"string"},"example":"your-access-id-here"},"31482a09-0a90-42b0-981c-0eb41d049c4c":{"name":"Content-Type","in":"header","required":true,"description":"Media type of the request body","schema":{"type":"string","enum":["application/json"],"isRequired":true,"description":"Media type of the request body","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"application/json"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["description","url","eventTypes","headers"],"properties":{"description":{"type":"string","description":"A description for your own reference","example":"Production webhook","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"Public HTTPS URL. Must not point to localhost or a private, loopback or link-local address.","example":"https://your-domain.com/webhooks/tender","isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"eventTypes":{"type":"array","items":{"type":"string","enum":["transaction_completed","transaction_overpayment","transaction_partially_paid","transaction_partial_fulfilled","transaction_requested","transaction_reserved","transaction_cancelled","sub_user_wallet_transaction_detected","sub_user_wallet_transfer_confirmed","sub_user_wallet_transfer_failed","offramp_order_completed","offramp_order_cancelled","offramp_order_failed"],"uniqueKey":"eventTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Event names to receive (lowercase, case-sensitive). Names are not validated on subscribe.","example":["transaction_completed","transaction_cancelled"],"isRequired":true,"uniqueKey":"eventTypes","typeLabel":"enum\u003cstring>[]"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"headers.additionalProperties","typeLabel":"string"},"description":"Custom headers sent with every delivery. Use them to authenticate deliveries.","example":{"X-Webhook-Secret":"a-long-random-value"},"isRequired":true,"uniqueKey":"headers","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"description":"Production webhook","url":"https://your-domain.com/webhooks/tender","eventTypes":["transaction_completed","transaction_cancelled"],"headers":{"X-Webhook-Secret":"a-long-random-value"}},"examples":{"Example":{"title":"Example","value":{"description":"Production webhook","url":"https://your-domain.com/webhooks/tender","eventTypes":["transaction_completed","transaction_cancelled"],"headers":{"X-Webhook-Secret":"a-long-random-value"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"a5bb9b9a-3175-4e0f-9ac3-7e79b431bda0":{"description":"Webhook saved","content":{"application/json":{"schema":{"type":"object","required":["status","message","data"],"properties":{"status":{"type":"string","enum":["success"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"Additional fields may be present; ignore fields you don't recognise.","properties":{"_id":{"type":"string","description":"Webhook ID","uniqueKey":"data._id","typeLabel":"string"},"merchantId":{"type":"string","uniqueKey":"data.merchantId","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.description","typeLabel":"string"},"url":{"type":"string","format":"uri","uniqueKey":"data.url","typeLabel":"string\u003curi>"},"eventTypes":{"type":"array","items":{"type":"string","uniqueKey":"data.eventTypes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.eventTypes","typeLabel":"string[]"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.headers.additionalProperties","typeLabel":"string"},"uniqueKey":"data.headers","typeLabel":"object"},"isActive":{"type":"boolean","uniqueKey":"data.isActive","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"success","message":"success","data":{"_id":"691069ff947a702cfad9e861","merchantId":"6538e8f9bdec6d1a21978a64","description":"Production webhook","url":"https://your-domain.com/webhooks/tender","eventTypes":["transaction_completed","transaction_cancelled"],"headers":{"X-Webhook-Secret":"a-long-random-value"},"isActive":true,"isDeleted":false,"createdAt":"2026-10-15T10:16:31.594Z","updatedAt":"2026-10-15T10:18:35.286Z"}},"examples":{"Example":{"title":"Example","value":{"status":"success","message":"success","data":{"_id":"691069ff947a702cfad9e861","merchantId":"6538e8f9bdec6d1a21978a64","description":"Production webhook","url":"https://your-domain.com/webhooks/tender","eventTypes":["transaction_completed","transaction_cancelled"],"headers":{"X-Webhook-Secret":"a-long-random-value"},"isActive":true,"isDeleted":false,"createdAt":"2026-10-15T10:16:31.594Z","updatedAt":"2026-10-15T10:18:35.286Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"203fdf46-d3de-42be-88f1-af73c510ddf2":{"description":"Validation failed, or the URL is not allowed.","content":{"application/json":{"schema":{"type":"object","required":["status","message","data"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Webhook URL must use https","data":null},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Webhook URL must use https","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"0df40884-c76d-4ed2-82db-f859a5e4f20b":{"description":"Missing signed headers (`NOT_ALLOWED`) or invalid timestamp, access ID or signature (`INVALID_REQUEST_SIGNATURE`).","content":{"application/json":{"schema":{"type":"object","required":["status","message","data"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"INVALID_REQUEST_SIGNATURE","data":{}},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"INVALID_REQUEST_SIGNATURE","data":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"5c126c36-62af-4078-8429-12d73cadf3d8":{"description":"Merchant account suspended.","content":{"application/json":{"schema":{"type":"object","required":["status","message","data"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"NOT_ALLOWED","data":{"message":"This merchant account has been suspended."}},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"NOT_ALLOWED","data":{"message":"This merchant account has been suspended."}}}},"exampleType":"examples"}},"exampleType":"examples"},"cafe6022-f215-40c4-b9dc-89cfd2fed956":{"description":"Rate limit exceeded (120 requests per minute for webhook endpoints).","content":{"application/json":{"schema":{"type":"object","required":["status","message","data"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","isRequired":true,"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Too many requests. Max 120 per 60s.","data":{}},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Too many requests. Max 120 per 60s.","data":{}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ef588db5-3ba6-4bd0-8dc9-f39d09e56fd9":{"SignedAuth":{"type":"apiKey","in":"header","name":"authorization","description":"Signed (HMAC) authentication. Required headers: x-access-id, x-request-id (UUID v4), x-timestamp (ISO 8601, must be within 5 minutes of server time), and authorization: the Base64 HMAC-SHA256 of the JSON string {\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"} (keys in that order, no whitespace) using your access secret. The request body, method and path are not signed. The API key must be linked to an outlet.","scopes":[],"schemeName":"SignedAuth"}}},"servers":{"ec315635-8b74-4417-b93d-4ac28978e9b8":{"url":"https://secureapi.tender.cash","description":"Production Server"},"e02077cb-299e-4a7a-b32e-046e6b44408b":{"url":"https://sandbox-api.tender.cash","description":"Sandbox Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"authorization","description":"Signed (HMAC) authentication. Required headers: x-access-id, x-request-id (UUID v4), x-timestamp (ISO 8601, must be within 5 minutes of server time), and authorization: the Base64 HMAC-SHA256 of the JSON string {\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"} (keys in that order, no whitespace) using your access secret. The request body, method and path are not signed. The API key must be linked to an outlet.","scopes":[],"schemeName":"SignedAuth"},"schema":{"title":"authorization","type":"string","description":"Signed (HMAC) authentication. Required headers: x-access-id, x-request-id (UUID v4), x-timestamp (ISO 8601, must be within 5 minutes of server time), and authorization: the Base64 HMAC-SHA256 of the JSON string {\"timeStamp\":\"\u003cx-timestamp>\",\"requestId\":\"\u003cx-request-id>\",\"accessId\":\"\u003cx-access-id>\"} (keys in that order, no whitespace) using your access secret. The request body, method and path are not signed. The API key must be linked to an outlet.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"SignedAuth","name":"authorization"}],"title":"SignedAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"bombatahabeebgmailcom","siteName":"Tender API Docs","title":"Add Webhook - Tender API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T14:11:37.342Z","originalFileLocation":"api-reference/endpoint/add-webhook.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=\"Register or replace the webhook endpoint for your merchant account\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tender API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Webhook - Tender API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register or replace the webhook endpoint for your merchant account\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tender API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tender.cash/api-reference/endpoint/add-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bombatahabeebgmailcom.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Add+Webhook\u0026amp;description=Register+or+replace+the+webhook+endpoint+for+your+merchant+account\u0026amp;theme=6166f8c3311d79eb9939bfa3\u0026amp;signature=0ea775e26350b5b88a8f00e2b6f5190b1ac51044df815c9eb34f0a3d629b3c7f\">\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=\"Add Webhook - Tender API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register or replace the webhook endpoint for your merchant account\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bombatahabeebgmailcom.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Add+Webhook\u0026amp;description=Register+or+replace+the+webhook+endpoint+for+your+merchant+account\u0026amp;theme=6166f8c3311d79eb9939bfa3\u0026amp;signature=0ea775e26350b5b88a8f00e2b6f5190b1ac51044df815c9eb34f0a3d629b3c7f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bombatahabeebgmailcom/v6ENOtGYag4X1G5d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tender API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tender.cash/api-reference/endpoint/add-webhook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/add-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tender.cash/#organization\",\"name\":\"Tender API Docs\",\"url\":\"https://docs.tender.cash\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bombatahabeebgmailcom/mcxCxs_8pzkO0xtV/images/light-icon.svg?fit=max\u0026auto=format\u0026n=mcxCxs_8pzkO0xtV\u0026q=85\u0026s=cda075c6bf5446dcf54eaf34790e6129\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tender.cash#website\",\"name\":\"Tender API Docs\",\"url\":\"https://docs.tender.cash\",\"publisher\":{\"@id\":\"https://docs.tender.cash/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook#webpage\",\"url\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook\",\"name\":\"Add Webhook\",\"description\":\"Register or replace the webhook endpoint for your merchant account\",\"dateModified\":\"2026-10-15T14:11:37.342Z\",\"isPartOf\":{\"@id\":\"https://docs.tender.cash#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tender API Docs\",\"item\":\"https://docs.tender.cash\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Webhook\",\"item\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook#apireference\",\"headline\":\"Add Webhook\",\"name\":\"Add Webhook\",\"description\":\"Register or replace the webhook endpoint for your merchant account\",\"url\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tender.cash/api-reference/endpoint/add-webhook#webpage\"},\"dateModified\":\"2026-10-15T14:11:37.342Z\",\"publisher\":{\"@id\":\"https://docs.tender.cash/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tender.cash#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tender API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tender API Docs","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/tender-cash"},{"anchor":"API Reference","icon":"book","href":"/api-reference/endpoint/initiate-payment"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Payment","pages":[{"title":"Initiate Payment","openapi":"POST /v1/api/payment/initiate","href":"/api-reference/endpoint/initiate-payment"},{"title":"Initiate Payment By Fiat Currency","openapi":"POST /v1/api/payment/initiate/{currency}","href":"/api-reference/endpoint/initiate-payment-currency"},{"title":"Validate Payment","openapi":"POST /v1/api/payment/validate/{id}","href":"/api-reference/endpoint/validate-payment"},{"title":"Quote Payment","openapi":"POST /v1/api/payment/quote/{id}","href":"/api-reference/endpoint/quote-payment"},{"title":"Cancel Payment","openapi":"POST /v1/api/payment/cancel/{id}","href":"/api-reference/endpoint/cancel-payment"}]},{"group":"Transactions","pages":[{"title":"List Payment Internal Transactions","openapi":"GET /v1/api/transactions/{id}/internal","href":"/api-reference/endpoint/transactions/list-internal"},{"title":"Get Payment Internal Transaction","openapi":"GET /v1/api/transactions/{id}/internal/{internalId}","href":"/api-reference/endpoint/transactions/get-internal"}]},{"group":"System","pages":[{"title":"Fetch Allowed Chains","openapi":"GET /v1/api/system/chains","href":"/api-reference/endpoint/fetch-chains"},{"title":"Fetch Chain Currencies","openapi":"GET /v1/api/system/chains/{id}/currency","href":"/api-reference/endpoint/fetch-chain-currencies"},{"title":"Fetch All Currencies","openapi":"GET /v1/api/system/currency","href":"/api-reference/endpoint/fetch-currencies"},{"title":"Fetch Exchange Rates","openapi":"GET /v1/api/system/rates/{coin}","href":"/api-reference/endpoint/fetch-exchange-rates"}]},{"group":"Agents","pages":[{"title":"Create Outlet","openapi":"POST /v1/api/agent/create","href":"/api-reference/endpoint/agents/create"},{"title":"List Outlets","openapi":"GET /v1/api/agent","href":"/api-reference/endpoint/agents/list"}]},{"group":"Conversions","pages":[{"title":"List Conversions","openapi":"GET /v1/api/conversions","href":"/api-reference/endpoint/conversions/list"},{"title":"Conversion Stats","openapi":"GET /v1/api/conversions/stats","href":"/api-reference/endpoint/conversions/stats"},{"title":"Get Conversion","openapi":"GET /v1/api/conversions/{id}","href":"/api-reference/endpoint/conversions/get-one"},{"title":"List Conversion Internal Transactions","openapi":"GET /v1/api/conversions/{id}/internal","href":"/api-reference/endpoint/conversions/list-internal"},{"title":"Get Conversion Internal Transaction","openapi":"GET /v1/api/conversions/{id}/internal/{internalId}","href":"/api-reference/endpoint/conversions/get-internal"},{"title":"Calculate Conversion Fee","openapi":"GET /v1/api/conversions/fee/{chain}/{coin}/{amount}","href":"/api-reference/endpoint/conversions/fee"},{"title":"Swap-Enabled Chains","openapi":"GET /v1/api/conversions/swap/chains","href":"/api-reference/endpoint/conversions/swap-chains"},{"title":"Swap-Enabled Coins","openapi":"GET /v1/api/conversions/swap/coins","href":"/api-reference/endpoint/conversions/swap-coins"},{"title":"Create Conversion","openapi":"POST /v1/api/conversions","href":"/api-reference/endpoint/conversions/create"}]},{"group":"Payouts","pages":[{"title":"List Payouts","openapi":"GET /v1/api/payout","href":"/api-reference/endpoint/payouts/list"},{"title":"Get Payout","openapi":"GET /v1/api/payout/{id}","href":"/api-reference/endpoint/payouts/get-one"},{"title":"List Payout Internal Transactions","openapi":"GET /v1/api/payout/{id}/internal","href":"/api-reference/endpoint/payouts/list-internal"},{"title":"Get Payout Internal Transaction","openapi":"GET /v1/api/payout/{id}/internal/{internalId}","href":"/api-reference/endpoint/payouts/get-internal"},{"title":"Calculate Payout Fee","openapi":"GET /v1/api/payout/fee/{chain}/{coin}/{amount}","href":"/api-reference/endpoint/payouts/fee"},{"title":"Payout Crypto","openapi":"POST /v1/api/payout/crypto","href":"/api-reference/endpoint/payouts/crypto"},{"title":"Payout Fiat","openapi":"POST /v1/api/payout/fiat","href":"/api-reference/endpoint/payouts/fiat"}]},{"group":"Subwallets","pages":[{"title":"Create Wallet","openapi":"POST /v1/api/wallet","href":"/api-reference/endpoint/subwallets/create-wallet"},{"title":"List Wallets","openapi":"GET /v1/api/wallet","href":"/api-reference/endpoint/subwallets/list-wallets"},{"title":"Create Address","openapi":"POST /v1/api/wallet/address","href":"/api-reference/endpoint/subwallets/create-address"},{"title":"List Addresses","openapi":"GET /v1/api/wallet/{walletReference}/addresses","href":"/api-reference/endpoint/subwallets/list-addresses"},{"title":"Get Address Balance","openapi":"GET /v1/api/wallet/balance/{address}","href":"/api-reference/endpoint/subwallets/get-balance"},{"title":"Transfer Funds","openapi":"POST /v1/api/wallet/transfer","href":"/api-reference/endpoint/subwallets/transfer"},{"title":"Get Transfer Status","openapi":"POST /v1/api/wallet/transfer/status","href":"/api-reference/endpoint/subwallets/transfer-status"},{"title":"List Wallet Transactions","openapi":"GET /v1/api/wallet/{walletReference}/transactions","href":"/api-reference/endpoint/subwallets/list-transactions"},{"title":"Validate Address","openapi":"POST /v1/api/wallet/validate","href":"/api-reference/endpoint/subwallets/validate-address"},{"title":"Add Deposit Filter","openapi":"POST /v1/api/wallet/filter","href":"/api-reference/endpoint/subwallets/add-filter"},{"title":"Check Watched Address","description":"Check whether a blockchain address is currently registered with Tender's deposit monitor","openapi":"GET /v1/api/wallet/watch/{address}","href":"/api-reference/endpoint/subwallets/check-watched"}]},{"group":"Webhooks","pages":[{"title":"Add Webhook","openapi":"POST /v1/api/webhook","href":"/api-reference/endpoint/add-webhook"},{"title":"Fetch Webhook","description":"Get the webhook registered for your merchant account","openapi":"GET /v1/api/webhook","href":"/api-reference/endpoint/fetch-webhook"},{"title":"Delete Webhook","openapi":"DELETE /v1/api/webhook/{id}","href":"/api-reference/endpoint/delete-webhook"},{"title":"Get Webhook Logs","openapi":"GET /v1/api/webhook/logs","href":"/api-reference/endpoint/webhook-logs"},{"title":"List Webhook Events","openapi":"GET /v1/api/webhook/events","href":"/api-reference/endpoint/list-webhook-events"}]},{"group":"On-ramp","pages":[{"title":"Fetch On-ramp Chains","openapi":"GET /v1/api/onramp/chains","href":"/api-reference/endpoint/onramp/chains"},{"title":"Fetch On-ramp Coins","openapi":"GET /v1/api/onramp/coins","href":"/api-reference/endpoint/onramp/coins"},{"title":"Get On-ramp Quote","openapi":"POST /v1/api/onramp/quote","href":"/api-reference/endpoint/onramp/quote"},{"title":"Initiate On-ramp","openapi":"POST /v1/api/onramp/initiate","href":"/api-reference/endpoint/onramp/initiate"},{"title":"Get On-ramp Status","openapi":"GET /v1/api/onramp/{reference}","href":"/api-reference/endpoint/onramp/status"}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdk/overview"}]}]},"title":"Add Webhook - Tender API Docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}