Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/java/com/gocardless/resources/Export.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
* <a href="https://developer.gocardless.com/api-reference/#api-usage-errors">error</a> or the
Expand Down Expand Up @@ -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
* <a href="https://developer.gocardless.com/api-reference/#api-usage-errors">error</a> or the
Expand Down
20 changes: 14 additions & 6 deletions src/main/java/com/gocardless/services/BillingRequestService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <em>BACS scheme</em> <a href=
* <em>BACS and SEPA schemes</em> <a href=
* "https://hub.gocardless.com/s/article/Introduction-to-Payer-Name-Verification?language=en_GB">Payer
* Name Verification</a> 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</a> 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 <a href=
* "https://developer.gocardless.com/developer-tools/scenario-simulators/#payer_name_verification">here</a>
*/
public BillingRequestCollectBankAccountRequest collectBankAccount(String identity) {
return new BillingRequestCollectBankAccountRequest(httpClient, identity);
Expand Down Expand Up @@ -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.
*
* <em>BACS scheme</em> <a href=
* <em>BACS and SEPA schemes</em> <a href=
* "https://hub.gocardless.com/s/article/Introduction-to-Payer-Name-Verification?language=en_GB">Payer
* Name Verification</a> 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</a> 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 <a href=
* "https://developer.gocardless.com/developer-tools/scenario-simulators/#payer_name_verification">here</a>
*/
public static final class BillingRequestCollectBankAccountRequest
extends PostRequest<BillingRequest> {
Expand Down