Registration with pre-filled values: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
Line 67: Line 67:
| string
| string
| The house number for the headquarters address.
| The house number for the headquarters address.
|-
| oam (only available for organizations)
| bool
| Indicates, whether the headquarters and the postal address match.
|-
| ocat (only available for organizations)
| string
| The category number of the organization (so called TEÁOR in hungarian). Only the numerical value (eg: <code>0520</code>) is required.
|-
| orn (only available for organizations)
| string
| The registration number of the organization.
|-
| otn (only available for organizations)
| string
| The tax number of the organization.
|-
| pc (only available for organizations)
| string
| The postal country of the organization.
|-
| ppa(only available for organizations)
| string
| The postal zip code of the organization.
|-
| pt (only available for organizations)
| string
| The postal city of the organization.
|-
| phn (only available for organizations)
| string
| The postal house number of the organization.
|-
|-
|}
|}

Revision as of 16:59, 15 November 2022

Opening the Barion wallet registration page with pre-filled values

There are certain situations and business models where the user is required to obtain a Barion wallet before they are able to pay for goods or services in the shop. Automatically registering a Barion wallet for a user by third parties is strictly prohibited by law. However, Barion aids the third party in a way so they can supply specific values to pre-fill the registration form, so the process can be completed faster by the user. By using the following query string parameters, the third party can redirect the user to the Barion registration form so some fields are already filled for them.

Important: this is just a convinience feature! By modifying the URL the user can remove these values whenever they want.

Query string parameters for registering as an individual

Query string parameter Parameter type Parameter description
m string The E-mail address of the user.
isEmailLocked boolean Indicates wether the E-mail address field is locked or editable - true means locked, false means editable.

Example:

https://secure.barion.com/Registration?mode=NaturalPerson&m=user%40example.com&isEmailLocked=true

Query string parameters for registering as an organization

Query string parameter Parameter type Parameter description
m string The E-mail address of the user.
isEmailLocked boolean Indicates wether the E-mail address field is locked or editable - true means locked, false means editable.
on string The name of the organization.
ot string The city for the headquarters address.
opa string The postal/zip code for the headquarters address.
os string The street name for the headquarters address.
ohn string The house number for the headquarters address.
oam (only available for organizations) bool Indicates, whether the headquarters and the postal address match.
ocat (only available for organizations) string The category number of the organization (so called TEÁOR in hungarian). Only the numerical value (eg: 0520) is required.
orn (only available for organizations) string The registration number of the organization.
otn (only available for organizations) string The tax number of the organization.
pc (only available for organizations) string The postal country of the organization.
ppa(only available for organizations) string The postal zip code of the organization.
pt (only available for organizations) string The postal city of the organization.
phn (only available for organizations) string The postal house number of the organization.

Example:

https://secure.barion.com/Registration?mode=Organization&[email protected]&on=Testdata+Company+Ltd&opa=98332&ot=San+José&os=Rockwood+Creek&ohn=32

Other query string parameters

These extra parameters can be used on both the individual and the organization registration page.

Query string parameter Parameter type Parameter description
r string The E-mail address OR topup code of the referring user, if applicable.
url string The URL where the user should be redirected upon successful registration. The e-mail address entered at the registration is appended to the URL as a query string parameter.

Warning: this feature is under development and is subject to change without notice!

Example:

Individual registration with referrer and redirect URL:

https://secure.barion.com/Registration?mode=NaturalPerson&m=user%40example.com&isEmailLocked=true&r=123456789&url=https://www.example.com/successfulregistration