Add bank payment method for payer
Create a new bank payment method for a payer. This enables ACH Debit (pay by bank) functionality for payins.
Authentication
x-api-keystring
RootPay API key sent in the x-api-key header. Keys are environment-scoped: live_* for production, test_* for sandbox.
Path parameters
payer_id
Query parameters
is_default
Whether to set this payment method as default
Request
This endpoint expects an object.
account_number
routing_number
routing_number_type
aba (US), bic (GB), or ifsc (IN)
currency_code
USD (US), GBP (GB), or INR (IN)
country_code
US, GB, or IN
Response
Bank payment method created successfully
data
Shared response model for bank payment methods (both payee and payer).
warning
Errors
404
Not Found Error