The Payment Provider Backend API allows you to report transaction and refund events when implementing the Payment Provider Custom Extension. Use it together with the Payment Provider SPI.
Learn more about implementing a Payment Provider Custom Extension.