---
updatedAt: 2026-07-21T18:18:26.000Z
agentTools:
  projectIndex: https://developer.paze.com/public/llms.txt
---

# Review Session

API to retrieve the data related to the card selected by the consumer in the Paze checkout UX, such as the consumer name, masked card, and shipping address, to display on a confirmation screen, if the merchant desires to do so.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Paze Checkout API",
    "description": "Paze Checkout API for Merchants",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.paze.com"
    }
  ],
  "security": [
    {
      "OAuth2": []
    }
  ],
  "tags": [
    {
      "name": "Checkout Session",
      "description": "API to enable merchants launching checkout from native mobile application."
    }
  ],
  "paths": {
    "/v1/checkout/sessions/review": {
      "post": {
        "summary": "Review Session",
        "tags": [
          "Checkout Session"
        ],
        "description": "API to retrieve the data related to the card selected by the consumer in the Paze checkout UX, such as the consumer name, masked card, and shipping address, to display on a confirmation screen, if the merchant desires to do so.",
        "requestBody": {
          "description": "Request Body",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutSessionReviewRequest"
              },
              "examples": {
                "ReviewRequestExample": {
                  "$ref": "#/components/examples/CheckoutSessionReviewRequestExample"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully received complete call for transaction",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckoutSessionReviewResponse"
                },
                "examples": {
                  "ReviewResponseExample": {
                    "$ref": "#/components/examples/CheckoutSessionReviewResponseExample"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request. Incorrectly formatted request, may be missing id parameter",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletMobile4xxResponse"
                },
                "examples": {
                  "CheckoutSessionCreate400ResponseExample": {
                    "$ref": "#/components/examples/ApiResponse400Example"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. Access token missing or no longer valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletMobile4xxResponse"
                },
                "examples": {
                  "ApiResponse401Example": {
                    "$ref": "#/components/examples/ApiResponse401Example"
                  }
                }
              }
            }
          },
          "422": {
            "description": "The error occurred at the TSP while processing the provisioning request. The error structure will provide the details as provided by the TSP.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletMobile4xxResponse"
                },
                "examples": {
                  "CheckoutSessionCreate422ResponseExample": {
                    "$ref": "#/components/examples/ApiResponse422Example"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletMobile4xxResponse"
                },
                "examples": {
                  "CheckoutSessionCreate422ResponseExample": {
                    "$ref": "#/components/examples/ApiResponse500Example"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ewsResponse": {
        "description": "Beginning of every response body",
        "type": "object",
        "properties": {
          "clientContext": {
            "type": "string",
            "maxLength": 64
          },
          "ewSID": {
            "type": "string",
            "maxLength": 36,
            "description": "Globally unique identifier generated by Early Warning. Returned in the response message in\nresponse to the initial request. This identifier ties all information about the session together and\nshould be easily accessible by customer staff submitting support requests to Early Warning.\nCharacter set a-f, 0-9, -."
          },
          "timestampISO8601": {
            "type": "string",
            "maxLength": 24,
            "description": "Timestamp of message in ISO8601 extended combined format.\nFormat: {YYYY}-{MM|-{DD}T{HH}:{MM}:{SS}Z\nExample: 2015-12-31T17:18Z Time stamp when response is sent by the Service Operator Services.",
            "format": "date-time"
          }
        },
        "required": [
          "ewSID",
          "timestampISO8601"
        ]
      },
      "WalletMobile4xxResponse": {
        "description": "generic 4xx mobile api response schema",
        "allOf": [
          {
            "$ref": "#/components/schemas/ewsResponse"
          },
          {
            "type": "object",
            "properties": {
              "error": {
                "$ref": "#/components/schemas/error-message"
              }
            }
          }
        ]
      },
      "CheckoutSessionReviewRequest": {
        "description": "Checkout Session Request",
        "allOf": [
          {
            "$ref": "#/components/schemas/clientContext"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "description": "Payload containing all fields that can be passed to this API.",
                "properties": {
                  "sessionId": {
                    "$ref": "#/components/schemas/session-id"
                  },
                  "code": {
                    "type": "string",
                    "maxLength": 10000,
                    "pattern": "^[A-Za-z0-9]+\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$",
                    "description": "An opaque first party token (“code”) issued and provided by Paze to the Merchant in the response from the most recent Paze UX interaction. After successful interaction with Paze UX, URI gets redirect to to customURL Scheme look for param \"Response\" (base64 encoded), base64 decode will give the code."
                  }
                },
                "required": [
                  "sessionId",
                  "code"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "CheckoutSessionReviewResponse": {
        "description": "create Checkout Session response schema",
        "allOf": [
          {
            "$ref": "#/components/schemas/ewsResponse"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "description": "Payload containing all fields that can be passed to this API.",
                "properties": {
                  "consumer": {
                    "$ref": "#/components/schemas/consumer"
                  },
                  "maskedCard": {
                    "$ref": "#/components/schemas/masked-card"
                  },
                  "shippingAddress": {
                    "$ref": "#/components/schemas/shipping-address"
                  },
                  "links": {
                    "$ref": "#/components/schemas/links"
                  },
                  "code": {
                    "type": "string",
                    "maxLength": 10000,
                    "description": "An opaque first party token (“code”) issued and provided by Paze to the Merchant in the response to include in next call."
                  }
                },
                "required": [
                  "consumer",
                  "maskedCard",
                  "code",
                  "links"
                ]
              }
            },
            "required": [
              "data"
            ]
          }
        ]
      },
      "session-id": {
        "type": "string",
        "minLength": 0,
        "maxLength": 255,
        "description": "Session reference identifier generated by the Merchant. This must be reused across all the Paze APIs involved during a checkout session so all the system activity can be correctly correlated for that single checkout session."
      },
      "card-network-response": {
        "type": "string",
        "enum": [
          "VISA",
          "MASTERCARD",
          "DISCOVER"
        ],
        "maxLength": 32
      },
      "pay-out-supported": {
        "type": "string",
        "maxLength": 32,
        "enum": [
          "YES",
          "NO",
          "UNKNOWN"
        ]
      },
      "clientContext": {
        "type": "object",
        "properties": {
          "clientContext": {
            "type": "string",
            "pattern": "(^[a-zA-Z0-9_-]{1,64}$)",
            "maxLength": 64,
            "minLength": 0,
            "description": "Customer-defined transaction identifier, reflected in response.  Referred to as “sessionId” in web integration. Session reference identifier generated by the Merchant. If present here, it will be returned in the Checkout response. This is recommended to be identical across the Checkout request and the /wallets/sessions/checkout/complete request."
          }
        }
      },
      "error-details": {
        "type": "array",
        "description": "Provided error message details",
        "items": {
          "type": "object",
          "properties": {
            "reason": {
              "type": "string",
              "maxLength": 128
            },
            "source": {
              "type": "string",
              "maxLength": 128
            },
            "message": {
              "type": "string",
              "maxLength": 256
            }
          }
        }
      },
      "error-message": {
        "type": "object",
        "description": "A provided error message",
        "properties": {
          "reason": {
            "type": "string",
            "maxLength": 64
          },
          "message": {
            "type": "string",
            "maxLength": 1024
          },
          "details": {
            "$ref": "#/components/schemas/error-details"
          }
        },
        "required": [
          "reason",
          "message"
        ]
      },
      "consumer": {
        "type": "object",
        "description": "Details associated with the authenticated consumer.",
        "properties": {
          "firstName": {
            "type": "string",
            "maxLength": 50,
            "description": "First name of the individual."
          },
          "lastName": {
            "type": "string",
            "maxLength": 50,
            "description": "Last name of the individual"
          },
          "fullName": {
            "type": "string",
            "maxLength": 100,
            "description": "The full name of the individual."
          },
          "countryCode": {
            "$ref": "#/components/schemas/country-code"
          },
          "languageCode": {
            "type": "string",
            "description": "Language associated with this wallet. ISO 639-1 code."
          },
          "emailAddress": {
            "type": "string",
            "maxLength": 128,
            "description": "Email address of the consumer."
          },
          "mobileNumber": {
            "$ref": "#/components/schemas/contact-phone"
          }
        },
        "required": [
          "fullName",
          "emailAddress"
        ]
      },
      "contact-phone": {
        "type": "object",
        "description": "Consumer-provided phone number of the contact person",
        "properties": {
          "countryCode": {
            "type": "string",
            "maxLength": 4,
            "description": "Country code as defined by the International Telecommunication Union (ITU)/ International Subscriber Dialing (ISD) Codes."
          },
          "phoneNumber": {
            "type": "string",
            "maxLength": 10,
            "pattern": "^[0-9]*$",
            "description": "Phone number string without contrycode."
          }
        },
        "required": [
          "countryCode",
          "phoneNumber"
        ]
      },
      "contact-details": {
        "type": "object",
        "description": "Delivery contact details for a shipping address.",
        "properties": {
          "contactFullName": {
            "type": "string",
            "maxLength": 100,
            "minLength": 0,
            "description": "Consumer-provided name of the contact person."
          },
          "contactPhoneNumber": {
            "$ref": "#/components/schemas/contact-phone"
          }
        }
      },
      "country-code": {
        "type": "string",
        "description": "ISO 3166-1 alpha-2 country code.",
        "enum": [
          "AF",
          "AX",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AQ",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BQ",
          "BA",
          "BW",
          "BV",
          "BR",
          "IO",
          "BN",
          "BG",
          "BF",
          "BI",
          "CV",
          "KH",
          "CM",
          "CA",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CX",
          "CC",
          "CO",
          "KM",
          "CG",
          "CD",
          "CK",
          "CR",
          "CI",
          "HR",
          "CU",
          "CW",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "SZ",
          "ET",
          "FK",
          "FO",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "TF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HM",
          "VA",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IM",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KP",
          "KR",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LS",
          "LR",
          "LY",
          "LI",
          "LT",
          "LU",
          "MO",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "FM",
          "MD",
          "MC",
          "MN",
          "ME",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NF",
          "MK",
          "MP",
          "NO",
          "OM",
          "PK",
          "PW",
          "PS",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PN",
          "PL",
          "PT",
          "PR",
          "QA",
          "RE",
          "RO",
          "RU",
          "RW",
          "BL",
          "SH",
          "KN",
          "LC",
          "MF",
          "PM",
          "VC",
          "WS",
          "SM",
          "ST",
          "SA",
          "SN",
          "RS",
          "SC",
          "SL",
          "SG",
          "SX",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "GS",
          "SS",
          "ES",
          "LK",
          "SD",
          "SR",
          "SJ",
          "SE",
          "CH",
          "SY",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TL",
          "TG",
          "TK",
          "TO",
          "TT",
          "TN",
          "TR",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "GB",
          "US",
          "UM",
          "UY",
          "UZ",
          "VU",
          "VE",
          "VN",
          "VG",
          "VI",
          "WF",
          "EH",
          "YE",
          "ZM",
          "ZW"
        ]
      },
      "shipping-address": {
        "type": "object",
        "description": "The selected shipping address.<br>Condition -- Returned only when shippingPreference is not NONE.",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 0
          },
          "line1": {
            "type": "string",
            "maxLength": 50,
            "minLength": 0
          },
          "line2": {
            "type": "string",
            "maxLength": 50,
            "minLength": 0
          },
          "line3": {
            "type": "string",
            "maxLength": 50,
            "minLength": 0
          },
          "city": {
            "type": "string",
            "maxLength": 128,
            "minLength": 0
          },
          "state": {
            "type": "string",
            "maxLength": 2,
            "minLength": 0
          },
          "zip": {
            "type": "string",
            "minLength": 0,
            "maxLength": 10,
            "description": "Postal Code (5 digit or ZIP+4 format)"
          },
          "countryCode": {
            "$ref": "#/components/schemas/country-code"
          },
          "deliveryContactDetails": {
            "$ref": "#/components/schemas/contact-details"
          }
        },
        "required": [
          "line1",
          "city",
          "state",
          "zip",
          "countryCode"
        ]
      },
      "billing-address": {
        "type": "object",
        "description": "Billing address objects for this wallet. Provided when billingPreference is not set to NONE.",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "example": "someone"
          },
          "line1": {
            "type": "string",
            "maxLength": 50,
            "description": "Returned if billingPreference is ALL.",
            "example": "lane x"
          },
          "line2": {
            "type": "string",
            "maxLength": 50
          },
          "line3": {
            "type": "string",
            "maxLength": 50
          },
          "city": {
            "type": "string",
            "maxLength": 128,
            "description": "Returned if billingPreference is ALL",
            "example": "newyork city"
          },
          "state": {
            "type": "string",
            "maxLength": 2,
            "description": "Returned if billingPreference is ALL",
            "example": "NY"
          },
          "zip": {
            "type": "string",
            "maxLength": 10,
            "description": "Postal Code (5 digit or ZIP+4 format).",
            "example": "60172"
          },
          "countryCode": {
            "$ref": "#/components/schemas/country-code"
          }
        },
        "required": [
          "line1",
          "city",
          "state",
          "zip",
          "countryCode"
        ]
      },
      "digital-card-data": {
        "type": "object",
        "description": "Data containing card art attributes",
        "properties": {
          "artUri": {
            "type": "string",
            "maxLength": 1024
          },
          "artHeight": {
            "type": "number"
          },
          "artWidth": {
            "type": "number"
          }
        },
        "required": [
          "artUri",
          "artHeight",
          "artWidth"
        ]
      },
      "masked-card": {
        "type": "object",
        "description": "Customers masked card info",
        "properties": {
          "panLastFour": {
            "type": "string",
            "maxLength": 4
          },
          "paymentAccountReference": {
            "type": "string",
            "maxLength": 29,
            "description": "Payment Account Reference (PAR). A non-financial reference assigned to each unique PAN and used to link a payment account represented by that PAN to affiliated Payment Tokens."
          },
          "paymentCardDescriptor": {
            "type": "string",
            "maxLength": 32,
            "description": "A free-form string (max of 32 characters used for card/program recognition. Example 'Travel Rewards', 'Cashback Rewards' etc."
          },
          "panExpirationMonth": {
            "type": "string",
            "maxLength": 2,
            "description": "2-digit Primary Account Number (PAN) expiration month. <br> NOTE - Required if card supports expiry"
          },
          "panExpirationYear": {
            "type": "string",
            "maxLength": 4,
            "description": "4-digit PAN expiration year. <br> NOTE - Required if card supports expiry"
          },
          "digitalCardData": {
            "$ref": "#/components/schemas/digital-card-data"
          },
          "billingAddress": {
            "$ref": "#/components/schemas/billing-address"
          },
          "paymentCardType": {
            "type": "string",
            "maxLength": 32,
            "enum": [
              "CREDIT",
              "DEBIT"
            ]
          },
          "paymentCardBrand": {
            "$ref": "#/components/schemas/card-network-response"
          },
          "paymentCardNetwork": {
            "$ref": "#/components/schemas/card-network-response"
          },
          "payoutSupported": {
            "$ref": "#/components/schemas/pay-out-supported"
          }
        },
        "required": [
          "panLastFour",
          "paymentAccountReference",
          "paymentCardDescriptor",
          "digitalCardData",
          "billingAddress",
          "paymentCardType",
          "paymentCardBrand",
          "paymentCardNetwork"
        ]
      },
      "links": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "link": {
            "type": "string"
          }
        },
        "description": "This field contains follow-up links for changing the address and card if the Merchant provides those functions to their user. Valid Map Keys are - <br>* CHANGE_CARD<br>* CHANGE_SHIPPING_ADDRESS"
      }
    },
    "examples": {
      "CheckoutSessionReviewRequestExample": {
        "summary": "Sample request",
        "value": {
          "clientContext": "queryContext",
          "data": {
            "sessionId": "5df9983c-bfa1-49ab-ad52-eaab72b6c7c2",
            "code": "abc.def_123.ghi-456"
          }
        }
      },
      "CheckoutSessionReviewResponseExample": {
        "summary": "Sample response",
        "value": {
          "clientContext": "querycontext",
          "ewSID": "string",
          "timestampISO8601": "2022-09-21T11:10:34Z",
          "data": {
            "consumer": {
              "firstName": "Dylan",
              "lastName": "McKay",
              "fullName": "Dylan McKay",
              "emailAddress": "dylan.mckay@bhhs.edu",
              "mobileNumber": {
                "countryCode": "1",
                "phoneNumber": "7735882300"
              },
              "countryCode": "US",
              "languageCode": "EN"
            },
            "maskedCard": {
              "digitalCardId": null,
              "panLastFour": "1234",
              "paymentAccountReference": "unique-card-par-1234567",
              "panExpirationMonth": "01",
              "panExpirationYear": "2028",
              "digitalCardData": {
                "artUri": "https://assets.example/card-art.png",
                "artHeight": 48,
                "artWidth": 76
              },
              "paymentCardDescriptor": "Cash Rewards",
              "paymentCardType": "CREDIT",
              "paymentCardBrand": "VISA",
              "paymentCardNetwork": "VISA",
              "payoutSupported": "YES",
              "billingAddress": {
                "name": "someone",
                "line1": "test lane",
                "city": "Beverly Hills",
                "state": "CA",
                "zip": "90210",
                "countryCode": "US"
              }
            },
            "shippingAddress": {
              "line1": "test lane",
              "city": "Beverly Hills",
              "state": "CA",
              "zip": "90210",
              "countryCode": "US",
              "deliveryContactDetails": {
                "contactFullName": "Brenda",
                "contactPhoneNumber": {
                  "countryCode": "1",
                  "phoneNumber": "7735882300"
                }
              }
            },
            "code": "abc.def_123.ghi-456",
            "links": {
              "action": "CHANGE_CARD",
              "link": "https://merchant.example/change-card"
            }
          }
        }
      },
      "ApiResponse401Example": {
        "summary": "401 Unauthorized",
        "value": {
          "error": "server_error"
        }
      },
      "ApiResponse400Example": {
        "summary": "400 Bad Request",
        "value": {
          "error": {
            "message": "Invalid or missing parameters",
            "reason": "INVALID_ARGUMENT"
          },
          "clientContext": "",
          "ewSID": "0b89854e-49ef-40ae-97ae-f3fe921fd3c3",
          "timestampISO8601": "2025-03-25T00:42:45Z"
        }
      },
      "ApiResponse422Example": {
        "summary": "Unprocessable Entity",
        "value": {
          "error": {
            "message": "Unprocessable Entity",
            "reason": "As provided by the TSP"
          },
          "clientContext": "",
          "ewSID": "0b89854e-49ef-40ae-97ae-f3fe921fd3c3",
          "timestampISO8601": "2025-03-25T00:42:45Z"
        }
      },
      "ApiResponse500Example": {
        "summary": "500 Internal Server Error",
        "value": {
          "error": {
            "message": "Internal Server Error.",
            "reason": "SERVER_ERROR"
          },
          "clientContext": "",
          "ewSID": "0b89854e-49ef-40ae-97ae-f3fe921fd3c3",
          "timestampISO8601": "2025-03-25T00:42:45Z"
        }
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://auth.paze.com/token/",
            "scopes": {
              "sessionId": "Merchant sessionId should be passed for create, review and complete"
            }
          }
        }
      }
    }
  }
}
```