SbPublicApiCartPaymentSessionResponse

snowbee.ecom.cart.SbPublicApiCartPaymentSessionResponse

A Drop-in session for the cart. Mount the Drop-in with sessionId, sessionData, clientKey and environment; pass paymentId and the Drop-in's sessionResult to checkout.

amountrequired

Amount the session authorises: the cart's gross total

  • Format: BigDecimal
Example"100.0"
clientKeyrequired

Adyen client key for the Drop-in

currencyIsoCoderequired

ISO 4217 currency

Example"NOK"
environmentrequired

test or live

Example"test"
paymentIdrequired

Payment ID; hand it back at checkout

sessionDatarequired

Adyen session data for the Drop-in

sessionIdrequired
View raw schema
{
  "type": "object",
  "description": "A Drop-in session for the cart. Mount the Drop-in with sessionId, sessionData, clientKey and environment; pass paymentId and the Drop-in's sessionResult to checkout.",
  "properties": {
    "amount": {
      "type": "string",
      "format": "BigDecimal",
      "description": "Amount the session authorises: the cart's gross total",
      "example": "100.0",
      "title": "BigDecimalAsString"
    },
    "clientKey": {
      "type": "string",
      "description": "Adyen client key for the Drop-in",
      "title": "String"
    },
    "currencyIsoCode": {
      "type": "string",
      "description": "ISO 4217 currency",
      "example": "NOK",
      "title": "String"
    },
    "environment": {
      "type": "string",
      "description": "test or live",
      "example": "test",
      "title": "String"
    },
    "paymentId": {
      "type": "string",
      "description": "Payment ID; hand it back at checkout",
      "title": "String"
    },
    "sessionData": {
      "type": "string",
      "description": "Adyen session data for the Drop-in",
      "title": "String"
    },
    "sessionId": {
      "type": "string",
      "title": "String"
    }
  },
  "required": [
    "amount",
    "clientKey",
    "currencyIsoCode",
    "environment",
    "paymentId",
    "sessionData",
    "sessionId"
  ],
  "title": "SbPublicApiCartPaymentSessionResponse"
}