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 e.g., ach-debit will be added as a payment method once the bank account is verified.

Get payment methods

Retrieve all of the payment methods associated with a Moov account.

Parameters

Name Type
accountID UUID string
1
2
const accountID = accountID;
moov.accounts.paymentMethods.list({accountID});

Get payment method

Get the specified payment method associated with a Moov account.

Parameters

Name Type
accountID UUID string
paymentMethodID UUID string
1
2
3
const accountID = accountID;
const paymentMethodID = paymentMethodID;
moov.accounts.paymentMethods.get({accountID, paymentMethodID});