---
title: "Complete the checkout with payment.instruments[0]: handler 'invoice' (credential purchase_order_number) or 'card_stripe_spt' (credential type spt with a Stripe shared payment token)."
method: POST
path: "/ucp/v1/checkout-sessions/{id}/complete"
tags: ["UcpCheckout"]
---

# Complete the checkout with payment.instruments\[0\]: handler 'invoice' (credential purchase_order_number) or 'card_stripe_spt' (credential type spt with a Stripe shared payment token).

`POST /ucp/v1/checkout-sessions/{id}/complete`

## Request

- Base URL: `https://api2.globalfinreg.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api2.globalfinreg.com/ucp/v1/checkout-sessions/{id}/complete`
- Auth: API key in header `Authorization`

## Path parameters

- `id` string, required

## Headers

- `x-imp-userid` string

## Request body

- UcpCheckoutRequest
  - `lineItems` UcpLineItem[], nullable
    - `item` UcpItem
      - `id` string, nullable
    - `quantity` integer, nullable
  - `currency` string, nullable
  - `payment` UcpPayment
    - `instruments` UcpInstrument[], nullable
      - `id` string, nullable
      - `handlerId` string, nullable
      - `type` string, nullable
      - `credential` UcpCredential
        - `type` string, nullable
        - `token` string, nullable
        - `purchaseOrderNumber` string, nullable

## Response `200`

The completed checkout with its order

---

[API](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation.md) · [All operations](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/revisions/97e306fd0c82?raw)
