Skip to content

Commit

Permalink
Changes from gocardless/gocardless-pro-ruby-template@b21aff1d71b170f1…
Browse files Browse the repository at this point in the history
…cf4028f077f85c67db892412
  • Loading branch information
gocardless-robot committed Apr 25, 2024
1 parent 9f79523 commit 21d5c48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lib/gocardless_pro/services/bank_details_lookups_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ module GoCardlessPro
module Services
# Service for making requests to the BankDetailsLookup endpoints
class BankDetailsLookupsService < BaseService
# Performs a bank details lookup. As part of the lookup, some validations are
# performed such as a modulus check for GBP accounts and a reachability check
# for PayTo. These checks vary per scheme. Please reach out to us if you require
# more information about the checks.
# 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.
#
# If your request returns an [error](#api-usage-errors) or the
# `available_debit_schemes`
Expand Down
6 changes: 6 additions & 0 deletions lib/gocardless_pro/services/billing_requests_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ def collect_customer_details(identity, options = {})
# Direct Debit. If a 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_ [Payer Name
# Verification](https://hub.gocardless.com/s/article/Introduction-to-Payer-Name-Verification?language=en_GB)
# 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.
# Example URL: /billing_requests/:identity/actions/collect_bank_account
#
# @param identity # Unique identifier, beginning with "BRQ".
Expand Down

0 comments on commit 21d5c48

Please sign in to comment.