public class BankDetailsLookupService
extends java.lang.Object
Service class for working with bank details lookup resources.
Look up the name and reachability of a bank account.
Modifier and Type | Class and Description |
---|---|
static class |
BankDetailsLookupService.BankDetailsLookupCreateRequest
Request class for
create() . |
Constructor and Description |
---|
BankDetailsLookupService(HttpClient httpClient)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BankDetailsLookupService.BankDetailsLookupCreateRequest |
create()
Performs a bank details lookup.
|
public BankDetailsLookupService(HttpClient httpClient)
Constructor. Users of this library should have no need to call this - an instance of this class can be obtained by calling GoCardlessClient.bankDetailsLookups()
.
public BankDetailsLookupService.BankDetailsLookupCreateRequest create()
Performs a bank details lookup. As part of the lookup, a modulus check and reachability check are performed.
If your request returns an error or the available_debit_schemes
attribute is an empty array, you will not be able to collect payments from the specified bank account. GoCardless may be able to collect payments from an account even if no bic
is returned.
Bank account details may be supplied using local details or an IBAN.
Note: Usage of this endpoint is monitored. If your organisation relies on GoCardless for modulus or reachability checking but not for payment collection, please get in touch.