Seqino PDP API - Modern interface to France's e-Invoicing services
Seqino PDP API (1.0.0)
Requête
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.
- 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
Event type identifier
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" }
Requête
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'- Dev serverhttps://pdp.seqino.dev/api/webhooks/test
- Local development serverhttp://localhost:8052/webhooks/test
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://pdp.seqino.dev/api/webhooks/test \
-H 'Authorization: YOUR_API_KEY_HERE'Type of event
- Dev serverhttps://pdp.seqino.dev/api/webhook.test
- Local development serverhttp://localhost:8052/webhook.test
{ "event_id": "evt_abc123def456", "event_type": "webhook.test", "timestamp": "2019-08-24T14:15:22Z", "sponsor_id": "sandbox-1234/5678", "data": { "test_id": "test_abc123def456" } }