diff --git a/src/main/java/com/gocardless/resources/Export.java b/src/main/java/com/gocardless/resources/Export.java index 77418503..d7883912 100644 --- a/src/main/java/com/gocardless/resources/Export.java +++ b/src/main/java/com/gocardless/resources/Export.java @@ -88,7 +88,8 @@ public enum ExportType { PARTNER_FEES, @SerializedName("payments_import_template") PAYMENTS_IMPORT_TEMPLATE, @SerializedName("payment_account_statement") PAYMENT_ACCOUNT_STATEMENT, @SerializedName("outbound_payments_index") - OUTBOUND_PAYMENTS_INDEX, @SerializedName("unknown") + OUTBOUND_PAYMENTS_INDEX, @SerializedName("payment_account_transactions") + PAYMENT_ACCOUNT_TRANSACTIONS, @SerializedName("unknown") UNKNOWN } } diff --git a/src/main/java/com/gocardless/services/BankDetailsLookupService.java b/src/main/java/com/gocardless/services/BankDetailsLookupService.java index f2664a58..44f82031 100644 --- a/src/main/java/com/gocardless/services/BankDetailsLookupService.java +++ b/src/main/java/com/gocardless/services/BankDetailsLookupService.java @@ -24,9 +24,11 @@ public BankDetailsLookupService(HttpClient httpClient) { * Performs a bank details lookup. As part of the lookup, a modulus check and reachability check * are performed. * - * For UK-based bank accounts, where an account holder name is provided (and an account number, - * a sort code or an iban are already present), we verify that the account holder name and bank - * account number match the details held by the relevant bank. + * For UK or Eurozone-based bank accounts, where an account holder name is provided (and an + * account number, a sort code or an IBAN are already present), we verify that the account + * holder name and bank account number match the details held by the relevant bank. If there is + * no match, the endpoint will return a 422 - validation error on account_holder_name: "Account + * holder name does not match bank account details provided". * * If your request returns an * error or the @@ -56,9 +58,11 @@ public BankDetailsLookupCreateRequest create() { * Performs a bank details lookup. As part of the lookup, a modulus check and reachability check * are performed. * - * For UK-based bank accounts, where an account holder name is provided (and an account number, - * a sort code or an iban are already present), we verify that the account holder name and bank - * account number match the details held by the relevant bank. + * For UK or Eurozone-based bank accounts, where an account holder name is provided (and an + * account number, a sort code or an IBAN are already present), we verify that the account + * holder name and bank account number match the details held by the relevant bank. If there is + * no match, the endpoint will return a 422 - validation error on account_holder_name: "Account + * holder name does not match bank account details provided". * * If your request returns an * error or the diff --git a/src/main/java/com/gocardless/services/BillingRequestService.java b/src/main/java/com/gocardless/services/BillingRequestService.java index c7617a42..b6da54d6 100644 --- a/src/main/java/com/gocardless/services/BillingRequestService.java +++ b/src/main/java/com/gocardless/services/BillingRequestService.java @@ -73,10 +73,14 @@ public BillingRequestCollectCustomerDetailsRequest collectCustomerDetails(String * bank account is discovered to be closed or invalid, the customer is requested to adjust the * account number/routing number and succeed in this check to continue with the flow. * - * BACS scheme BACS and SEPA schemes Payer - * Name Verification is enabled by default for UK based bank accounts, meaning we verify the - * account holder name and bank account number match the details held by the relevant bank. + * Name Verification is enabled by default for UK and Eurozone based bank accounts, meaning + * we verify the account holder name and bank account number/IBAN match the details held by the + * relevant bank. If there is no match, the endpoint will return a 422 - validation error on + * account_holder_name: "Account holder name does not match bank account details provided". + * Testing instructions are here */ public BillingRequestCollectBankAccountRequest collectBankAccount(String identity) { return new BillingRequestCollectBankAccountRequest(httpClient, identity); @@ -2551,10 +2555,14 @@ public CustomerBillingDetail withSwedishIdentityNumber(String swedishIdentityNum * bank account is discovered to be closed or invalid, the customer is requested to adjust the * account number/routing number and succeed in this check to continue with the flow. * - * BACS scheme BACS and SEPA schemes Payer - * Name Verification is enabled by default for UK based bank accounts, meaning we verify the - * account holder name and bank account number match the details held by the relevant bank. + * Name Verification is enabled by default for UK and Eurozone based bank accounts, meaning + * we verify the account holder name and bank account number/IBAN match the details held by the + * relevant bank. If there is no match, the endpoint will return a 422 - validation error on + * account_holder_name: "Account holder name does not match bank account details provided". + * Testing instructions are here */ public static final class BillingRequestCollectBankAccountRequest extends PostRequest {