cURL
curl --request POST \ --url https://api.plexospay.com/v1/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ "<string>" ], "description": "<string>" } '
{ "id": "we_abc123", "url": "<string>", "events": [ "<string>" ], "status": "ACTIVE", "description": "<string>", "secret": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
The secret field is only returned on creation — save it securely.
secret
API key starting with sk_live_ or sk_test_
sk_live_
sk_test_
Event types: payment.debited, payment.failed, refund.succeeded, etc.
Webhook created (includes secret)
"we_abc123"
ACTIVE
DISABLED
Only returned on creation