This query returns information for a transaction initiated/authorized via the Transfers API. The reference parameter is a unique identifier for the payment on the client's end.
query { getTransaction(reference:"ref000100") { id reference amount sourceBankAccount sourceBankAccountName destinationBankAccount description createdAt status }}