{ "opencollection": "1.0.0", "info": { "name": "Embedded Consumer Wallets Balances Contracts API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Contracts", "type": "folder" }, "items": [ { "info": { "name": "List Templates", "type": "http" }, "http": { "method": "GET", "url": "https://api.cadanapay.com/v1/contract-templates", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Fetch all contract tempaltes" }, { "info": { "name": "List", "type": "http" }, "http": { "method": "GET", "url": "https://api.cadanapay.com/v1/contracts", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "personId", "value": "c30133cc-8d0e-42e5-b18c-24532e46b53e", "type": "query", "description": "Optional UUID of the person to filter the contracts" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Fetch all contracts" }, { "info": { "name": "Create", "type": "http" }, "http": { "method": "POST", "url": "https://api.cadanapay.com/v1/contracts", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a contract" }, { "info": { "name": "Retrieve", "type": "http" }, "http": { "method": "GET", "url": "https://api.cadanapay.com/v1/contracts/:contractId", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The unique identifier for the the contract" }, { "name": "includeDownloadUrl", "value": "", "type": "query", "description": "When true, includes a presigned download URL for the contract PDF (valid for 15 minutes)" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve a single contract by ID" }, { "info": { "name": "Signing URL", "type": "http" }, "http": { "method": "GET", "url": "https://api.cadanapay.com/v1/contracts/:contractId/signingUrl", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The unique identifier for the the contract" }, { "name": "redirectUrl", "value": "", "type": "query", "description": "URL to redirect to after signing the contract" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get contract signing URL. The generated links last for 336 hours." }, { "info": { "name": "Upload Contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.cadanapay.com/v1/contracts-upload", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Upload a contract PDF using a fileId from the files API" } ] } ], "bundled": true }