The Payment history component renders the list of payment attempts for a specific invoice. Use it when you want to show a customer what payment attempts have been made against an invoice.

Payment history is driven by a portalObject your backend generates for a specific customer, combined with an invoiceId you pass in configuration. The SDK fetches and displays all payment attempts for that invoice. Your frontend never handles API keys directly.
This component does not fire any events.