# Creates a top-up

Creates a Top-up object.
After you have created a Top-up you can use the `_links.checkout` link to redirect to the pay page.

Endpoint: POST /top_ups
Version: v1
Security: apiKey

## Security:

  - `apiKey` (unknown)
    http bearer API key

## Request fields (application/json):

  - `amount` (integer, required)
    The amount that the customer will have to pay.

  - `currency` (string)
    The currency of the top-up.
    Enum: "EUR"

  - `description` (string)
    The description of the top-up.

  - `pay_method` (string)
    The pay method of the top-up.
    Enum: "bancontact", "bank-transfer", "ideal"

  - `locale` (string)
    Specifies the language to be used for the top-up page. If no locale or an invalid locale is specified we will ignore it and choose the locale based on the account settings.
    Enum: "de", "en", "fr", "nl"

  - `metadata` (object)
    You can put in random data that you like to save alongside the top-up. When you fetch the top-up this will be returned in the `metadata` field.

## Response 201:

  - `201` (unknown)
    top-up created

## Response 201 fields (application/json):

  - `id` (string, required)

  - `type` (string, required)
    Enum: "top_up"

  - `amount` (integer, required)

  - `description` (string, required)

  - `currency` (string, required)
    Enum: "EUR"

  - `pay_method` (any, required)

  - `pay_method.id` (string, required)

  - `pay_method.type` (string, required)
    Enum: "pay_method"

  - `pay_method.name` (string, required)

  - `pay_method.currencies` (array)

  - `pay_method.minimum_amount` (integer)

  - `pay_method.maximum_amount` (integer)

  - `pay_method.details` (object)

  - `pay_method.details.issuers` (array)

  - `pay_method.details.issuers.code` (string)

  - `pay_method.details.issuers.name` (string)

  - `pay_method.details.iban` (string)

  - `pay_method.details.bic` (string)

  - `pay_method.details.account_name` (string)

  - `pay_method.details.routing_number` (string)

  - `pay_method.details.account_number` (string)

  - `state` (string, required)

  - `locale` (string, required)
    Enum: "de", "en", "fr", "nl"

  - `metadata` (object, required)

  - `paid_at` (string, required)

  - `created_at` (string, required)

  - `_links` (object, required)

  - `_links.self` (string, required)

  - `_links.checkout` (string)

