5. Find the Incoming Payment Detail Reconciled Event

As previously mentioned, when you simulate an incoming payment detail connected to “Gringotts Wizarding Bank”, Modern Treasury will simulate the payment as if it really happened.

Modern Treasury records important events which occur asynchronously with our Events model. You can query these events to capture the full view of what has happened in the system. To verify that the transaction was created by the bank, we can look for the event with the name reconciled for the incoming payment detail we created. A reconciled event occurs when we connect the created transaction with the model which created it (an incoming payment detail in this case). The event has a data field which contains all the data relevant to the event. In the data object there should be a transaction_id field which is populated.

curl --request GET \
     --url 'https://app.moderntreasury.com/api/events?entity_id=7fb6c79f-5100-4929-8622-a62c247187d8&event_name=reconciled&resource=incoming_payment_detail'