<commit_before># Prepopulating information

When redirecting users to payment pages, you have the option to provide a `user` object to prepopulate the user's payment form on GoCardless. This can dramatically increase conversion of your users to paying customers.

    {
      "subscription": {
        "amount":"50.00",
        "name": "Gold membership",
        "merchant_id": "MERCHANT_ID",
        "interval_length": 1,
        "interval_unit": "month",
        "user": {
          "first_name": "Alasdair",
          "last_name": "Monk",
          "company_name": "GoCardless Ltd",
          "email": "<EMAIL>",
          "billing_address1": "22-25 Finsbury Square",
          "billing_address2": "Royal London House",
          "billing_town": "London",
          "billing_postcode": "E84DQ"
        }
      },
      authentication etc (see "Authentication")
    }

You may provide the following information:

* `first_name`
* `last_name`
* `email`
* `company_name`
* `billing_address1`
* `billing_address2`
* `billing_town`
* `billing_postcode`<commit_msg>Docs on pre-populating EUR payment params<commit_after># Pre-populating information

When redirecting users to payment pages, you have the option to provide a `user` object to prepopulate the user's payment form on GoCardless. This can dramatically increase conversion of your users to paying customers.

    {
      "subscription": {
        "amount":"50.00",
        "name": "Gold membership",
        "merchant_id": "MERCHANT_ID",
        "interval_length": 1,
        "interval_unit": "month",
        "currency": "GBP",
        "user": {
          "first_name": "Alasdair",
          "last_name": "Monk",
          "company_name": "GoCardless Ltd",
          "email": "<EMAIL>",
          "billing_address1": "22-25 Finsbury Square",
          "billing_address2": "Royal London House",
          "billing_town": "London",
          "billing_postcode": "E84DQ",
          "country_code": "GB"
        }
      },
      authentication etc (see "Authentication")
    }

You may provide the following information:

* `currency`
* `[user]first_name`
* `[user]last_name`
* `[user]email`
* `[user]company_name`
* `[user]billing_address1`
* `[user]billing_address2`
* `[user]billing_town`
* `[user]billing_postcode`
* `[user]country_code` (defaults to `GB`)

**`currency`** can be one of the following:

* `EUR`: € Euro
* `GBP`: £ British Pound Sterling (default)

For EUR payments **`[user]country_code`** can be one of the following:

* `AT`: Austria
* `BE`: Belgium
* `FR`: France
* `DE`: Germany
* `IE`: Ireland
* `NL`: Netherlands
{'fraction_non_alphanumeric': 0.13729271114539143, 'fraction_numerical': 0.011569610489780177, 'mean_word_length': 3.124006359300477, 'pattern_counts': {'":': 32, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5824676', 'n_tokens_mistral': 838, 'n_tokens_neox': 810, 'n_words': 227}