---
title: "Complete Payment"
method: POST
path: "/v1/bridge/payments/{id}"
tags: ["Bridge"]
---

# Complete Payment

`POST /v1/bridge/payments/{id}`

Completes a payment using its default token and amount. If the user does not have sufficient funds in the product's default payment token a 402 status will be returned containing a link and raw quote for purchase fulfillment. 

**Authentication**: This endpoint requires project authentication.

## Path parameters

- `id` string, required

## Request body

- object — Request to purchase a product. The system will automatically use your wallet balance to purchase the specified product.
  - `from` string — The wallet address or ENS name that will purchase the product. If omitted, the project wallet will be used if available.

## Response `200`

Product purchased successfully. Returns the transaction used for the purchase.

- object
  - `result` object, required
    - `transactionId` string, required — Transaction ID that was executed for your product purchase

## Other responses

- `400` — Invalid request parameters.
- `401` — Authentication required. For backend usage, include `x-secret-key` header. For frontend usage, include `x-client-id` + `Authorization: Bearer <jwt>` headers.
- `402` — Payment required. Insufficient wallet balance to complete the purchase.
- `500` — Internal server error. This may occur due to network connectivity issues, wallet creation failures, or transaction execution failures.

---

[API](https://skmtc.net/thirdweb/apis/thirdweb-api.md) · [All operations](https://skmtc.net/thirdweb/apis/thirdweb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thirdweb/thirdweb-api/versions/fb4cb67da1c7/schema)
