ScenarioBen sets up automatic recurring payments ($150) for a monthly subscription to Maple Street Coffee, one of Clearpath Payment’s acceptors, using his checking account ending in 5678. Clearpath Payments submits a request to initiate a bank transfer from Ben’s bank account on behalf of Maple Street Coffee.
Steps
- Call the initiateBankTransfer mutation, passing in the required and optional input fields:
Payment method details
You can provide bank account details in one of two ways:-
Direct bank account details:
-
Using a previously tokenized bank account:
Amount details
When specifying the amount:amountDetails:totalAmount: The total amount of the transfer (e.g., 150.00)currency: Currently only supportsUSD
Bank account types
When providing direct bank account details, specify:-
bankAccountType:CHECKING: A checking account for day-to-day transactionsSAVINGS: A savings account with potential withdrawal limitations
-
accountOwnerType:CONSUMER: Individual/personal accountsCORPORATE: Business accounts
Channel
For consumer interaction method, specify:channel:ECOMMERCE: Customer interacts through online interfaceMAIL_ORDER_TELEPHONE_ORDER: Customer interacts through mail, phone, or fax
Entry modes
Indicates how the bank account information was collected:paymentEntryMode:KEYED: Manually enteredON_FILE: Retrieved from stored credentials
channel parameter with values ECOMMERCE or MAIL_ORDER_TELEPHONE_ORDER respectively.
Recurring type
For payment frequency, specify:recurringType:SINGLE: One-time payments with no future transactions expectedRECURRING: Subscription payments, recurring bills, or installment payments