Skip to main content

purchase

Create purchase intent for stripe.

Path Parameters
network integer REQUIRED

Network id.

lockAddress string REQUIRED

Lock address.

Request Body REQUIRED
recipients string[]
stripeTokenId string
pricing number
recurring number
Responses
200

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

Schema
clientSecret string
stripeAccount string
totalPriceInDents number
pricing object
keyPrice number
unlockServiceFee number
creditCardProcessing number
400

Invalid input received. Bad request.

Schema
message string
error string
purchase
POST /v2/purchase/intent/:network/locks/:lockAdddress
network — path
lockAddress — path
Body
Loading...
https://locksmith.unlock-protocol.com
curl -L -X POST 'https://locksmith.unlock-protocol.com/v2/purchase/intent/:network/locks/:lockAdddress' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'