{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/payments:paypal-webhooks/webhooks-list":{"get":{"operationId":"payments_paypal_webhooks_webhooks_list","summary":"List webhooks","description":"GET /v1/notifications/webhooks","tags":["payments"],"parameters":[{"name":"anchor_type","in":"query","required":false,"description":"Filters the webhooks in the response by an `anchor_id` entity type.","schema":{"type":"string","enum":["APPLICATION","ACCOUNT"],"default":"APPLICATION","description":"Filters the webhooks in the response by an `anchor_id` entity type."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-post":{"post":{"operationId":"payments_paypal_webhooks_webhooks_post","summary":"Create webhook","description":"POST /v1/notifications/webhooks","tags":["payments"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-get":{"get":{"operationId":"payments_paypal_webhooks_webhooks_get","summary":"Show webhook details","description":"GET /v1/notifications/webhooks/{webhook_id}","tags":["payments"],"parameters":[{"name":"webhook_id","in":"query","required":true,"description":"The ID of the webhook for which to list subscriptions.","schema":{"type":"string","description":"The ID of the webhook for which to list subscriptions."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-update":{"post":{"operationId":"payments_paypal_webhooks_webhooks_update","summary":"Update webhook","description":"PATCH /v1/notifications/webhooks/{webhook_id}","tags":["payments"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_id"],"properties":{"webhook_id":{"type":"string","description":"The ID of the webhook for which to list subscriptions."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-delete":{"post":{"operationId":"payments_paypal_webhooks_webhooks_delete","summary":"Delete webhook","description":"DELETE /v1/notifications/webhooks/{webhook_id}","tags":["payments"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_id"],"properties":{"webhook_id":{"type":"string","description":"The ID of the webhook for which to list subscriptions."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/event-types-list":{"get":{"operationId":"payments_paypal_webhooks_event_types_list","summary":"List event subscriptions for webhook","description":"GET /v1/notifications/webhooks/{webhook_id}/event-types","tags":["payments"],"parameters":[{"name":"webhook_id","in":"query","required":true,"description":"The ID of the webhook for which to list subscriptions.","schema":{"type":"string","description":"The ID of the webhook for which to list subscriptions."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-lookup-list":{"get":{"operationId":"payments_paypal_webhooks_webhooks_lookup_list","summary":"List webhook lookups","description":"GET /v1/notifications/webhooks-lookup","tags":["payments"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-lookup-post":{"post":{"operationId":"payments_paypal_webhooks_webhooks_lookup_post","summary":"Create webhook lookup","description":"POST /v1/notifications/webhooks-lookup","tags":["payments"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-lookup-get":{"get":{"operationId":"payments_paypal_webhooks_webhooks_lookup_get","summary":"Show webhook lookup details","description":"GET /v1/notifications/webhooks-lookup/{webhook_lookup_id}","tags":["payments"],"parameters":[{"name":"webhook_lookup_id","in":"query","required":true,"description":"The ID of the webhook lookup to delete.","schema":{"type":"string","description":"The ID of the webhook lookup to delete."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-lookup-delete":{"post":{"operationId":"payments_paypal_webhooks_webhooks_lookup_delete","summary":"Delete webhook lookup","description":"DELETE /v1/notifications/webhooks-lookup/{webhook_lookup_id}","tags":["payments"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["webhook_lookup_id"],"properties":{"webhook_lookup_id":{"type":"string","description":"The ID of the webhook lookup to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/verify-webhook-signature-post":{"post":{"operationId":"payments_paypal_webhooks_verify_webhook_signature_post","summary":"Verify webhook signature","description":"POST /v1/notifications/verify-webhook-signature","tags":["payments"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-event-types-list":{"get":{"operationId":"payments_paypal_webhooks_webhooks_event_types_list","summary":"List available events","description":"GET /v1/notifications/webhooks-event-types","tags":["payments"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-events-list":{"get":{"operationId":"payments_paypal_webhooks_webhooks_events_list","summary":"List event notifications","description":"GET /v1/notifications/webhooks-events","tags":["payments"],"parameters":[{"name":"page_size","in":"query","required":false,"description":"The number of webhook event notifications to return in the response.","schema":{"type":"integer","default":10,"description":"The number of webhook event notifications to return in the response."}},{"name":"start_time","in":"query","required":false,"description":"Filters the webhook event notifications in the response to those created on or after this date and time and on or before the `end_time`…","schema":{"type":"string","description":"Filters the webhook event notifications in the response to those created on or after this date and time and on or before the `end_time`…"}},{"name":"end_time","in":"query","required":false,"description":"Filters the webhook event notifications in the response to those created on or after the `start_time` and on or before this date and time.…","schema":{"type":"string","description":"Filters the webhook event notifications in the response to those created on or after the `start_time` and on or before this date and time.…"}},{"name":"transaction_id","in":"query","required":false,"description":"Filters the response to a single transaction, by ID.","schema":{"type":"string","description":"Filters the response to a single transaction, by ID."}},{"name":"event_type","in":"query","required":false,"description":"Filters the response to a single event.","schema":{"type":"string","description":"Filters the response to a single event."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-events-get":{"get":{"operationId":"payments_paypal_webhooks_webhooks_events_get","summary":"Show event notification details","description":"GET /v1/notifications/webhooks-events/{event_id}","tags":["payments"],"parameters":[{"name":"event_id","in":"query","required":true,"description":"The ID of the webhook event notification to resend.","schema":{"type":"string","description":"The ID of the webhook event notification to resend."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/webhooks-events-resend":{"post":{"operationId":"payments_paypal_webhooks_webhooks_events_resend","summary":"Resend event notification","description":"POST /v1/notifications/webhooks-events/{event_id}/resend","tags":["payments"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["event_id"],"properties":{"event_id":{"type":"string","description":"The ID of the webhook event notification to resend."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/payments:paypal-webhooks/simulate-event-post":{"post":{"operationId":"payments_paypal_webhooks_simulate_event_post","summary":"Simulate webhook event","description":"POST /v1/notifications/simulate-event","tags":["payments"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}