Retrieve Checkout Session

This request retrieves a checkout session using its unique identifier.

GET/checkout/sessions/{id}

Path Parameters

idstringrequired

The unique identifier of the checkout session (UUID, 36 chars).

Response

200

idstring

The unique identifier of the checkout session (MAX 64; MIN 36).

merchant_order_idstring

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

countrystring

Country where the transaction must be processed (MAX 2; MIN 2; ISO 3166-1).

payment_descriptionstring

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

customer_idstring

The unique identifier of the customer (MAX 64; MIN 36).

callback_urlstring

The URL where to redirect the customer after the payment (MAX 526; MIN 3).

amountobject

Specifies the payment amount object, with the value and currency.

Show amount properties
currencystring

The currency used to make the payment (MAX 3; MIN 3; ISO 4217).

valuenumber

The payment amount (multiple of 0.0001).

created_atstring

Checkout Session creation date and time (MAX 27; MIN 27; ISO 8601).

metadataobject[]

Specifies a list of metadata objects. You can add up to 50 metadata objects.

Show metadata properties
keystring

Specifies one metadata key.

valuestring

Specifies the value for the defined metadata key.

workflowstring

The payment workflow type that specifies how the checkout session will be processed.

installmentsobject

The object to send the installment plan created in WHITELABEL to show your customers and let them choose from.

Show installments properties
plan_idstring

Specifies a plan id created in WHITELABEL to show your customer in the checkout session (MAX 64; MIN 64).

planobject[]

Installments to show the customer with the checkout session.

Show plan properties
installmentinteger

The number of monthly installments shoppers can choose.

ratenumber

The rate that will be applied to the final amount of the transaction by the payment provider after using installments.

usedboolean

Specifies whether a checkout session was used previously or not.

checkout_idstring
wallet_card_acceptanceobject

Card acceptance rules sent when the checkout session was created. Returned only when the session was created with it.

Show wallet_card_acceptance properties
supported_countriesstring[]

Countries that issued the card, as ISO 3166-1 alpha-2 codes. This is the card’s issuing country, not the customer’s location.

supported_networksstring[]

Card networks the customer can select. Replaces the default list (AMEX, DISCOVER, ELECTRON, ELO, MASTERCARD, VISA, MAESTRO).

supported_funding_types"CREDIT" | "DEBIT"[]

Funding types the customer can select: CREDIT, DEBIT, or both.

400

codestring
messagesstring[]

401

codestring
messagesstring[]

403

codestring
messagesstring[]
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/checkout/sessions/<id>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "id": "02caeb08-45c0-4670-9736-5bdee1b311f8",
  "merchant_order_id": "1752072398",
  "country": "AR",
  "payment_description": "Test Cards",
  "customer_id": "e937e18e-a684-4d7b-a1a1-ab64c10a941d",
  "callback_url": "https://google.com/?checkoutSession=02caeb08-45c0-4670-9736-5bdee1b311f8",
  "amount": {
    "currency": "ARS",
    "value": 520
  },
  "created_at": "2025-07-09T14:46:39.515251Z",
  "metadata": [
    {
      "key": "age",
      "value": "28"
    }
  ],
  "workflow": "SDK_CHECKOUT",
  "installments": {
    "plan_id": "string",
    "plan": [
      {
        "installment": 3,
        "rate": 1.5
      }
    ]
  },
  "used": true,
  "checkout_id": "6822f80c-684e-41a3-8628-78963d3d60f7",
  "wallet_card_acceptance": {
    "supported_countries": [
      "BR"
    ],
    "supported_networks": [
      "VISA",
      "MASTERCARD"
    ],
    "supported_funding_types": [
      "CREDIT"
    ]
  }
}