Withdraw-BankTransfer-v3-examples

From Barion Documentation
Jump to navigation Jump to search

Domestic HUF transfer, format: GIRO

Example request for withdrawing from HUF account to a Hungarian Forint bank account.

{
   "Amount": 1000,
   "Currency": "HUF",
   "Comment": "Bank transfer comment for the withdrawal, max length is 90",
   "BankAccount":{
       "AccountNumber": "117730161111101800000000", 
       "Country": "hun",
       "Format": "GIRO"
   },
   "Recipient": {
       "Name" : "Fekete Ivan"
   }
}

Domestic CZK transfer, format: Czech

Example request for withdrawing from CZK account to a Czech CZK bank account.

{
   "Amount": 1000,
   "Currency": "CZK",
   "Comment": "Bank transfer comment for the withdrawal, max length is 90",
   "BankAccount":{
       "AccountNumber": "000000-1651063018/3030", 
       "Country": "cze",
       "Format": "Czech"
   },
   "Recipient": {
       "Name" : "Frantisek Bilek"
   }
}

Foreign EUR transfer, format: IBAN

Example request for withdrawing from EUR account to a german EUR bank account.

{
   "Amount": 1000,
   "Currency": "EUR",
   "Comment": "Bank transfer comment for the withdrawal, max length is 90",
   "BankAccount":{
       "AccountNumber": "DE82107003781032720351100005", 
       "Format": "IBAN",
       "Country": "deu"
   },
   "Bank": {
       "SwiftCode" : "GNBADEU0XXX"
   },
   "Recipient": {
       "Name" : "Jürgen Swarzer"
       "Address" : {
              "Street": "Johannes Strasse 5"
              "City": "Nürnberg"
              "Zip": "115465"
              "Country": "deu"
       }
   }
}