---
title: "Update card session"
method: PATCH
path: "/v2/session/{session_id}/card"
tags: ["Virtual"]
---

# Update card session

`PATCH /v2/session/{session_id}/card`

After the virtual card transaction for this session is successfully completed and a Sezzle order is created, call this endpoint to assign your order ID to the (external) reference ID of the Sezzle order.

## Path parameters

- `session_id` string, required

## Request body

- object
  - `order_id` string, required — Your order ID (or number)

## Response `204`

Status No Content

## Other responses

- `400` — Invalid request
- `401` — Unauthorized. Returned for any failed bearer or basic auth, including expired bearer tokens.
- `404` — The specified resource was not found
- `422` — Unable to process the request entity

---

[API](https://skmtc.dev/sezzle/apis/sezzle-api-v2.md) · [All operations](https://skmtc.dev/sezzle/apis/sezzle-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sezzle/sezzle-api-v2/revisions/878c32abbb37/schema)
