Skip to main content
POST
/
api
/
v1
/
treasury
/
webhook-endpoints
/
{id}
/
rotate-signing-secret
Rotate signing secret (returned once)
curl --request POST \
  --url http://localhost:3001/api/v1/treasury/webhook-endpoints/{id}/rotate-signing-secret \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "endpoint": {
      "id": "<string>",
      "url": "<string>",
      "events": [
        "<string>"
      ],
      "status": "<string>",
      "signingSecretHint": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "businessId": {},
      "partnerId": {},
      "description": {},
      "apiVersion": {}
    },
    "signingSecret": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Signing secret rotated

success
boolean
required
Example:

true

data
object
required