using RestSharp;
var options = new RestClientOptions("https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Basic <encoded-value>");
request.AddJsonBody("{\n \"merchant_guid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"webhook_url\": \"<string>\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
using RestSharp;
var options = new RestClientOptions("https://api-sandbox.paychoice.com.au/api/v5/merchantwebhooks");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Basic <encoded-value>");
request.AddJsonBody("{\n \"merchant_guid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"webhook_url\": \"<string>\"\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
Registers a webhook URL for the merchant. PayChoice then POSTs a notification to it when a charge is created and whenever its status changes — card or bank, API or Widget.
webhook_secret is the HMAC-SHA256 key for the X-Webhook-Signature header and is only returned by this call. Store it securely.
A merchant-level credential can only register for its own merchant GUID. See the Webhooks guide for payload format and signature verification.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"PayChoice","description":"PayChoice Payment Gateway developer documentation: card and bank payments, webhooks, tokens, the hosted payment widget and recurring billing.","colors":{"primary":"#48CFCB","light":"#6EDBD7","dark":"#2FA8A4"},"logo":{"light":"https://mintcdn.com/pay-choice/9WMo5WCrZO7kmDWt/images/paychoice-logo.png?fit=max\u0026auto=format\u0026n=9WMo5WCrZO7kmDWt\u0026q=85\u0026s=ace9ca358ae78a786bd4e43d42a3300f","dark":"https://mintcdn.com/pay-choice/9WMo5WCrZO7kmDWt/images/Paychoice-Logo_Reversed-Teal.png?fit=max\u0026auto=format\u0026n=9WMo5WCrZO7kmDWt\u0026q=85\u0026s=2f94803087923ecafda8645c640c61ca"},"favicon":{"light":"https://mintcdn.com/pay-choice/9WMo5WCrZO7kmDWt/images/paychoice-favicon.png?fit=max\u0026auto=format\u0026n=9WMo5WCrZO7kmDWt\u0026q=85\u0026s=dc98e7838591456ff1b773eb99bb94f4","dark":"https://mintcdn.com/pay-choice/9WMo5WCrZO7kmDWt/images/paychoice-favicon.png?fit=max\u0026auto=format\u0026n=9WMo5WCrZO7kmDWt\u0026q=85\u0026s=dc98e7838591456ff1b773eb99bb94f4"},"api":{"openapi":"https://api-sandbox.paychoice.com.au/swagger/v5/swagger.json","playground":{"display":"interactive"},"examples":{"languages":["bash","javascript","python","csharp","php"]},"mdx":{"auth":{"method":"basic"},"server":["https://api-sandbox.paychoice.com.au","https://api.paychoice.com.au"]}},"navbar":{"links":[{"href":"mailto:support@paychoice.com.au","label":"Support"}],"primary":{"type":"button","label":"Postman collection","href":"https://api-docs.paychoice.com.au"}},"footer":{"socials":{"website":"https://www.paychoice.com.au"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pay-choice","hasAudioNarration":false,"actualSubdomain":"pay-choice","customDomains":[],"gitSource":{"type":"artifacts","owner":"prod","repo":"6aea905f664fff5242e9a65e","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6aea9079d401a88a40997691"},"chroma":{"latestBuiltDeploymentHistoryId":"6aeab399812bc41a9f0a04ec","collectionId":"9c86f99c-cfc5-41af-aa71-dc7b9a016acc","liveDeploymentHistoryId":"6aeab399812bc41a9f0a04ec","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeab3ea36c130eb5b485714","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Guides","count":23},{"language":"default","tag":"API reference","count":16},{"language":"default","tag":"Recurring billing","count":8},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Tokens","count":6},{"language":"default","tag":"Webhooks","count":4},{"language":"default","tag":"Taking payments","count":4},{"language":"default","tag":"After the payment","count":3},{"language":"default","tag":"Charges","count":3},{"language":"default","tag":"Refunds and pre-authorisations","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhooks/register-a-webhook","slug":"/api-reference/webhooks/register-a-webhook","pageMetadata":{"title":"Register a webhook","openapi":"POST /api/v5/merchantwebhooks","description":null,"href":"/api-reference/webhooks/register-a-webhook"},"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`,..._provideComponents(),...props.components},{ResponseField,Warning}=_components;if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Registers a webhook URL for the merchant. PayChoice then POSTs a notification to it when a charge is created and whenever its status changes — card or bank, API or Widget.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webhook_secret`}),` is the HMAC-SHA256 key for the `,_jsx(_components.code,{children:`X-Webhook-Signature`}),` header and is `,_jsx(_components.strong,{children:`only returned by this call`}),`. Store it securely.`]})}),`\n`,_jsxs(_components.p,{children:[`A merchant-level credential can only register for its own merchant GUID. See the `,_jsx(_components.a,{href:`/getting-the-result/webhooks`,children:`Webhooks guide`}),` for payload format and signature verification.`]}),`\n`,`\n`,_jsx(_components.p,{children:`The registration object is returned directly, with no envelope.`}),`\n`,_jsx(ResponseField,{name:`id`,type:`uuid`,id:`param-id`,children:`The registration ID. Needed for Update.`}),`\n`,_jsx(ResponseField,{name:`webhook_secret`,type:`string`,id:`param-webhook-secret`,children:`44-character Base64 string. Use it as-is as the HMAC key; do not decode it.`}),`\n`,_jsx(ResponseField,{name:`active`,type:`boolean`,id:`param-active`,children:`Whether notifications are being sent.`})]})}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":"Register a webhook","openapi":"POST /api/v5/merchantwebhooks","description":null,"href":"/api-reference/webhooks/register-a-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`,..._provideComponents(),...props.components},{CodeBlock,ResponseExample,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Registers a webhook URL for the merchant. PayChoice then POSTs a notification to it when a charge is created and whenever its status changes — card or bank, API or Widget.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`webhook_secret`}),` is the HMAC-SHA256 key for the `,_jsx(_components.code,{children:`X-Webhook-Signature`}),` header and is `,_jsx(_components.strong,{children:`only returned by this call`}),`. Store it securely.`]})}),`\n`,_jsxs(_components.p,{children:[`A merchant-level credential can only register for its own merchant GUID. See the `,_jsx(_components.a,{href:`/getting-the-result/webhooks`,children:`Webhooks guide`}),` for payload format and signature verification.`]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,numberOfLines:`10`,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:`10`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0f6a1c2d-8e4b-4a7c-9d3e-5b2f1a6c8d90\"`}),_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:` \"merchant_guid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"315564b9-b863-4016-8c53-02c9d8cc80b7\"`}),_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:` \"webhook_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-app.example.com/paychoice/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:` \"webhook_secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c2VjcmV0LXNlY3JldC1zZWNyZXQtc2VjcmV0LXNlY3JldA==\"`}),_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:` \"created_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-04T02:30:00.000Z\"`}),_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:` \"updated_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"updated_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(_components.p,{children:`The registration object is returned directly, with no envelope.`}),`\n`,_jsx(ResponseField,{name:`id`,type:`uuid`,id:`param-id`,children:`The registration ID. Needed for Update.`}),`\n`,_jsx(ResponseField,{name:`webhook_secret`,type:`string`,id:`param-webhook-secret`,children:`44-character Base64 string. Use it as-is as the HMAC key; do not decode it.`}),`\n`,_jsx(ResponseField,{name:`active`,type:`boolean`,id:`param-active`,children:`Whether notifications are being sent.`})]})}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":"Register a webhook","openapi":"POST /api/v5/merchantwebhooks","description":null,"href":"/api-reference/webhooks/register-a-webhook"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"201","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=\"10\">\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\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0f6a1c2d-8e4b-4a7c-9d3e-5b2f1a6c8d90\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_guid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"315564b9-b863-4016-8c53-02c9d8cc80b7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"webhook_url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://your-app.example.com/paychoice/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\"> \"webhook_secret\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c2VjcmV0LXNlY3JldC1zZWNyZXQtc2VjcmV0LXNlY3JldA==\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-04T02:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_by\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\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":{"tags":["MerchantWebhook"],"requestBody":"0c4fc324-8612-4d1e-873f-f84f68d38793","responses":{"200":"e9df1c82-3ca0-4664-8282-3e35b5b1a7d8"},"method":"post","type":"path","servers":[],"security":["c6181a7a-a937-4e72-9be6-a75953b428e2"],"path":"/api/v5/merchantwebhooks","baseUrlOptions":["https://api-sandbox.paychoice.com.au","https://api.paychoice.com.au"],"title":"","description":"","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","csharp","php"],"requiredOnlyExamples":false,"requestExampleType":"generated","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":"10","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":" \"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":"\"0f6a1c2d-8e4b-4a7c-9d3e-5b2f1a6c8d90\""}},{"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":" \"merchant_guid\""}},{"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":"\"315564b9-b863-4016-8c53-02c9d8cc80b7\""}},{"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":" \"webhook_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-app.example.com/paychoice/webhook\""}},{"type":"span","key":"3","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":" \"webhook_secret\""}},{"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":"\"c2VjcmV0LXNlY3JldC1zZWNyZXQtc2VjcmV0LXNlY3JldA==\""}},{"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":" \"created_date\""}},{"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-11-04T02:30:00.000Z\""}},{"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":" \"updated_date\""}},{"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"}},{"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":" \"updated_by\""}},{"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"}},{"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":" \"active\""}},{"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"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"201"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"merchant_guid":{"type":"string","format":"uuid","uniqueKey":"merchant_guid","typeLabel":"string\u003cuuid>"},"webhook_url":{"oneOf":[{"type":"string","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"merchant_guid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","webhook_url":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"type":"object","properties":{"merchant_guid":{"type":"string","format":"uuid","uniqueKey":"merchant_guid","typeLabel":"string\u003cuuid>"},"webhook_url":{"oneOf":[{"type":"string","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"merchant_guid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","webhook_url":"\u003cstring>"}}},"exampleType":"generated"},"application/*+json":{"schema":{"type":"object","properties":{"merchant_guid":{"type":"string","format":"uuid","uniqueKey":"merchant_guid","typeLabel":"string\u003cuuid>"},"webhook_url":{"oneOf":[{"type":"string","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"merchant_guid":"3c90c3cc-0d44-4b50-8888-8dd25736052a","webhook_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e9df1c82-3ca0-4664-8282-3e35b5b1a7d8":{"description":"OK","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"c6181a7a-a937-4e72-9be6-a75953b428e2":{"basic":{"type":"http","description":"Basic Authorization header using the Bearer scheme.","scheme":"basic","scopes":[],"schemeName":"basic"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Basic Authorization header using the Bearer scheme.","scheme":"basic","scopes":[],"schemeName":"basic"},"schema":{"title":"Basic Auth","type":"object","description":"Basic Authorization header using the Bearer scheme.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basic","name":"Authorization"}],"title":"basic"}]},"originalFileLocation":"https://api-sandbox.paychoice.com.au/swagger/v5/swagger.json"},"subdomain":"pay-choice","siteName":"PayChoice","title":"Register a webhook - PayChoice","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T04:26:22.601Z","originalFileLocation":"api-reference/webhooks/register-a-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=\"application-name\" content=\"PayChoice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_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/pay-choice/zr1qQbmRZGa0HZIK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Register a webhook - PayChoice\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PayChoice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pay-choice.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Register+a+webhook\u0026amp;theme=0e4e4358671205cef8a48cee\u0026amp;signature=70f312e4db77e0dc2ee9943e2dc435d11cc2971e10bfab23af9501eaff45f21e\">\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=\"Register a webhook - PayChoice\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pay-choice.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Register+a+webhook\u0026amp;theme=0e4e4358671205cef8a48cee\u0026amp;signature=70f312e4db77e0dc2ee9943e2dc435d11cc2971e10bfab23af9501eaff45f21e\">\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/pay-choice/zr1qQbmRZGa0HZIK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PayChoice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#48CFCB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-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/webhooks/register-a-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://pay-choice.mintlify.app/#organization\",\"name\":\"PayChoice\",\"url\":\"https://pay-choice.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pay-choice/9WMo5WCrZO7kmDWt/images/paychoice-logo.png?fit=max\u0026auto=format\u0026n=9WMo5WCrZO7kmDWt\u0026q=85\u0026s=ace9ca358ae78a786bd4e43d42a3300f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://pay-choice.mintlify.app#website\",\"name\":\"PayChoice\",\"url\":\"https://pay-choice.mintlify.app\",\"publisher\":{\"@id\":\"https://pay-choice.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook#webpage\",\"url\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook\",\"name\":\"Register a webhook\",\"dateModified\":\"2026-11-04T04:26:22.601Z\",\"isPartOf\":{\"@id\":\"https://pay-choice.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"PayChoice\",\"item\":\"https://pay-choice.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register a webhook\",\"item\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook#apireference\",\"headline\":\"Register a webhook\",\"name\":\"Register a webhook\",\"url\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://pay-choice.mintlify.app/api-reference/webhooks/register-a-webhook#webpage\"},\"dateModified\":\"2026-11-04T04:26:22.601Z\",\"publisher\":{\"@id\":\"https://pay-choice.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://pay-choice.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PayChoice\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PayChoice","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Charges","pages":[{"title":"Create a charge","openapi":"POST /api/v5/Charge","href":"/api-reference/charges/create-a-charge"},{"title":"Retrieve a charge","openapi":"GET /api/v5/Charge/{id}","href":"/api-reference/charges/retrieve-a-charge"},{"title":"List charges","openapi":"GET /api/v5/Charge","description":null,"href":"/api-reference/charges/list-charges"}]},{"group":"Webhooks","pages":[{"title":"Register a webhook","openapi":"POST /api/v5/merchantwebhooks","href":"/api-reference/webhooks/register-a-webhook"},{"title":"Retrieve webhooks for a merchant","sidebarTitle":"Retrieve webhooks","openapi":"GET /api/v5/merchantwebhooks/{merchantGUID}","description":null,"href":"/api-reference/webhooks/retrieve-webhooks"},{"title":"Update a webhook","openapi":"PATCH /api/v5/merchantwebhooks/{webhookId}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Re-send notifications","api":"POST /api/v4/merchantwebhooks/{merchantGUID}/notification/retry","href":"/api-reference/webhooks/re-send-notifications"}]},{"group":"Tokens","pages":[{"title":"Store a credit card","openapi":"POST /api/v5/Token","href":"/api-reference/tokens/store-a-credit-card"},{"title":"Retrieve a credit card","openapi":"GET /api/v5/Token/{cardToken}","href":"/api-reference/tokens/retrieve-a-credit-card"},{"title":"Remove a credit card","openapi":"DELETE /api/v5/Token/{cardToken}","href":"/api-reference/tokens/remove-a-credit-card"},{"title":"Store a bank account","openapi":"POST /api/v5/Bank_Token","href":"/api-reference/tokens/store-a-bank-account"},{"title":"Retrieve a bank account","openapi":"GET /api/v5/Bank_Token/{bankToken}","href":"/api-reference/tokens/retrieve-a-bank-account"},{"title":"Remove a bank account","openapi":"DELETE /api/v5/Bank_Token/{BankToken}","href":"/api-reference/tokens/remove-a-bank-account"}]},{"group":"Refunds and pre-authorisations","pages":[{"title":"Refund a charge","openapi":"POST /api/v5/Refund","href":"/api-reference/refunds-and-pre-authorisations/refund-a-charge"},{"title":"Pre-authorise a card","openapi":"POST /api/v5/Preauth","href":"/api-reference/refunds-and-pre-authorisations/pre-authorise-a-card"},{"title":"Reverse a pre-authorisation","openapi":"POST /api/v5/Reverse","href":"/api-reference/refunds-and-pre-authorisations/reverse-a-pre-authorisation"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference/errors"}]}]},"basePath":"","title":"Register a webhook - PayChoice","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}