CreateCheckoutSessionRequest
- amountType: string
Pattern: ^\d+(\.\d+)?$requiredPayment amount as a decimal string. Must be >= 1.
- currencyenumconst:EURrequiredvalues
- E
U R
- customerType: object · Customerrequired
Customer associated with the checkout session.
idis required. Other fields are optional values that checkout can use when present or collect when missing.- idType: stringmin length:3max length:255required
Your customer identifier
- dateType: stringFormat: date nullable
Of Birth Optional value. Checkout can collect this when required by the selected method.
- emailType: stringFormat: email nullable
Optional value. Checkout can collect this when required by the selected method.
- firstType: string nullable
Name Optional value. Checkout can collect this when required by the selected method.
- ipType: string nullable
Customer IP address
- lastType: string nullable
Name Optional value. Checkout can collect this when required by the selected method.
- nationalityType: string
Pattern: ^[A-Z]{2}$nullableOptional ISO 3166-1 alpha-2 value. Checkout can collect this when required by the selected method.
- phoneType: string nullable
Optional value in E.164 format. Checkout can collect this when required by the selected method. MB WAY can also use this value.
- payment
Method requiredSingle payment method for hosted checkout. Payer-facing fields can be supplied up front. Method-specific fields must be sent when required by the selected method.
Single payment method for hosted checkout. Payer-facing fields can be supplied up front. Method-specific fields must be sent when required by the selected method.
- idDiscriminatorenumconst:mbway-eupagorequiredvalues
- mbway
-eupago
- phoneType: string
Pattern: ^\+3519\d{8}$nullableOptional prefill. Portuguese MB WAY phone in E.164 format.
- referenceType: stringmin length:1max length:48required
Your unique order/transaction ID. Used for idempotency.
- returnType: object · ReturnLinks
Links required- defaultType: stringmax length:2048Format: urirequired
Default return URL (used for success if not specified separately)
- cancelType: stringmax length:2048Format: uri
URL to redirect when customer cancels the payment. Must differ from
defaultwhen present.
- merchantType: object · CheckoutMerchant
Payer-facing merchant data shown on the hosted checkout page.
- nameType: stringmax length:140 nullable
Merchant name shown to the payer.