---
title: "POST /v2/purchase/intent/{network}/locks/{lockAddress}"
method: POST
path: "/v2/purchase/intent/{network}/locks/{lockAddress}"
---

# POST /v2/purchase/intent/{network}/locks/{lockAddress}

`POST /v2/purchase/intent/{network}/locks/{lockAddress}`

Create purchase intent for stripe.

## Path parameters

- `network` integer, required
- `lockAddress` string, required

## Request body

- object
  - `recipients` string[], required
  - `stripeTokenId` string, required
  - `pricing` number, required
  - `recurring` number, nullable
  - `data` string[]
  - `referrers` string[]

## Response `200`

Created payment intent client secret, account, and other details.

- object
  - `clientSecret` string
  - `stripeAccount` string
  - `totalPriceInDents` number
  - `pricing` object, nullable
    - `keyPrice` number, nullable
    - `unlockServiceFee` number, nullable
    - `creditCardProcessing` number, nullable

## Other responses

- `400` — Invalid input received. Bad request.

---

[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)
