Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.
Use this endpoint to register a webhook URL that VelaFi will call when a specific event type occurs. Each registration is scoped to one event type, so create separate webhooks for each event you want to receive. A request is rejected while an active webhook already exists for that event type. Webhooks belong to your account, so one webhook receives its event for every merchant under the account. The response includes a publicKey you must store — it is used to verify the RSA-SHA256 signature on all subsequent webhook deliveries for this endpoint.
All requests must include the X-BH-TOKEN header and Content-Type: application/json. Store the publicKey from the response securely. It is also returned by List Webhooks.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"VelaFi","colors":{"primary":"#169f3f","light":"#040404","dark":"#88fa9b"},"logo":{"light":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f","dark":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/dark.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=9770c7da4d30cb382b253680e64870ed"},"favicon":{"light":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=cf3c616ff2233c52dc591e9975563199","dark":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon-dark.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=1371f9989873a608a201b7fbcfddb0c0"},"api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript","java"]},"mdx":{"auth":{"method":"key","name":"X-BH-TOKEN"},"server":"https://api-test.velafi.com"}},"navbar":{"primary":{"type":"button","label":"Sign Up","href":"https://www.velafi.com/signup"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"cn","href":"cn"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vela-fi","hasAudioNarration":false,"actualSubdomain":"vela-fi","customDomains":["docs.velafi.com"],"gitSource":{"type":"github","owner":"velafi-tech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6aeab1a18dbebd24c08c0aa1","collectionId":"fadc3c54-2265-4b31-ac50-4c4ebdd534a1","liveDeploymentHistoryId":"6aeab1a18dbebd24c08c0aa1","schemaVersion":"v3"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeab1a18dbebd24c08c0aa1","clientVersion":"0.0.4064","searchFilterCounts":[{"language":"en","tag":"API Reference","count":70},{"language":"cn","tag":"API 参考","count":70},{"language":"es","tag":"Referencia de API","count":70},{"language":"en","tag":"Documentation","count":20},{"language":"cn","tag":"文档","count":20},{"language":"es","tag":"Documentación","count":20},{"language":"en","tag":"Merchants","count":19},{"language":"cn","tag":"商户","count":19},{"language":"es","tag":"Comercios","count":19},{"language":"en","tag":"Configuration","count":11},{"language":"en","tag":"Webhooks","count":11},{"language":"cn","tag":"配置","count":11},{"language":"cn","tag":"Webhooks","count":11},{"language":"es","tag":"Configuración","count":11},{"language":"es","tag":"Webhooks","count":11},{"language":"en","tag":"Beneficiaries","count":9},{"language":"en","tag":"Guides","count":9},{"language":"cn","tag":"收款人","count":9},{"language":"cn","tag":"指南","count":9},{"language":"es","tag":"Beneficiarios","count":9},{"language":"es","tag":"Guías","count":9},{"language":"en","tag":"Crypto Wallet","count":7},{"language":"en","tag":"Orders","count":7},{"language":"cn","tag":"加密钱包","count":7},{"language":"cn","tag":"订单","count":7},{"language":"es","tag":"Billetera cripto","count":7},{"language":"es","tag":"Órdenes","count":7},{"language":"en","tag":"Core Concepts","count":6},{"language":"cn","tag":"核心概念","count":6},{"language":"es","tag":"Conceptos clave","count":6}]},"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":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhooks/create-webhook-endpoints","slug":"/api-reference/webhooks/create-webhook-endpoints","pageMetadata":{"title":"Create a Webhook","sidebarTitle":"Create Webhook","description":"Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.","api":"POST /v2/webhook","href":"/api-reference/webhooks/create-webhook-endpoints"},"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 a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Warning}=_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(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this endpoint to register a webhook URL that VelaFi will call when a specific event type occurs. Each registration is scoped to one event type, so create separate webhooks for each event you want to receive. A request is rejected while an active webhook already exists for that event type. Webhooks belong to your account, so one webhook receives its event for every merchant under the account. The response includes a `,_jsx(_components.code,{children:`publicKey`}),` you must store — it is used to verify the RSA-SHA256 signature on all subsequent webhook deliveries for this endpoint.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`All requests must include the `,_jsx(_components.code,{children:`X-BH-TOKEN`}),` header and `,_jsx(_components.code,{children:`Content-Type: application/json`}),`. Store the `,_jsx(_components.code,{children:`publicKey`}),` from the response securely. It is also returned by `,_jsx(_components.a,{href:`/api-reference/webhooks/get-webhook-endpoints`,children:`List Webhooks`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`POST https://api.velafi.com/v2/webhook`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsxs(ParamField,{body:`eventType`,type:`string`,required:true,id:`param-event-type`,children:[_jsx(_components.p,{children:`The event type this webhook should receive. Accepted values:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ORDER_WEBHOOK`}),` — fiat/crypto order status changes`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GLOBAL_PAYMENT_WEBHOOK`}),` — fiat/fiat global payment status changes`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FUNDING_WEBHOOK`}),` — Pending Fund account activity`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ON_RAMP_WITHDRAW_WEBHOOK`}),` — the crypto withdrawal to the destination wallet of a completed API on-ramp order succeeded`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`STABLE_COIN_PAYMENT_WEBHOOK`}),` — a stablecoin payment order was confirmed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CRYPTO_WITHDRAW_WEBHOOK`}),` — a crypto withdrawal from a merchant wallet succeeded, failed, or was cancelled`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`url`,type:`string`,required:true,id:`param-url`,children:_jsxs(_components.p,{children:[`The publicly accessible URL to which VelaFi will POST event notifications. It must start with `,_jsx(_components.code,{children:`http`}),`. Use an `,_jsx(_components.code,{children:`https://`}),` URL.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`code`,type:`number`,id:`param-code`,children:_jsxs(_components.p,{children:[`HTTP-style response code. `,_jsx(_components.code,{children:`200`}),` indicates success.`]})}),`\n`,_jsx(ResponseField,{name:`msg`,type:`string`,id:`param-msg`,children:_jsxs(_components.p,{children:[`Human-readable status message, e.g. `,_jsx(_components.code,{children:`SUCCESS`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`data fields`,children:[_jsx(ResponseField,{name:`webhookId`,type:`string`,id:`param-webhook-id`,children:_jsx(_components.p,{children:`Unique identifier for this webhook registration.`})}),_jsx(ResponseField,{name:`eventType`,type:`string`,id:`param-event-type-1`,children:_jsx(_components.p,{children:`The event type this webhook is registered for.`})}),_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url-1`,children:_jsx(_components.p,{children:`The callback URL registered.`})}),_jsx(ResponseField,{name:`status`,type:`number`,id:`param-status`,children:_jsxs(_components.p,{children:[`Webhook status: `,_jsx(_components.code,{children:`10`}),` = active, `,_jsx(_components.code,{children:`20`}),` = disabled, `,_jsx(_components.code,{children:`30`}),` = deleted.`]})}),_jsx(ResponseField,{name:`publicKey`,type:`string`,id:`param-public-key`,children:_jsxs(_components.p,{children:[`Base64-encoded RSA public key used to verify the `,_jsx(_components.code,{children:`signature`}),` header on incoming webhook requests. It is also returned by `,_jsx(_components.a,{href:`/api-reference/webhooks/get-webhook-endpoints`,children:`List Webhooks`}),`.`]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,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:`7`,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://api.velafi.com/v2/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-BH-TOKEN: YOUR_TOKEN\"`}),_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:` \"eventType\": \"ORDER_WEBHOOK\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://your-app.com/webhooks/velafi\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`Response`,numberOfLines:`11`,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:`11`,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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_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:` \"msg\"`}),_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:` \"webhookId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ebab8a9663704e7cbbebe672c7c67912\"`}),_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:` \"eventType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ORDER_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-app.com/webhooks/velafi\"`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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:` \"publicKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp/6GRTIrl+kQb9u27cGz...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If you lose the `,_jsx(_components.code,{children:`publicKey`}),`, retrieve it with `,_jsx(_components.a,{href:`/api-reference/webhooks/get-webhook-endpoints`,children:`List Webhooks`}),`. See `,_jsx(_components.a,{href:`/api-reference/webhooks/webhook-setup`,children:`Webhook Setup`}),` for how to use the public key to verify incoming requests.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Webhook","sidebarTitle":"Create Webhook","description":"Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.","api":"POST /v2/webhook","href":"/api-reference/webhooks/create-webhook-endpoints"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create a Webhook","path":"/v2/webhook","servers":[{"url":"https://api-test.velafi.com"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-BH-TOKEN":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"eventType":[{"type":"string","description":"The event type this webhook should receive. Accepted values: `ORDER_WEBHOOK` — fiat/crypto order status changes `GLOBAL_PAYMENT_WEBHOOK` — fiat/fiat global payment status changes `FUNDING_WEBHOOK` — Pending Fund account activity `ON_RAMP_WITHDRAW_WEBHOOK` — the crypto withdrawal to the destination wallet of a completed API on-ramp order succeeded `STABLE_COIN_PAYMENT_WEBHOOK` — a stablecoin payment order was confirmed `CRYPTO_WITHDRAW_WEBHOOK` — a crypto withdrawal from a merchant wallet succeeded, failed, or was cancelled","required":true}],"url":[{"type":"string","description":"The publicly accessible URL to which VelaFi will POST event notifications. It must start with `http` . Use an `https://` URL.","required":true}]}}],"examples":{"example":{"value":{"eventType":"\u003cstring>","url":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"number","description":"HTTP-style response code. `200` indicates success."}],"msg":[{"type":"string","description":"Human-readable status message, e.g. `SUCCESS` ."}],"data":[{"type":"object","properties":{"webhookId":[{"type":"string","description":"Unique identifier for this webhook registration."}],"eventType":[{"type":"string","description":"The event type this webhook is registered for."}],"url":[{"type":"string","description":"The callback URL registered."}],"status":[{"type":"number","description":"Webhook status: `10` = active, `20` = disabled, `30` = deleted."}],"publicKey":[{"type":"string","description":"Base64-encoded RSA public key used to verify the `signature` header on incoming webhook requests. It is also returned by List Webhooks ."}]}}]}}],"examples":{"example":{"value":{"code":123,"msg":"\u003cstring>","data":{"webhookId":"\u003cstring>","eventType":"\u003cstring>","url":"\u003cstring>","status":123,"publicKey":"\u003cstring>"}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"vela-fi","siteName":"VelaFi","title":"Create a Webhook - VelaFi","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/webhooks/create-webhook-endpoints","matchLevel":0},"cn":{"href":"/cn/api-reference/webhooks/create-webhook-endpoints","matchLevel":1},"es":{"href":"/es/api-reference/webhooks/create-webhook-endpoints","matchLevel":1}}},"lastModified":"2026-11-04T03:05:11.469Z","originalFileLocation":"api-reference/webhooks/create-webhook-endpoints.mdx","locale":"en"},"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 a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Webhook - VelaFi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VelaFi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vela-fi.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+a+Webhook\u0026amp;description=Register+a+callback+URL+to+receive+real-time+event+notifications+for+orders%2C+funding+activity%2C+global+payments%2C+stablecoin+payments%2C+or+crypto+withdrawals.\u0026amp;theme=d88b59e71e5970c6ea7086ed\u0026amp;signature=bc1cac716ac0d9b0a163598e4705d1f4c0ee9b81a9866678b527ed900993082f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a Webhook - VelaFi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vela-fi.mintlify.app/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Create+a+Webhook\u0026amp;description=Register+a+callback+URL+to+receive+real-time+event+notifications+for+orders%2C+funding+activity%2C+global+payments%2C+stablecoin+payments%2C+or+crypto+withdrawals.\u0026amp;theme=d88b59e71e5970c6ea7086ed\u0026amp;signature=bc1cac716ac0d9b0a163598e4705d1f4c0ee9b81a9866678b527ed900993082f\">\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/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#169f3f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\">\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/create-webhook-endpoints.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.velafi.com/cn/api-reference/webhooks/create-webhook-endpoints\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.velafi.com/es/api-reference/webhooks/create-webhook-endpoints\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.velafi.com/#organization\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.velafi.com#website\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints#webpage\",\"url\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\",\"name\":\"Create a Webhook\",\"description\":\"Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.\",\"dateModified\":\"2026-11-04T03:05:11.469Z\",\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.velafi.com/api-reference/webhooks/webhook-setup\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Webhook\",\"item\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints#apireference\",\"headline\":\"Create a Webhook\",\"name\":\"Create a Webhook\",\"description\":\"Register a callback URL to receive real-time event notifications for orders, funding activity, global payments, stablecoin payments, or crypto withdrawals.\",\"url\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints\",\"mainEntityOfPage\":{\"@id\":\"https://docs.velafi.com/api-reference/webhooks/create-webhook-endpoints#webpage\"},\"dateModified\":\"2026-11-04T03:05:11.469Z\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VelaFi\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VelaFi","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Generate a Token","sidebarTitle":"Generate Token","api":"GET /v2/token/generate","playground":"none","href":"/api-reference/generate-token"}]},{"group":"Account","pages":[{"title":"Get Account Details","sidebarTitle":"Get Account Details","api":"GET /v2/user/account","href":"/api-reference/account/get-account-details"}]},{"group":"Configuration","pages":[{"title":"Base URLs","sidebarTitle":"API Endpoint","href":"/api-reference/basic-configuration/api-endpoint"},{"title":"List Countries","sidebarTitle":"List Countries","api":"GET /v2/base/countrys","href":"/api-reference/basic-configuration/get-list-of-countries"},{"title":"List Fiat Currencies","sidebarTitle":"List Fiat Currencies","api":"GET /v2/base/fiats","href":"/api-reference/basic-configuration/get-list-of-fiat-currencies"},{"title":"List Cryptocurrencies","sidebarTitle":"List Crypto Currencies","api":"GET /v2/base/cryptos","href":"/api-reference/basic-configuration/get-list-of-crypto-currencies"},{"title":"List Fiat→Crypto Pairs","sidebarTitle":"Fiat/Crypto Pairs","api":"GET /v2/base/buy/symbols","href":"/api-reference/basic-configuration/get-fiat-crypto-pairs"},{"title":"List Crypto→Fiat Pairs","sidebarTitle":"Crypto/Fiat Pairs","api":"GET /v2/base/sell/symbols","href":"/api-reference/basic-configuration/get-crypto-fiat-pairs"},{"title":"List Fiat→Fiat Pairs","sidebarTitle":"Fiat/Fiat Pairs","api":"GET /v2/base/fiat/symbols","href":"/api-reference/basic-configuration/get-fiat-fiat-pairs"},{"title":"List Fiat→Crypto Payment Methods","sidebarTitle":"Fiat→Crypto Methods","api":"GET /v2/base/buy/payments","href":"/api-reference/basic-configuration/get-fiat-crypto-payment-methods"},{"title":"List Crypto→Fiat Payment Methods","sidebarTitle":"Crypto→Fiat Methods","api":"GET /v2/base/sell/payments","href":"/api-reference/basic-configuration/get-crypto-fiat-payment-methods"},{"title":"List Fiat→Fiat Payment Methods","sidebarTitle":"Fiat/Fiat Methods","api":"GET /v2/base/fiat/payments","href":"/api-reference/basic-configuration/get-fiat-fiat-payment-methods"},{"title":"Upload a File","sidebarTitle":"Upload File","api":"POST /v2/base/file/upload","href":"/api-reference/basic-configuration/upload-file"}]},{"group":"Merchants","pages":[{"title":"Create a Merchant","sidebarTitle":"Create Merchant","api":"POST /v2/merchants","href":"/api-reference/merchant/create-merchant"},{"title":"List Merchants","sidebarTitle":"List Merchants","api":"GET /v2/merchants","href":"/api-reference/merchant/get-a-list-of-merchants"},{"title":"Activate an Individual Merchant Account","sidebarTitle":"Activate Individual","api":"POST /v2/merchant/accounts","href":"/api-reference/merchant/activate-merchant-account-for-individual"},{"title":"Activate a Business Merchant Account","sidebarTitle":"Activate Business","api":"POST /v2/merchant/accounts","href":"/api-reference/merchant/activate-merchant-account-for-business"},{"title":"Create Virtual Accounts","sidebarTitle":"Create Virtual Accounts","api":"POST /v2/merchant/virtual/accounts","href":"/api-reference/merchant/create-multiple-virtual-account"},{"title":"List Merchant Accounts","sidebarTitle":"Merchant Accounts","api":"GET /v2/merchant/accounts","href":"/api-reference/merchant/get-a-list-of-merchant-accounts"},{"title":"Request a Limit Upgrade","sidebarTitle":"Upgrade Limit","api":"POST /v2/upgrade/limits","href":"/api-reference/merchant/upgrade-merchant-limit"},{"title":"Get Pending Fund Account","sidebarTitle":"Pending Fund Account","api":"GET /v2/merchant/addfunds","href":"/api-reference/merchant/get-pending-fund-account"},{"title":"List Virtual Accounts","sidebarTitle":"List Virtual Accounts","api":"GET /v2/merchant/virtual/addfunds","href":"/api-reference/merchant/get-multiple-virtual-account"},{"title":"Claim Pending Funds","sidebarTitle":"Claim Pending Fund","api":"POST /v2/merchant/claimfunds","href":"/api-reference/merchant/claim-pending-fund"},{"title":"Get Transfer Fee","sidebarTitle":"Transfer Fee","api":"GET /v2/merchant/transfer_fee","href":"/api-reference/merchant/get-transfer-pending-funds-fee"},{"title":"Transfer Pending Funds","sidebarTitle":"Transfer Funds","api":"POST /v2/merchant/transfer","href":"/api-reference/merchant/transfer-pending-funds"},{"title":"List Funding Records","sidebarTitle":"Funding Records","api":"GET /v2/merchant/funding/records","href":"/api-reference/merchant/retrieve-funding-records"},{"title":"List Fiat Flows","sidebarTitle":"Fiat Flow","api":"GET /v2/merchant/fiat/flows","href":"/api-reference/merchant/get-a-list-merchant-fiat-flow"},{"title":"Get Crypto Balance","sidebarTitle":"Crypto Balance","api":"GET /v2/assets/account/assets","href":"/api-reference/merchant/get-crypto-assets-balance"},{"title":"Get Crypto Deposit Address","sidebarTitle":"Deposit Address","api":"GET /v2/assets/depositAddress","href":"/api-reference/merchant/get-crypto-deposit-address"},{"title":"Create a Crypto Transfer","sidebarTitle":"Crypto Transfer","api":"POST /v2/assets/internalTransfer","href":"/api-reference/merchant/crypto-transfer"},{"title":"List Crypto Transfers","sidebarTitle":"Crypto Transfer History","api":"GET /v2/assets/internalTransferOrders","href":"/api-reference/merchant/query-crypto-transfers"},{"title":"Get Woovi Liveness URL","sidebarTitle":"Woovi Liveness","api":"POST /v2/merchant/woovi/liveness","href":"/api-reference/merchant/get-woovi-liveness-url"}]},{"group":"Crypto Wallet","pages":[{"api":"GET /v2/assets/withdrawQuota","title":"Get Withdrawal Quota","sidebarTitle":"Withdrawal Quota","href":"/api-reference/crypto-wallet/get-withdrawal-quota"},{"api":"POST /v2/assets/withdraw","title":"Create a Crypto Withdrawal","sidebarTitle":"Create Crypto Withdrawal","href":"/api-reference/crypto-wallet/create-crypto-withdrawal"},{"api":"GET /v2/assets/depositOrders","title":"List Crypto Deposits","sidebarTitle":"Crypto Deposit History","href":"/api-reference/crypto-wallet/get-crypto-deposit-history"},{"api":"GET /v2/assets/withdrawalOrders","title":"List Crypto Withdrawals","sidebarTitle":"Crypto Withdrawal History","href":"/api-reference/crypto-wallet/get-crypto-withdrawal-history"},{"api":"POST /v2/user/whitelistAddress","title":"Add a Whitelist Address","sidebarTitle":"Add Whitelist Address","href":"/api-reference/crypto-wallet/add-whitelist-address"},{"api":"GET /v2/user/whitelistAddress","title":"List Whitelist Addresses","sidebarTitle":"List Whitelist Addresses","href":"/api-reference/crypto-wallet/get-whitelist-addresses"},{"api":"DELETE /v2/user/whitelistAddress/{addressId}","title":"Delete a Whitelist Address","sidebarTitle":"Delete Whitelist Address","href":"/api-reference/crypto-wallet/delete-whitelist-address"}]},{"group":"Beneficiaries","pages":[{"api":"GET /v2/payments/support/templates","title":"List Supported Payment Methods","sidebarTitle":"Supported Payment Methods","href":"/api-reference/beneficiary/get-supported-payment-methods"},{"title":"Get Payment Templates","sidebarTitle":"Payment Templates","api":"GET /v2/payments/templates","href":"/api-reference/beneficiary/get-payment-templates"},{"title":"Get Template Metadata","sidebarTitle":"Template Metadata","api":"GET /v2/payments/templates/metamessage","href":"/api-reference/beneficiary/get-payment-templates-metamessage"},{"title":"Add a Beneficiary","sidebarTitle":"Add Beneficiary","api":"POST /v2/payments","href":"/api-reference/beneficiary/add-beneficiary"},{"title":"List Beneficiaries","sidebarTitle":"Get Beneficiaries","api":"GET /v2/payments","href":"/api-reference/beneficiary/get-beneficiary"},{"title":"Delete a Beneficiary","sidebarTitle":"Delete Beneficiary","href":"/api-reference/beneficiary/delete-beneficiary"},{"title":"Set the Refund Account","sidebarTitle":"Set Refund Account","api":"POST /v2/payments/refund_account","href":"/api-reference/beneficiary/set-refund-account"},{"api":"GET /v2/merchant/check/alias","title":"Check an Alias (ARS)","sidebarTitle":"Check Alias (ARS)","href":"/api-reference/beneficiary/check-alias"},{"api":"GET /v2/merchant/check/cvu","title":"Check a CVU/CBU (ARS)","sidebarTitle":"Check CVU (ARS)","href":"/api-reference/beneficiary/check-cvu"}]},{"group":"Quotes","pages":[{"title":"Get a Crypto/Fiat Quote","sidebarTitle":"Crypto/Fiat Quote","api":"GET /v2/user/crypto-quote","href":"/api-reference/quote/get-user-quote-for-crypto-fiat"},{"title":"Get a Fiat/Fiat Quote","sidebarTitle":"Fiat/Fiat Quote","api":"GET /v2/user/fiat-quote","href":"/api-reference/quote/get-user-quote-for-fiat-fiat"}]},{"group":"Orders","pages":[{"title":"Create an On-Ramp Order","sidebarTitle":"Fiat→Crypto Order","api":"POST /v2/order/fiat_to_crypto","href":"/api-reference/order/create-a-fiat-to-crypto-order"},{"title":"Create an Off-Ramp Order","sidebarTitle":"Crypto→Fiat Order","api":"POST /v2/order/crypto_to_fiat","href":"/api-reference/order/create-a-crypto-to-fiat-order"},{"title":"Create a Global Payment Order","sidebarTitle":"Fiat→Fiat Order","api":"POST /v2/order/fiat_to_fiat","href":"/api-reference/order/create-a-fiat-to-fiat-order"},{"title":"Confirm an Order","sidebarTitle":"Confirm Order","api":"POST /v2/order/confirm","href":"/api-reference/order/confirm-a-specific-order"},{"title":"Get an Order","sidebarTitle":"Get Order","api":"GET /v2/order/detail","href":"/api-reference/order/retrieve-a-specific-order"},{"title":"List Orders","sidebarTitle":"List Orders","api":"GET /v2/orders","href":"/api-reference/order/retrieve-a-list-of-orders"},{"title":"Upload Order Documents","sidebarTitle":"Upload Documents","api":"POST /v2/order/invoice","href":"/api-reference/order/upload-invoice-documents-for-a-specific-order"}]},{"group":"Webhooks","pages":[{"title":"Webhook Setup","sidebarTitle":"Webhook Setup","description":"Configure your server to receive VelaFi webhook events and validate RSA-SHA256 payload signatures with sample code in Java, Python, and JavaScript.","href":"/api-reference/webhooks/webhook-setup"},{"title":"Create a Webhook","sidebarTitle":"Create Webhook","api":"POST /v2/webhook","href":"/api-reference/webhooks/create-webhook-endpoints"},{"title":"List Webhooks","sidebarTitle":"Get Webhooks","description":"Retrieve all webhook endpoints registered on your account, optionally filtered by status to find active, disabled, or deleted hooks.","api":"GET /v2/webhooks","href":"/api-reference/webhooks/get-webhook-endpoints"},{"title":"Update a Webhook","sidebarTitle":"Update Webhook","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a Webhook","sidebarTitle":"Delete Webhook","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Order Event","sidebarTitle":"Order Event","href":"/api-reference/webhooks/fiat-crypto-order-message-push"},{"title":"Global Payment Event","sidebarTitle":"Global Payment Event","href":"/api-reference/webhooks/fiat-fiat-order-message-push"},{"title":"Funding Event","sidebarTitle":"Funding Event","href":"/api-reference/webhooks/funding-records-message-push"},{"title":"Stablecoin Payment Event","sidebarTitle":"Stablecoin Payment Event","href":"/api-reference/webhooks/stablecoin-payment-order-message-push"},{"title":"On-Ramp Withdrawal Event","sidebarTitle":"On-Ramp Withdrawal Event","href":"/api-reference/webhooks/on-ramp-withdraw-message-push"},{"title":"Crypto Withdrawal Event","sidebarTitle":"Crypto Withdrawal Event","href":"/api-reference/webhooks/crypto-withdraw-message-push"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/api-reference/webhooks/create-webhook-endpoints"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/webhooks/create-webhook-endpoints"}]}]},"basePath":"","title":"Create a Webhook - VelaFi","buildId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","deploymentId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-hfTk6MZX.js","utils-Bfp7HcY4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D8dSW7yV.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CFgQXcZO.js","snippetPresets-dMW1-pV3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-BsZAA8xk.js","ApiExamples-DyrCOido.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bwwdcyh3.js","shallow-drVXTg79.js","getApiPlaygroundDisplay-GMPxUzWV.js","CodeSnippet-wTmV0wP6.js","CodeSnippets-D_QxCJEq.js","getPastedJson-Dev-X0Xy.js","icon-7L2WL0jD.js","MethodPill-Ble59Dl_.js","DuplicateIcon-r-98uLGh.js","createIcon-DaFzipjW.js","DynamicMarkdown-Jk8YAWGN.js","SectionHeading-nLgrCDOg.js","axios-vUo_bRtp.js"]}