Payment methods
Payments methods represent all of the ways an account can move funds to another Moov account. Payment methods are generated programmatically when a card or bank account is added or the status is updated. For example, ach-debit-fund will be added as a payment method once the bank account is verified. For more context, read our guide on payment methods.
Get
Get the specified payment method associated with a Moov account.
|
|
Parameters
| Name | Type | Description |
|---|---|---|
| accountID | string |
Account on which to request bank account |
| paymentMethodID | string |
ID of the payment method to retrieve |
Returns
Promise.<PaymentMethod>
List
Retrieve all of the payment methods associated with a Moov account.
|
|
Parameters
| Name | Type | Description |
|---|---|---|
| accountID | string |
Account on which to request bank account |
Returns
Promise.<Array.<PaymentMethod>>
Types
WalletPaymentType
Wallet Payment Type
Properties
| Property | Type | Description |
|---|---|---|
| walletID | string |
Wallet identifier |
PaymentMethod
Describes a Payment Method.
Properties
| Property | Type | Description |
|---|---|---|
| paymentMethodID | string |
Payment Method identifier |
| paymentMethodType | PAYMENT_METHODS_TYPE | Fingerprint of Bank Account |
| wallet | WalletPaymentType | Optional wallet object when payment method type is ‘moov-wallet’. |
| bankAccount | BankAccount | Optional bank account object when payment method type is one of ‘ach-debit-fund’, ‘ach-debit-collect’, ach-credit-standard', or ‘ach-credit-same-day’. |
|
|
Enums
PAYMENT_METHODS_TYPE
| Value | Description |
|---|---|
| MOOV_WALLET | Moov Wallet Payment Type |
| ACH_DEBIT_FUND | ACH Debt Fund Payment Type |
| ACH_DEBIT_COLLECT | ACH Debt Collect Payment Type |
| ACH_CREDIT_STANDARD | ACH Credit Standard Payment Type |
| ACH_CREDIT_SAME_DAY | ACH Credit Same Day Payment Type |
| CARD | Card Payment Type |