{ "opencollection": "1.0.0", "info": { "name": "Sage Accounting Bank Accounts Payments API", "version": "3.1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.sageone.com/oauth2/auth", "accessTokenUrl": "https://oauth.accounting.sage.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Payments", "type": "folder" }, "items": [ { "info": { "name": "Record Sales Payment", "type": "http" }, "http": { "method": "POST", "url": "https://api.accounting.sage.com/v3.1/sales_invoices/:key/payments", "params": [ { "name": "key", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Records a payment received for a sales invoice." }, { "info": { "name": "Record Purchase Payment", "type": "http" }, "http": { "method": "POST", "url": "https://api.accounting.sage.com/v3.1/purchase_invoices/:key/payments", "params": [ { "name": "key", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Records a payment made for a purchase invoice." } ] } ], "bundled": true }