{ "opencollection": "1.0.0", "info": { "name": "Unlock Locksmith Applications Receipts API", "version": "2" }, "items": [ { "info": { "name": "Receipts", "type": "folder" }, "items": [ { "info": { "name": "getReceiptsStatus", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/receipts/all/:network/:lockAddress", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve the status of receipt generation for a lock." }, { "info": { "name": "createDownloadReceiptsRequest", "type": "http" }, "http": { "method": "POST", "url": "https://locksmith.unlock-protocol.com/v2/receipts/all/:network/:lockAddress", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Request the creation of a ZIP file containing all receipts for a lock." }, { "info": { "name": "downloadReceipts", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/receipts/download/:network/:lockAddress", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Download the ZIP file containing all receipts for a lock." }, { "info": { "name": "getReceipts", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/receipts/:network/:lockAddress/all", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get all receipts for a lock" }, { "info": { "name": "getReceipt", "type": "http" }, "http": { "method": "GET", "url": "https://locksmith.unlock-protocol.com/v2/receipts/:network/:lockAddress/:hash", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "hash", "value": "", "type": "path", "description": "Hash" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get receipt details" }, { "info": { "name": "saveReceipt", "type": "http" }, "http": { "method": "POST", "url": "https://locksmith.unlock-protocol.com/v2/receipts/:network/:lockAddress/:hash", "params": [ { "name": "network", "value": "", "type": "path", "description": "Network id." }, { "name": "lockAddress", "value": "", "type": "path", "description": "Lock address." }, { "name": "hash", "value": "", "type": "path", "description": "Hash" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create purchaser details" } ] } ], "bundled": true }