IGoCardlessCreateBankAccount Method |
Creates a new customer bank account object.
RESTRICTED: this endpoint is restricted to GoCardless Pro accounts with approved payment pages. To instead use the GoCardless hosted payment pages, see GoCardless.Create function for redirect flows.
Namespace:
NetQuarry.Services.Payment
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax GoCardlessCustomerBankAccount CreateBankAccount(
GoCardlessCustomerBankAccount input
)
Function CreateBankAccount (
input As GoCardlessCustomerBankAccount
) As GoCardlessCustomerBankAccount
Parameters
- input
- Type: NetQuarry.Services.PaymentGoCardlessCustomerBankAccount
required: account_holder_name, links.customer
less required (but still required): account_number, branch_code, country_code
optional: metadata, IDEMPOTENCYKEY
don't set: currency, bank_code, iban, links.customer_bank_account_token
Return Value
Type:
GoCardlessCustomerBankAccountGoCardless.CustomerBankAccount object
See Also