cURL
curl --request GET \ --url https://api.astronpay.co/api/v1/webhook/config \ --header 'x-api-key: <api-key>' \ --header 'x-api-secret: <api-key>'
{ "url": "https://meuapp.com/webhooks/astronpay", "secretConfigured": true, "lastRotatedAt": "2023-11-07T05:31:56Z" }
OK
"https://meuapp.com/webhooks/astronpay"
true