Notion API ➔ Stripe Payload Specification
Technical reference for automating data exchange between Workspace and Payments workflows.
💡 How this integration works:
1. Notion API triggers an event when page.updated occurs.
2. Data is packaged into a standard JSON webhook payload.
3. Payload is delivered into your Stripe intake pipeline and mapped to your Payments targets.
Authentication & Event Specs
| Parameter | Source (Notion API) | Destination (Stripe) |
|---|---|---|
| Auth Mechanism | Bearer Integration Token | Bearer Secret Key |
| Trigger Event | page.updated | Ingest Pipeline |
Sample Webhook JSON Payload
{
"event": "page.updated_to_stripe",
"timestamp": 1788105200,
"source": {
"platform": "Notion API",
"auth_mode": "Bearer Integration Token",
"data": {
"page_id": "sample_page_id_val",
"database_id": "sample_database_id_val",
"last_edited_by": "sample_last_edited_by_val",
"properties": "sample_properties_val"
}
},
"destination": {
"platform": "Stripe",
"auth_mode": "Bearer Secret Key",
"target_endpoint": "https://api.stripe.com/v1/ingest",
"mapped_fields": {
"session_id": "{{source.page_id}}",
"customer_email": "{{source.database_id}}",
"amount_total": "{{source.last_edited_by}}",
"currency": "{{source.properties}}"
}
}
}
Quick Integration Setup
- Retrieve your secret API credentials from your Notion API developer dashboard using authentication method
Bearer Integration Token. - Configure the target endpoint URL to route payloads into the Stripe intake pipeline.
- Map incoming schema properties according to the JSON specification detailed above.
Expected HTTP Response Codes
| Status Code | Meaning | Troubleshooting Step |
|---|---|---|
200 OK | Success | Payload accepted and queued for routing. |
401 Unauthorized | Auth Failure | Verify headers for valid Bearer Integration Token credentials. |
422 Unprocessable | Schema Error | Check field keys alignment between source and target payload. |