Create purchase intent for stripe.

post/v2/purchase/intent/{network}/locks/{lockAddress}

Request

  • Base URL
    https://locksmith.unlock-protocol.com
  • URL
    https://locksmith.unlock-protocol.com/v2/purchase/intent/{network}/locks/{lockAddress}
  • Auth
    HTTP bearer

Path parameters

networkinteger required

Network id.

lockAddressstring required

Lock address.

Request body

recipientsstring[] required
stripeTokenIdstring required
pricingnumber required
recurringnumber nullable
datastring[]
referrersstring[]

Response

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

clientSecretstring
stripeAccountstring
totalPriceInDentsnumber

Changes

No recorded changes to this operation across all 50 revisions of this API.