curl --location --request PUT 'https://stg-gateway.invora.app/api/billing/v2/webhook-endpoints/' \
--header 'Content-Type: application/json' \
--data '{
"eventTypes": [
"EVENT_TYPE_UNSPECIFIED"
],
"id": "string",
"name": "string",
"signatureAlgo": "WEBHOOK_ENDPOINT_SIGNATURE_ALGO_UNSPECIFIED",
"webhookUrl": "string",
"updateMask": "string"
}'{
"webhookEndpoint": {
"createdAt": "2019-08-24T14:15:22.123Z",
"id": "string",
"name": "string",
"organization": {
"accessibleByCurrentSession": true,
"billingConfiguration": {
"documentLocale": "string",
"id": "string",
"invoiceFooter": "string",
"invoiceGracePeriod": 0
},
"canCreateBillingEntity": true,
"defaultCurrency": "CURRENCY_ENUM_UNSPECIFIED",
"id": "string",
"logoUrl": "string",
"name": "string",
"timezone": "TIMEZONE_UNSPECIFIED"
},
"updatedAt": "2019-08-24T14:15:22.123Z",
"webhookUrl": "string"
}
}