post
https://api.bnesim.com/v2.0/enterprise/affiliate/webhook-secret
Creates - or rotates - the secret used to sign your top-up completion callbacks (see notification_url on Top-up eSIM).
Request
- Method: POST
- URL:
https://api.bnesim.com/v2.0/enterprise/affiliate/webhook-secret - Authentication: Bearer token required
- No body
Response Fields
webhook_secret: the new secret (whsec_...)
Example cURL
curl --request POST \
--url https://api.bnesim.com/v2.0/enterprise/affiliate/webhook-secret \
--header "accept: application/json" \
--header "authorization: Bearer {{bearerToken}}"
Important Notes
- The secret is shown only once. Store it securely; it cannot be read again.
- Calling this again replaces the secret immediately - callbacks are signed with the new one from then on.
- Required before you pass
notification_url(otherwiseerror_code: WEBHOOK_SECRET_MISSING).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…