--- id: DeliveryFailed name: Delivery failed version: 0.0.1 summary: | Event that is emitted when a shipment delivery fails. owners: - dboyne schemaPath: schema.json --- import Footer from '@catalog/components/footer.astro'; ## Overview The `DeliveryFailed` event is emitted when a shipment delivery fails. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities. This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases. ## Raw Schema:schema.json { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "DeliveryFailed", "description": "Schema for delivery failed event", "properties": { "shipmentId": { "type": "string", "description": "Unique identifier for the shipment" } }, "required": ["shipmentId", "orderId"] } --- id: DeliveryFailed name: Delivery failed version: 0.0.2 summary: | Event that is emitted when a shipment delivery fails. owners: - dboyne schemaPath: schema.json --- import Footer from '@catalog/components/footer.astro'; ## Overview The `DeliveryFailed` event is emitted when a shipment delivery fails. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities. This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases. ## Raw Schema:schema.json { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "DeliveryFailed", "description": "Schema for delivery failed event", "properties": { "shipmentId": { "type": "number", "description": "Unique identifier for the shipment" } }, "required": ["shipmentId", "orderId"] } --- id: DeliveryFailed name: Delivery failed version: 1.0.0 summary: | Event that is emitted when a shipment delivery fails. owners: - dboyne schemaPath: schema.json --- import Footer from '@catalog/components/footer.astro'; ## Overview The `DeliveryFailed` event is emitted when a shipment delivery fails. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities. This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases. ## Raw Schema:schema.json { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "DeliveryFailed", "description": "Schema for delivery failed event", "properties": { "shipmentId": { "type": "number", "description": "Unique identifier for the shipment" }, "orderId": { "type": "string", "description": "Identifier for the associated order" }, "failureReason": { "type": "string", "description": "Reason for the delivery failure" } }, "required": ["shipmentId", "orderId", "failureReason"] } --- id: FraudCheckCompleted version: 0.0.1 name: Fraud Check Completed summary: Emitted when a fraud check has been completed for a transaction tags: - payment - fraud - security badges: - content: New backgroundColor: neutral textColor: neutral schemaPath: schema.proto --- import Footer from '@catalog/components/footer.astro' ## Overview The `FraudCheckCompleted` event is emitted when the fraud detection service has completed its analysis of a payment transaction. This event contains the risk assessment results and recommendations. ## Schema ## Event Details - **Risk Score**: A numerical score from 0-100 indicating fraud risk - **Decision**: APPROVED, DECLINED, or MANUAL_REVIEW - **Reasons**: Array of reasons for the decision - **Confidence**: Confidence level of the fraud detection ## Example Payload ```json { "transactionId": "txn_1234567890", "paymentId": "pay_9876543210", "riskScore": 25, "decision": "APPROVED", "reasons": ["Low risk merchant", "Customer history positive"], "confidence": 0.92, "timestamp": "2024-01-15T10:30:00Z" } ```