Authorization
default Authorization<token>
A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
idstringrequired
Endpoint identifier.
Response Body
application/json
application/json
curl -X POST "https://api.wajub.com/webhooks/9d4e7a2c-3b1f-4c8e-a6d5-2f8b7c1e0a94/rotate-secret"{ "code": 200, "endpoint": { "id": "9d4e7a2c-3b1f-4c8e-a6d5-2f8b7c1e0a94", "secret": "whsec_newvalue" }}OK