---
title: "CheckoutCreateRequest"
description: "Request body for creating a checkout before processing payment. Define the payment amount, currency, merchant, and optional customer or redirect behavior here."
image: "https://developer.sumup.com/og/index.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.sumup.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: SumUp REST API

Request body for creating a checkout before processing payment. Define the payment amount, currency, merchant, and optional customer or redirect behavior here.

## Fields

- `checkout_reference` (`CheckoutCreateRequest.checkout_reference`; string, required) — Merchant-defined reference for the new checkout, up to 64 characters. Use it to correlate the checkout with an order or payment attempt in your own system. If a checkout already exists for the supplied unique parameters, creation returns `409` with `DUPLICATED_CHECKOUT`; see the conflict response.
  - maxLength 64; example `"f00a8f74-b05d-4605-bd73-2a901bae5802"`
- `amount` (`CheckoutCreateRequest.amount`; number, required) — Amount to be charged to the payer, expressed in major units.
  - format `float`; example `10.1`
- `currency` (`CheckoutCreateRequest.currency`; string, required) — Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the amount.
  - one of `"BRL"`, `"CHF"`, `"CLP"`, `"COP"`, `"CZK"`, `"DKK"`, `"EUR"`, `"GBP"`, `"HRK"`, `"HUF"`, `"NOK"`, `"PLN"`, `"RON"`, `"SEK"`, `"USD"`; example `"EUR"`
- `merchant_code` (`CheckoutCreateRequest.merchant_code`; string, required) — Short unique identifier for the merchant that should receive the payment.
  - example `"MH4H92C7"`
- `description` (`CheckoutCreateRequest.description`; string, optional) — Short merchant-defined description shown in SumUp tools and reporting for easier identification of the checkout.
  - example `"Purchase"`
- `return_url` (`CheckoutCreateRequest.return_url`; string, optional) — Optional backend callback URL for checkout status notifications. SumUp sends an HTTP POST with `event_type` and the checkout `id`. Retrieve the checkout to verify its current status before updating your order. See the [webhook guide](https://developer.sumup.com/online-payments/webhooks/) for the payload and response requirements.
  - format `uri`; example `"http://example.com/"`
- `customer_id` (`CheckoutCreateRequest.customer_id`; string, optional) — Merchant-scoped customer identifier. Required when setting up recurring payments and useful when the checkout should be linked to a returning payer.
  - example `"831ff8d4cd5958ab5670"`
- `purpose` (`CheckoutCreateRequest.purpose`; string, optional) — Business purpose of the checkout. Use `CHECKOUT` for a standard payment and `SETUP_RECURRING_PAYMENT` when collecting consent and payment details for future recurring charges.
  - one of `"CHECKOUT"`, `"SETUP_RECURRING_PAYMENT"`; default `"CHECKOUT"`
- `valid_until` (`CheckoutCreateRequest.valid_until`; string, optional, nullable) — Optional expiration timestamp. The checkout must be processed before this moment, otherwise it becomes unusable. If omitted, the checkout does not have an explicit expiry time.
  - format `date-time`; example `"2030-12-31T23:59:59Z"`
- `redirect_url` (`CheckoutCreateRequest.redirect_url`; string, optional) — URL where the payer should be sent after a redirect-based payment or SCA flow completes. This is required for [APMs](https://developer.sumup.com/online-payments/apm/introduction) and recommended for card checkouts that may require [3DS](https://developer.sumup.com/online-payments/features/3ds). If it is omitted, the [Payment Widget](https://developer.sumup.com/online-payments/checkouts) can render the challenge in an iframe instead of using a full-page redirect.
  - example `"https://mysite.com/completed_purchase"`
- `hosted_checkout` (`CheckoutCreateRequest.hosted_checkout`; object, optional) — Hosted Checkout configuration. Enable it to receive a SumUp-hosted payment page URL in the checkout response.
  - `enabled` (`CheckoutCreateRequest.hosted_checkout.enabled`; boolean, required) — Whether the checkout should include a SumUp-hosted payment page.
    - example `true`


Source: https://developer.sumup.com/api/schemas/CheckoutCreateRequest/index.md
