get_acct_payment_methods_and_terms_m Guide
- Last updated
-
-
Save as PDF
-
The get_acct_payment_methods_and_terms_m API returns a list of payment methods and payment terms present on the account. It can be filtered to include only payment methods or payment terms by using the "payments_returned" input.
Additional Guidance
Input Fields
| Field Name |
Notes |
| <filter_status> |
Allowable Values
| Values |
Description |
| 0 |
The filter status "0" will fetch only the disabled payment methods associated with the account no. |
| 1 |
The filter status "1" will fetch only the active payment methods associated with the account no. |
| 2 |
The filter status "2" will fetch all the payment methods associated with the account no. |
| null |
If NULL, defaults filter status as "2". |
|
| <payments_returned> |
Allowable Values
| Values |
Description |
| 1 |
The payments returned "1" will fetch only the payment terms associated with the account no. |
| 2 |
The payments returned "2" will fetch only the payment methods associated with the account no. |
| 3 |
The payments returned "3" will fetch all the payment methods and payment terms associated with the account no. |
| null |
If NULL, defaults payments returned as "3". |
|
Output Fields
| Field Name |
Notes |
| <pay_method_type> |
Allowable Values
| Values |
Description |
| 1 |
Credit card |
| 2 |
Electronic Check (ACH) |
| 4 |
Net terms 30 |
| 5 |
Net terms 10 |
| 6 |
Net terms 15 |
| 7 |
Net terms 60 |
| 9 |
Net Terms 0 |
| 11 |
PayPal Express Checkout |
| 12 |
Net Terms 45 |
| 13 |
Tokenized Credit Card |
| 14 |
Purchase Power |
| 20 |
NETS |
| 26 |
Direct Debit |
|
| <cc_id> |
Allowable Values
| Values |
Description |
| 1 |
Visa |
| 2 |
MasterCard |
| 3 |
American Express |
| 4 |
Discover |
| 5 |
Diners Club/Carte Blanche |
| 6 |
Maestro |
| 7 |
JCB |
| 8 |
Laser |
| 9 |
Dankoort |
|
| <status> |
Allowable Values
| Values |
Description |
| 0 |
The status is "0", the payment method is disabled for the account. |
| 1 |
The status is "1", the payment method is enabled for the account. |
|
| <persistent_ind> |
Allowable Values
| Values |
Description |
| 0 |
0 |
| 1 |
1 |
|
| <payment_terms_type> |
Allowable Values
| Values |
Description |
| Net Terms |
Net Terms |
| EAN/GLN |
EAN/GLN |
|
Error Codes
| Error Code/Description |
Associated Inputs |
|
|
|
1004: authentication error
|
<auth_key>, <client_no> |
26006: Invalid filter status
|
<filter_status> |