PaymentAPI::ListAllPaymentOptions (open)
List paymnet options
Syntax
LOADLIB "mod::wrd/lib/payments.whlib";
RECORD ARRAY FUNCTION ListAllPaymentOptions(RECORD options)Parameters
RECORD optionsOptions
BOOLEAN externalonlyIf TRUE, return only payment providers of type 'wrd:external'
RECORD extrafieldsExtra fields to return
STRING typesRequested types. Default 'payment', alternatively 'mandate'
STRING withhistoricif TRUE, also return deleted payment providers
Return value
RECORD ARRAYList of payment options
RECORD extraExtra selected fields
STRING htmlagreetermsIf set, HTML of an agreement option that must be offered to use this payment method (terms and conditions)
BOOLEAN isliveWhether this option connects to a live platform
RECORD ARRAY issuersList of issuers
STRING issuers.rowkeykey to use for 'issuer' when prepareing the payment
STRING issuers.titletitle for this issuer (eg ABN Amro bank)
STRING paymentmethodtagTag of the payment method option
STRING paymentoptiontagkey to use when selecting this payment method
INTEGER paymentproviderId of the payment provider
STRING paymentproviderguidGUID of the payment provider
STRING requirementsList of specific requirements when calling this method (wrd_gender, wrd_dateofbirth)
STRING titlepayment method title (eg iDEAL)