This site requires javascript to be enabled.

  • Search AI-powered

Results for

xxx

Convert bankaccount

POST https://{domainname}/v1/{merchantId}/services/convert/bankaccount

Services

Under services you find several calls that can be used to support your payment flow:

  • Test your connection to us
  • Convert an amount from one currency to another
  • Convert between different bank account notations
  • Retrieve the card type and country where the card was issued based on the IIN of the card
  • Retrieve the ARN (Acquirer Reference Number), RRN (Retrieval Reference Number), Amount and Currency for a payment

Request

This API call can be used to convert bank account details between Basic Bank Account Number (BBAN) and International Bank Account Number (IBAN). This can be helpful if you still have data sources that have or provide you with BBAN data, but you need IBAN data to process transactions. You can convert traditional BBAN data into an IBAN and vice versa. If you supply both the BBAN and the IBAN data they will be compared.

PayloadBankDetailsRequest

Properties
Property Type Required Details
close

Description

Object that holds the Basic Bank Account Number (BBAN) data
  • SDK Object type
    BankAccountBban
close

Description

Name of the account holder
close

Description

Bank account number
close

Description

Bank code
close

Description

Name of the bank
close

Description

Branch code
close

Description

Bank check digit
close

Description

ISO 3166-1 alpha-2 country code of the country where the bank account is held For UK payouts this value is automatically set to GB as only payouts to UK accounts are supported.
close

Description

Object that holds the International Bank Account Number (IBAN) data
  • SDK Object type
    BankAccountIban
close

Description

Name in which the account is held.
close

Description

The IBAN is the International Bank Account Number. It is an internationally agreed format for the BBAN and includes the ISO country code and two check digits.

Request example

SDK: Ruby

This scenario you will probably use the most

  • bank_account_bban = Domain::BankAccountBban.new
    bank_account_bban.account_number = '0532013000'
    bank_account_bban.bank_code = '37040044'
    bank_account_bban.country_code = 'DE'
    
    body = Domain::BankDetailsRequest.new
    body.bank_account_bban = bank_account_bban
    
    response = client.v1.merchant('merchantId').services.bankaccount(body)
    
  • bank_account_iban = Domain::BankAccountIban.new
    bank_account_iban.iban = '******************'
    
    body = Domain::BankDetailsRequest.new
    body.bank_account_iban = bank_account_iban
    
    response = client.v1.merchant('merchantId').services.bankaccount(body)
    

Responses

Please find below an overview of the possible responses.

Response 200 - OKBankDetailsResponse

When you get a 200 response a conversion has been made and the results are in the response.

Properties
Property Type Required Details
close

Description

Object that holds the Basic Bank Account Number (BBAN) data
  • SDK Object type
    BankAccountBban
close

Description

Name of the account holder
close

Description

Bank account number
close

Description

Bank code
close

Description

Name of the bank
close

Description

Branch code
close

Description

Bank check digit
close

Description

ISO 3166-1 alpha-2 country code of the country where the bank account is held For UK payouts this value is automatically set to GB as only payouts to UK accounts are supported.
close

Description

Object that holds the International Bank Account Number (IBAN) data
  • SDK Object type
    BankAccountIban
close

Description

Name in which the account is held.
close

Description

The IBAN is the International Bank Account Number. It is an internationally agreed format for the BBAN and includes the ISO country code and two check digits.
close

Description

Object that holds the reformatted bank account data
  • SDK Object type
    BankData
close

Description

Bank name, matching the bank code of the request
close

Description

Reformatted account number according to local clearing rules
close

Description

Reformatted bank code according to local clearing rules
close

Description

Reformatted branch code according to local clearing rules
close

Description

Object that holds all the SWIFT routing information
  • SDK Object type
    Swift
close

Description

The BIC is the Business Identifier Code, also known as SWIFT or Bank Identifier code. It is a code with an internationally agreed format to Identify a specific bank or even branch. The BIC contains 8 or 11 positions: the first 4 contain the bank code, followed by the country code and location code.
close

Description

SWIFT category
close

Description

Clearing House Interbank Payments System (CHIPS) UID
CHIPS is one half of the primary US network of large-value domestic and international payments.
close

Description

SWIFT extra information
close

Description

Institution PO Box country
close

Description

Institution PO Box location
close

Description

Institution PO Box number
close

Description

Institution PO Box ZIP
close

Description

Payment routing BIC
close

Description

SWIFT services

Response example

SDK: Ruby

This scenario you will probably use the most

  • {
        "bankAccountIban" : {
            "iban" : "DE89370400440532013000"
        },
        "bankData" : {
            "reformattedAccountNumber" : "0532013000",
            "reformattedBankCode" : "37040044"
        },
        "swift" : {
            "bic" : "COBADEFF370",
            "category" : "SUPE",
            "chipsUID" : "108246",
            "routingBic" : "COBADEFFXXX",
            "services" : "EBAERPFINTG+"
        }
    }
    

Response 400 - Bad requestErrorResponse

Properties
Property Type Required Details
close

Description

Unique reference, for debugging purposes, of this error response
close

Description

List of one or more errors
close

Description

Contains detailed information on one single error.
  • SDK Object type
    APIError
close

Description

Category the error belongs to. The category should give an indication of the type of error you are dealing with. Possible values:
  • CONNECT_PLATFORM_ERROR - indicating that a functional error has occurred in the Connect platform.
  • PAYMENT_PLATFORM_ERROR - indicating that a functional error has occurred in the Payment platform.
  • IO_ERROR - indicating that a technical error has occurred within the Connect platform or between Connect and any of the payment platforms or third party systems.
close

Description

Error code
close

Description

HTTP status code for this error that can be used to determine the type of error
close

Description

ID of the error. This is a short human-readable message that briefly describes the error.
close

Description

Human-readable error message that is not meant to be relayed to customer as it might tip off people who are trying to commit fraud
close

Description

Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query.
Some common examples:
  • a.b selects the value of property b of root property a,
  • a[1] selects the first element of the array in root property a,
  • a[b='some value'] selects all elements of the array in root property a that have a property b with value 'some value'.
close

Description

ID of the request that can be used for debugging purposes

Response example

SDK: Ruby

This scenario you will probably use the most

  • {
        "errorId" : "15eabcd5-30b3-479b-ae03-67bb351c07e6-00000092",
        "errors" : [
            {
                "code" : "20000000",
                "propertyName" : "bankAccountBban.accountNumber",
                "message" : "PARAMETER_NOT_FOUND_IN_REQUEST"
            }
        ]
    }