{ "opencollection": "1.0.0", "info": { "name": "Autopay Accounting Payment API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api-auth.autopay.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Payment", "type": "folder" }, "items": [ { "info": { "name": "Register an external payment and connect it to parking", "type": "http" }, "http": { "method": "POST", "url": "https://api.autopay.io/payment/v1/connect_parking", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api-auth.autopay.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Register an external payment and connect it to parking" }, { "info": { "name": "Request manual stopping of parking", "type": "http" }, "http": { "method": "POST", "url": "https://api.autopay.io/payment/v1/manual_stop", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api-auth.autopay.io/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Request manual stopping of parking" } ] } ], "bundled": true }