---
title: "Complete a session into a merchant payment URL"
method: POST
path: "/api/v1/market/checkout_sessions/{sessionId}/complete"
---

# Complete a session into a merchant payment URL

`POST /api/v1/market/checkout_sessions/{sessionId}/complete`

## Request

- Base URL: `https://qomvia.com`
- URL: `https://qomvia.com/api/v1/market/checkout_sessions/{sessionId}/complete`
- Auth: one of:
  - HTTP bearer
  - none

The buyer pays the merchant on the returned URL. Feed-only merchants get a pre-built redirect URL; deeper integrations create the order on the merchant side.

## Path parameters

- `sessionId` string, required

## Response `200`

Session plus the URL to send the buyer to.

- object
  - `sessionId` string
  - `status` string
  - `paymentUrl` string, uri
  - `orderId` string, nullable
  - `expiresAt` string, date-time

## Other responses

- `404`: Unknown session.
- `409`: Already completed, cancelled or expired.
- `501`: Merchant-side order creation is not live for this integration yet.

---

[API](https://skmtc.dev/qomvia/apis/qomvia-public-api.md) · [All operations](https://skmtc.dev/qomvia/apis/qomvia-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qomvia/apis/qomvia-public-api/revisions/0faa5a30f1a7?raw)
