Get the price breakdown for recipients & total charges with fees for a specific lock

get/v2/api/charges/{network}/locks/{lockAddress}

Request

  • Base URL
    https://locksmith.unlock-protocol.com
  • URL
    https://locksmith.unlock-protocol.com/v2/api/charges/{network}/locks/{lockAddress}
  • Auth
    none declared

Path parameters

networkinteger required

Network id.

lockAddressstring required

Lock address.

Query parameters

purchaseData[]string[] required

The purchase data passed to the purchase function

recipients[]string[] required

The recipients passed to the purchase function

Response

Successfully got card pricing for universal cards

totalnumber required
symbolstring
creditCardProcessingFeenumber
unlockServiceFeenumber required
gasCostnumber required

Changes