API to send notifications to Koin about an existing transaction.
patch https://api-sandbox.koin.com.br/payment/v1/notifications/{id}?field=REFERENCE_ID
The query parameter in the URL {id} has to be the reference id sent by client in each transaction.
Types of notifications: Finalized and Cancelled
Examples
{
"type": "STATUS",
"sub_type": "FINALIZED",
"notification_date": "2021-02-23T14:10:44.307062Z",
"message": "Notification about..."
}
{
"type": "STATUS",
"sub_type": "CANCELLED",
"reason": "REQUESTED_BY_CUSTOMER",
"message": "Notification about...",
"notification_date": "2021-02-23T14:10:44.307062Z"
}