The PSP Callbacks API allows you to report transaction and refund events when implementing the Payment Provider Custom Extension. Use it together with the Payment Service Provider Service Plugin.