This command returns the full information for a payment group and it's associated gateways. It does not get the config parameters for the gateways, only the info in the conf group table like ID and display name. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetPaymentGroups command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <paymentGroupID><!-- int --></paymentGroupID> <paymentGroupName><!-- string --></paymentGroupName> <paymentGroupCurrencyID><!-- string --></paymentGroupCurrencyID> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
paymentGroupID
The ID of the payment group to fetch. This will always select at most 1 payment.
paymentGroupName
The name of the payment group to fetch. This will retrieve with a LIKE statement
paymentGroupCurrencyID
The 3 character ISO 4217 currency code that this payment groups uses
sortDir
sortColumn
recordOffset
numRecords