Seqino PDP API - Modern interface to France's e-Invoicing services
- Get webhook configuration
Seqino PDP API (1.0.0)
Request
Get information about available webhook event types and their payload structures.
This endpoint provides documentation on:
- All available event types you can subscribe to
- Example payload structure for each event type
- Description of what each event represents
Use this information when implementing your webhook endpoint to understand what data you'll receive for each event type.
Note: The example payloads shown here use Pydantic models that enforce type safety and validation (see WEBHOOK_EVENT_METADATA).
- Dev serverhttps://pdp.seqino.dev/api/webhooks/event-types
- Local development serverhttp://localhost:8052/webhooks/event-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://pdp.seqino.dev/api/webhooks/event-types \
-H 'Authorization: YOUR_API_KEY_HERE'List of available webhook event types
List of available webhook event types
Human-readable description of the event
Example payload structure for this event type
Unique event identifier
Type of event
Sponsor ID
{ "event_types": [ { … } ] }
- Dev serverhttps://pdp.seqino.dev/api/webhooks
- Local development serverhttp://localhost:8052/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://pdp.seqino.dev/api/webhooks \
-H 'Authorization: YOUR_API_KEY_HERE'{ "webhook_id": "string", "url": "string", "events": [ "string" ], "is_active": true, "created_at": "2019-08-24T14:15:22Z", "last_triggered_at": "2019-08-24T14:15:22Z" }
Request
Create a new webhook for the sponsor.
Only one webhook is allowed per sponsor. The secret is returned only on creation. Store it securely - it cannot be retrieved later.
The secret is used to generate HMAC-SHA256 signatures for webhook payloads.
You can optionally specify which events to subscribe to. If not provided, the webhook will receive all available event types.
Webhook endpoint URL (must be HTTPS in production)
- Dev serverhttps://pdp.seqino.dev/api/webhooks
- Local development serverhttp://localhost:8052/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://pdp.seqino.dev/api/webhooks \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://api.example.com/webhooks/pdp",
"events": [
"invoice.created"
]
}'{ "webhook_id": "webhook_abc123def456", "url": "https://api.example.com/webhooks/pdp", "secret": "a1b2c3d4...64char_hex_secret", "events": [ "invoice.created" ], "created_at": "2019-08-24T14:15:22Z", "message": "Webhook created successfully" }
- Dev serverhttps://pdp.seqino.dev/api/webhooks
- Local development serverhttp://localhost:8052/webhooks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://pdp.seqino.dev/api/webhooks \
-H 'Authorization: YOUR_API_KEY_HERE'