TopUpInfo: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(change to accountinfo)
 
Line 1: Line 1:
{{PageTitle|title=TopUpInfo structure}}
{{PageTitle|title=AccountInfo structure}}


The '''TopUpInfo''' structure contains information about ow to topup an account.
The '''AccountInfo''' structure contains information about how to topup an account.


= API usage =
= API usage =
Line 13: Line 13:
|-
|-


| DomesticCountry || string || Two letter country code || The code of the country which counts as domestic for the currency of the account
| BBANCountry || string || ISO-3 country code || The code of the country which counts as domestic for the currency of the account. This is currently "HUN" for HUF accounts, "CZE" for CZK accounts, and null for everything else.
 
|-
| BBAN || string || Format depends on currency || The BBAN (local bank account number) of the account to which wire transfer topups should be sent. Currently only available for HUF and CZK accounts. For HUF accounts, this is unique to the wallet, for CZK, this is Barion's CZK deposit bank account number.
|-
| IBAN || string || Valid IBAN format || The IBAN (international bank account number) of the account to which wire transfer topups should be sent. Available for all currencies. For HUF, EUR, and USD this is unique to the wallet, for CZK, this is Barion's CZK deposit bank account number.
|-
| Reference || string || || For topups to a Barion deposit account, this code must be used in conjunction with the bank account number to identify the target of the topup.
|-
|-
 
| SwiftCode || string || || The swift code of the bank at which the topup's target account is open.
| FromDomesticCountry || [[BankAccountInfo]] || || Information about the bank account to use for the topup from the domestic country
 
|-
|-
 
| Beneficiary || [[Beneficiary]] || || Name and location information about the beneficiary of the wire transfer.
| FromNonDomesticCountry || [[BankAccountInfo]] || || Information about the bank account to use for the topup from any othe than the domestic country
|}
|}

Latest revision as of 09:07, 6 December 2022

AccountInfo structure

The AccountInfo structure contains information about how to topup an account.

API usage

This structure is used by the following API endpoints:

Properties

Property name Property type Limitations and constraints Description
BBANCountry string ISO-3 country code The code of the country which counts as domestic for the currency of the account. This is currently "HUN" for HUF accounts, "CZE" for CZK accounts, and null for everything else.
BBAN string Format depends on currency The BBAN (local bank account number) of the account to which wire transfer topups should be sent. Currently only available for HUF and CZK accounts. For HUF accounts, this is unique to the wallet, for CZK, this is Barion's CZK deposit bank account number.
IBAN string Valid IBAN format The IBAN (international bank account number) of the account to which wire transfer topups should be sent. Available for all currencies. For HUF, EUR, and USD this is unique to the wallet, for CZK, this is Barion's CZK deposit bank account number.
Reference string For topups to a Barion deposit account, this code must be used in conjunction with the bank account number to identify the target of the topup.
SwiftCode string The swift code of the bank at which the topup's target account is open.
Beneficiary Beneficiary Name and location information about the beneficiary of the wire transfer.