post https://gateway.stage.bill.com/connect-events/v3/subscriptions//security_key
Create a new security key for your subscription.
When you create a new subscription, a one-time securityKey
is one of the generated values in the response. All event notifications sent to your notificationUrl
are signed with this key using the HMAC-SHA256 algorithm. The key is sent as the x-bill-sha-signature
header value in the notification.
You can use the security key to verify all notifications sent to you. It is good practice to keep the security key for your subscription updated in a timely manner. You can use this endpoint to generate a new security key based on your desired frequency.
See Webhooks in the Guides section for more information, sample requests, and notification payloads for BILL events.