Add Webhook Subscription
Changed onEndpoint to add a new WebhookSubscription.
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopeswebhook_subscription_write
- TypeScripthttps://skmtc.dev/soldo/apis/soldo-business-api-v2-0/docs/business/v2/webhooks/subscriptions/post.tsA function with typed inputs. Its response is checked against the schema.
Headers
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Request body
Example request
{
"webhook_url": "https://your_domain.com/xx/xx",
"enabled_events": [
"card_activated"
],
"description": "Google Ads Campaign"
}Response
The returned resource is a single WebhookSubscription.
Example response
{
"webhook_url": "https://your_domain.com/xx/xx",
"description": "Report updates",
"active": true,
"creation_date": "2017-06-01T12:48:40Z",
"last_update": "2017-06-01T12:48:40Z"
}Changes
- warning
added the new
user_deletedenum value to the/response property for the response status - info
added the new
user_deletedenum value to the request property/
- warning
- warning
added the new
inter_account_transferenum value to the/response property for the response status - warning
added the new
inter_account_transfer_recurring_billingenum value to the/response property for the response status - info
added the new
inter_account_transferenum value to the request property/ - info
added the new
inter_account_transfer_recurring_billingenum value to the request property/
- warning