v1

latestOpenAPI 3.0.02026-07-26167441.9 MB

Copy of Create Checkout Session

patch/checkout/sessions/{checkout_session}

Path parameters

checkout_sessionstring required

Request body

customer_idstring

The unique identifier of the customer, created using the Create Customer endpoint (UUID, 36 chars).

merchant_order_idstring required

The unique identifier of the customer's order (MAX 255; MIN 3).

payment_descriptionstring required

The description of the payment (MAX 255; MIN 3).

callback_urlstring

The URL where we will redirect your customer after making the purchase. Required for alternative payment methods with redirection. (MAX 526; MIN 3)

country'AR' | 'BO' | 'BR' | 'CL' | 'CO' | 'CR' | 'EC' | 'SV' | 'GT' | 'HN' | 'MX' | 'NI' | 'PA' | 'PY' | 'PE' | 'US' | 'UY' required

The customer's country (MAX 2; MIN 2; ISO 3166-1).

account_idstring required

The unique identifier of the account. You find this information on the Yuno dashboard (UUID, 36 chars).

workflow'SDK_CHECKOUT' | 'CHECKOUT' | 'SDK_SEAMLESS'

Checkout workflow type.

Response

200

merchant_order_idstring
checkout_sessionstring
countrystring
payment_descriptionstring
{"stackTrail":"paths:/checkout/sessions/{checkout_session}:patch:responses:200:content:application/json:schema:properties:callback_url","oasType":"schema","type":"unknown"}
created_atstring
{"stackTrail":"paths:/checkout/sessions/{checkout_session}:patch:responses:200:content:application/json:schema:properties:metadata","oasType":"schema","type":"unknown"}
workflowstring
usedboolean

Example response

{
  "merchant_order_id": "007",
  "checkout_session": "c67ce158-6053-4661-a1de-aed5c945b935",
  "country": "BR",
  "payment_description": "Payment Test",
  "amount": {
    "currency": "ARS",
    "value": 100
  },
  "created_at": "2025-11-14T00:43:22.719648Z",
  "workflow": "SDK_CHECKOUT"
}