Difference between revisions of "Identification-Information-v2"

From Barion Documentation
Jump to navigation Jump to search
(Example)
(Example)
Line 62: Line 62:
 
         "OrganizationShortName": "Barion Payment Zrt.",
 
         "OrganizationShortName": "Barion Payment Zrt.",
 
         "HeadQuarter": {
 
         "HeadQuarter": {
             "Address": "1117. Budapest. Infopark sétány 1. I épület",
+
             "Address": "1117 Budapest, Infopark sétány 1. I épület",
 
             "Country": "Magyarország",
 
             "Country": "Magyarország",
 
             "CountryCode": "HU",
 
             "CountryCode": "HU",
Line 71: Line 71:
 
         },
 
         },
 
         "PostalAddress": {
 
         "PostalAddress": {
             "Address": "1117. Budapest. Infopark sétány 1. I épület",
+
             "Address": "1117 Budapest, Infopark sétány 1. I épület",
 
             "Country": "Magyarország",
 
             "Country": "Magyarország",
 
             "CountryCode": "HU",
 
             "CountryCode": "HU",
Line 89: Line 89:
 
         "Note": null,
 
         "Note": null,
 
         "Representatives": null,
 
         "Representatives": null,
         "Members": null
+
         "Members": [
 +
            {
 +
                "Person": {
 +
                    "FullName": "Példa Péter",
 +
                    "LastName": "Példa",
 +
                    "FirstName": "Péter",
 +
                    "BirthDate": "1980-12-03T00:00:00.000",
 +
                    "MothersName": "Péda Panna",
 +
                    "MothersLastName": "Példa",
 +
                    "MothersFirstName": "Panna",
 +
                    "TaxNumber": "001122889977",
 +
                    "Address": {
 +
                        "Address": "1152. Budapest, Kossuth utca 35.",
 +
                        "Country": "Magyarország",
 +
                        "CountryCode": "HU",
 +
                        "Zip": "1152",
 +
                        "City": "Budapest",
 +
                        "Street": "Kossuth utca",
 +
                        "Housenumber": "35."
 +
                    },
 +
                    "AddressString": "1152 Budapest, Kossuth utca 35."
 +
                }
 +
            }
 +
        ]
 
     }
 
     }
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 09:33, 16 June 2017

Barion API: Fetch information about an organization

GET /v2/Identification/Information

The /identification/information API endpoint is used to fetch information about an organization for the remote identification process.

Prerequisites before use:


v2 This API endpoint is available in API v2 only.

partners This API endpoint is available for trusted Barion partners only.

Input properties

Property name Property type Limitations and constraints Description
PartnerKey Guid
  • Required
The secret API key of the trusted partner, generated by Barion.
Email string
  • Required
The e-mail address of an existing organization in Barion

Output properties

Property name Property type Description
CompanyRegisterInfo CompanyRegisterInfo A bundle object containing the detailed information about the organization

Example

Request

{
    "PartnerKey": "630ee026-3e19-469f-8325-afc9bd1ae6a6",
    "Email": "[email protected]"
}

Response

{
    "CompanyRegisterInfo": {
        "RegistrationNumber": "12345678-1234",
        "OrganizationName": "Barion Payment Zrt.",
        "OrganizationShortName": "Barion Payment Zrt.",
        "HeadQuarter": {
            "Address": "1117 Budapest, Infopark sétány 1. I épület",
            "Country": "Magyarország",
            "CountryCode": "HU",
            "Zip": "1117",
            "City": "Budapest",
            "Street": "Infopark sétány",
            "Housenumber": "1. I épület 5. emelet"
        },
        "PostalAddress": {
            "Address": "1117 Budapest, Infopark sétány 1. I épület",
            "Country": "Magyarország",
            "CountryCode": "HU",
            "Zip": "1117",
            "City": "Budapest",
            "Street": "Infopark sétány",
            "Housenumber": "1. I épület 5. emelet"
        },
        "MainActivity": "Egyéb szoftverkiadás",
        "MainActivityCodde": "5829",
        "TaxNumber": "00112233",
        "Branch": "00112233",
        "Ownership": "00112233",
        "RegisteredAt": "00112233",
        "DeletedAt": null,
        "DeletionMode": null,
        "Note": null,
        "Representatives": null,
        "Members": [
            {
                "Person": {
                    "FullName": "Példa Péter",
                    "LastName": "Példa",
                    "FirstName": "Péter",
                    "BirthDate": "1980-12-03T00:00:00.000",
                    "MothersName": "Péda Panna",
                    "MothersLastName": "Példa",
                    "MothersFirstName": "Panna",
                    "TaxNumber": "001122889977",
                    "Address": {
                        "Address": "1152. Budapest, Kossuth utca 35.",
                        "Country": "Magyarország",
                        "CountryCode": "HU",
                        "Zip": "1152",
                        "City": "Budapest",
                        "Street": "Kossuth utca",
                        "Housenumber": "35."
                    },
                    "AddressString": "1152 Budapest, Kossuth utca 35."
                }
            }
        ]
    }
}