---
title: "POST /purchase/capture"
method: POST
path: "/purchase/capture"
---

# POST /purchase/capture

`POST /purchase/capture`

Capture a purchase

## Request body

- object
  - `recipients` string[]
  - `network` number, required
  - `lock` string, required
  - `userAddress` string, required
  - `paymentIntent` string, required
  - `data` string[]
  - `referrers` string[]
  - `purchaseType` 'extend' | 'purchase' — whether to extend or purchase membership for the recipient.

## Response `200`

Successfully captured purchase

- object
  - `transactionHash` string

---

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