Withdraw-BankTransfer-v3-examples: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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",  
         "Country": "Hun",
         "Country": "hun",
         "Format": "GIRO",
         "Format": "GIRO"
     }
     },
     "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",  
         "Country": "cze",
         "Country": "cze",
         "Format": "Czech",
         "Format": "Czech"
     }
     },
     "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",  
         "Format": "IBAN",
         "Format": "IBAN",
         "Country": "Deu",
         "Country": "deu"
     }
     },
     "Bank": {
     "Bank": {
         "SwiftCode" : "GNBADEU0XXX"
         "SwiftCode" : "GNBADEU0XXX"
     }
     },
     "Recipient": {
     "Recipient": {
         "Name" :
         "Name" : "Jürgen Swarzer"
         "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"
        }
    }
  }
  }

Latest revision as of 08:06, 16 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" : "Jürgen Swarzer"
       "Address" : {
              "Street": "Johannes Strasse 5"
              "City": "Nürnberg"
              "Zip": "115465"
              "Country": "deu"
       }
   }
}