---
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: HTTP bearer

## Path parameters

- `id` string, required

## 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/gfr-ai-agents-api.md) · [All operations](https://skmtc.dev/globalfinreg/apis/gfr-ai-agents-api/llms.txt) · [OpenAPI document](https://skmtc.dev/globalfinreg/apis/gfr-ai-agents-api/revisions/f8afe0178e1b?raw)
