Withdraw-BankTransfer-v3-examples: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= Domestic HUF transfer, format: GIRO =
= Domestic HUF transfer, format: GIRO =
Example request for withdrawing from HUF account to a Hungarian Forint bank account.
  {
  {
     "Amount": 1000,
     "Amount": 1000,
     "Currency": "HUF",
     "Currency": "HUF",
     "Comment": "Bank transfer comment, max length is 90",
     "Comment": "Bank transfer comment for the withdrawal, max length is 90",
     "BankAccount":{
     "BankAccount":{
         "AccountNumber": "117730161111101800000000",  
         "AccountNumber": "117730161111101800000000",  
Line 10: Line 11:
     }
     }
     "Recipient": {
     "Recipient": {
         "Name" : "name"
         "Name" : "Fekete Ivan"
     }
     }
  }
  }


= Domestic CZK transfer, format: Czech =
= Domestic CZK transfer, format: Czech =
Example request for withdrawing from CZK account to a Czech CZK bank account.
  {
  {
     "Amount": 1000,
     "Amount": 1000,
     "Currency": "CZK",
     "Currency": "CZK",
     "Comment": "Bank transfer comment, max length is 90",
     "Comment": "Bank transfer comment for the withdrawal, max length is 90",
     "BankAccount":{
     "BankAccount":{
         "AccountNumber": "000000-1651063018/3030",  
         "AccountNumber": "000000-1651063018/3030",  
Line 25: Line 27:
     }
     }
     "Recipient": {
     "Recipient": {
         "Name" : "name"
         "Name" : "Frantisek Bilek"
     }
     }
  }
  }


= Foreign EUR transfer, format: IBAN =
= Foreign EUR transfer, format: IBAN =
Example request for withdrawing from EUR account to a german EUR bank account.
  {
  {
     "Amount": 10000,
     "Amount": 1000,
     "Currency": "HUF",
     "Currency": "EUR",
     "Comment": "Bank transfer comment, max length is 90",
     "Comment": "Bank transfer comment for the withdrawal, max length is 90",
     "BankAccount":{
     "BankAccount":{
         "AccountNumber": "DE82107003781032720351100005",  
         "AccountNumber": "DE82107003781032720351100005",  
Line 45: Line 48:
         "Name" :
         "Name" :
         "Address" : {
         "Address" : {
               "Street": "street and street number"
               "Street": "Johannes Strasse 5"
               "City": "city"
               "City": "Nürnberg"
               "Zip": "zip"
               "Zip": "115465"
               "Country": "country iso 3"
               "Country": "Deu"
         }
         }
     }
     }
}
= Foreign USD transfer, format: other =
{
    "Amount": 5000,
    "Currency": "USD",
    "Comment": "Bank transfer comment, max length is 90",
    "BankAccount":{
        "AccountNumber": "33167448514568748013321",
        "Format": "other",
        "Country": "usa",
    }
    "Bank": {
        "Name": "Bank name",
        "Address": {
              "Street": "street and street number"
              "City": "city"
              "Zip": "zip"
        }
    }
    "Recipient": {
        "Name" : "name"
        "Address" : {
              "Street": "street and street number"
              "City": "city"
              "Zip": "zip"
              "Country": "country iso 3"
        }
    }
  }
  }

Revision as of 14:43, 8 June 2022

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" :
       "Address" : {
              "Street": "Johannes Strasse 5"
              "City": "Nürnberg"
              "Zip": "115465"
              "Country": "Deu"
       }
   }
}