Create a webhook subscription
Changed onCreates a webhook subscription, registering a URL that the Investment API calls when the events you select occur.
The URL must use HTTPS, resolve to a DNS name rather than an IP address, serve TLS 1.2 or higher, and must not respond with a redirect. Set type to ALL to receive every event, optionally narrowing it with exclude_type, or list only the subscription types you want. Events are batched by size or by delay according to config.
See the implementing webhooks guide (TOL / BYOL / Omnibus) for handler requirements, subscription types, and batching.
Request
- Base URL: https://sandbox.upvest.co
- URL: https://sandbox.upvest.co/webhooks
- Auth: OAuth 2 (client credentials, token URL https://sandbox.upvest.co/auth/token, scopes: webhooks:admin)
Request body
Response
Returns a webhook subscription object if a valid webhook subscription object ID was provided.
Changes
- warning
added the new
CASH_BALANCE_TRANSFERenum value to the/response property for the response status - warning
added the new
CASH_BALANCE_TRANSFERenum value to the/response property for the response status - info
added the new
CASH_BALANCE_TRANSFERenum value to the request property/ - info
added the new
CASH_BALANCE_TRANSFERenum value to the request property/
- warning