|
Parameters |
|
Description |
Passed |
Returned |
Method returns the list of available payment methods for specified account. |
2 |
10 |
Syntax
ListResult BM::PayToolListForAccountGet_API(
Int AccountID;
Int SortNo.
)
returns
Int PayToolID - ID of the customer payment method;
Int PayToolType - type of payment method ("0" - credit card, "1" - bank account, "2" - external redirect, "3" - Check/Cash);
Str(40) PaySystem - payment system name (Visa, Mastercard and the like);
Str(40) CutNumber - credit card number. For security reasons, it is masked and only the last four digits are shown;
Str(40) ExpDate - credit card expiration date (MM/YY);
Str(40) CardHolderName - card holder name;
Str(40) AccHolderName - bank account holder name;
Str(40) BankNumber - bank code;
Str(40) AccountNumber - bank account number. For security reasons, it is masked and only the last four digits are shown;
Int UseForAutoPayments signifies whether payment method is used for automatic payments (1 - default payment method; 2 - NOT default payment method).
Special Notes