Discussions

Ask a Question
Back to All

Cannot Create Webhook | Error: secret_key_required

Just want to ask why I can't create a webhook.

It's keeps on giving me this error response:

{
"errors": [
{
"code": "secret_key_required",
"detail": "Please use your secret key to access this resource. Go to https://developers.paymongo.com/docs/authentication to know more about our API authentication."
}
]
}

NOTE: I have already successfully create "Sources" and "Payments" using my API keys and Auths are valid.

But when using the same when creating a webhook, the error above persists.