API 1
cURL
curl --request GET \ --url https://external.pleo.io/v1/subscriptions/{id}/secret \ --header 'Authorization: Bearer <token>'
{ "data": { "secretKey": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD" } }
Fetches webhook subscription secret ID by the specific subscription identification code; this is done to verify the webhook event that the customer has subscribed for.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the subscription
The subscription secret details are returned.
Show child attributes
Was this page helpful?