Request body for creating a checkout before processing payment. Define the payment amount, currency, merchant, and optional customer or redirect behavior here.
Fields
- maxLength:
64Merchant-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
409withDUPLICATED_CHECKOUT; see the conflict response.Example:
"f00a8f74-b05d-4605-bd73-2a901bae5802" - format:
floatAmount to be charged to the payer, expressed in major units.
Example:
10.1 - Options:
"BRL""CHF""CLP""COP""CZK""DKK""EUR""GBP""HRK""HUF""NOK""PLN""RON""SEK""USD"Three-letter ISO 4217 currency code of the amount.
Example:
"EUR" Short unique identifier for the merchant that should receive the payment.
Example:
"MH4H92C7"- descriptionstring
Short merchant-defined description shown in SumUp tools and reporting for easier identification of the checkout.
Example:
"Purchase" - return_urlstringformat:
uriOptional backend callback URL for checkout status notifications. SumUp sends an HTTP POST with
event_typeand the checkoutid. Retrieve the checkout to verify its current status before updating your order. See the webhook guide for the payload and response requirements.Example:
"http://example.com/" - customer_idstring
Merchant-scoped customer identifier. Required when setting up recurring payments and useful when the checkout should be linked to a returning payer.
Example:
"831ff8d4cd5958ab5670" - purposestringOptions:
"CHECKOUT""SETUP_RECURRING_PAYMENT"default:"CHECKOUT"Business purpose of the checkout. Use
CHECKOUTfor a standard payment andSETUP_RECURRING_PAYMENTwhen collecting consent and payment details for future recurring charges. - format:
date-timeOptional 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.
Example:
"2030-12-31T23:59:59Z" - redirect_urlstring
URL where the payer should be sent after a redirect-based payment or SCA flow completes. This is required for APMs and recommended for card checkouts that may require 3DS. If it is omitted, the Payment Widget can render the challenge in an iframe instead of using a full-page redirect.
Example:
"https://mysite.com/completed_purchase" - hosted_checkoutobject
Hosted Checkout configuration. Enable it to receive a SumUp-hosted payment page URL in the checkout response.
Show 1 property
Whether the checkout should include a SumUp-hosted payment page.
Example:
true