daki_payment_status_update (v1.0.0)
Event triggered when Daki payment system updates the payment status of an order
Overview
The daki_payment_status_update event is published by the Daki payment system when there are changes to the payment status of an order. This event is consumed by the ORDR service to update the order’s financial status and trigger appropriate workflows.
When to Use
This event should be used when:
- Payment status changes (pending, approved, declined, etc.)
- Payment method updates
- Payment processing completion
- Payment failure notifications
Event Structure
The event contains information about:
- Bill ID and status
- Payment details (ID, method, type)
- Card information (brand, kind)
- Session data and QR codes
- Payment URLs and timestamps
Related Events
ordr.payment_status_update- Published by ORDR after processing this eventordr.processing- May be triggered as a result of payment status changes
Examples
Payment Response
{
"daki_bill_payment_response": {
"bill_id": "bill_123456789",
"bill_status": "paid",
"payment_id": 987654321,
"payment_method_id": 123456,
"payment_type": "credit_card",
"card_brand": "visa",
"card_kind": "credit",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:35:00Z",
"payment": {
"payer_document": "12345678901",
"transaction_id": "txn_123456789"
},
"payment_url": "https://payment.daki.com.br/pay/bill_123456789",
"qrcode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
}
}