How can I find payment reference fields using API?

Hi

The payment portal i’m using is returned the wrong id as Payment Reference.

The payment reference is shown in the Timeline for the order as Authorization key and x gateway reference.

Does anyone know how to find these fields by using API