BankAccountDetails: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(Created page with "{{PageTitle|title=Bank account details structure}} This structure represents a bank account details for an outgoing bank (wire) transfer from the Barion system. = API usage...")
 
m (Added uppercase limitation to country code)
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
| Country || string ||  
| Country || string ||  
* Required
* Required
|| The country of the bank, in 3-letter country code (ISO 3166-1 Alpha-3) format
|| The country of the bank, in 3-letter country code (ISO 3166-1 Alpha-3) format. All 3 letters MUST be uppercase.
|-
|-
| Format || [[BankAccountNumberFormat]] ||  
| Format || [[BankAccountNumberFormat]] ||  
* Required
* Required
|| The format of the bank account number.
|| The format of the bank account number. Note: Withdraw-BankTransfer-v3 does not accept 'Other' as Format.
|-
|-
| AccountNumber || string ||  
| AccountNumber || string ||  
Line 26: Line 26:
|-
|-
|}
|}
= Internal transfer to Barion account number =
When the destination account (AccountNumber) is a registered account number within the Barion system, the wire transfer request is processed as an internal e-money transfer.
If the account number is reserved for Barion but not assigned to any user you receive an error message: "You cannot start a bank transfer to this account number from your Barion wallet."

Latest revision as of 13:02, 29 October 2024

This structure represents a bank account details for an outgoing bank (wire) transfer from the Barion system.

API usage

This structure is used by the following API endpoints:

Property list

Property name Property type Limitations and constraints Description
Country string
  • Required
The country of the bank, in 3-letter country code (ISO 3166-1 Alpha-3) format. All 3 letters MUST be uppercase.
Format BankAccountNumberFormat
  • Required
The format of the bank account number. Note: Withdraw-BankTransfer-v3 does not accept 'Other' as Format.
AccountNumber string
  • Required
  • Maximum length: 34 characters
The bank account number itself. Note that the account number must comply with the legal GIRO/IBAN format standards (if applicable).

Internal transfer to Barion account number

When the destination account (AccountNumber) is a registered account number within the Barion system, the wire transfer request is processed as an internal e-money transfer. If the account number is reserved for Barion but not assigned to any user you receive an error message: "You cannot start a bank transfer to this account number from your Barion wallet."