Retrieve payment information

Retrieving payment information lets you view the current state of a payment and the types of acceptable payments for a user.

The following methods retrieve payment information:
  • getPayment() returns information about a payment for a specified payment number.
  • getPaymentTypes() returns information about the payment methods for the current user.
  • getPendingPayments() returns a list of all pending payments, including scheduled payments set up from payment plans, for a particular account.
  • getAutoPaymentOption() returns the configured automatic payment option for an account.