{ "opencollection": "1.0.0", "info": { "name": "Ordway REST Billing Runs Payments API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Payments", "type": "folder" }, "items": [ { "info": { "name": "List payment methods for a customer", "type": "http" }, "http": { "method": "GET", "url": "https://api.ordwaylabs.com/api/v1/customers/:id/payment_methods", "params": [ { "name": "id", "value": "", "type": "path", "description": "Resource identifier" } ] }, "docs": "List payment methods for a customer" }, { "info": { "name": "List payments", "type": "http" }, "http": { "method": "GET", "url": "https://api.ordwaylabs.com/api/v1/payments", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number for pagination (1-based)" }, { "name": "size", "value": "", "type": "query", "description": "Number of records per page" }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated list of fields to sort by (prefix with - for descending)" }, { "name": "updated_date>", "value": "", "type": "query", "description": "Filter payments updated after this date-time (ISO 8601)" } ] }, "docs": "List payments" }, { "info": { "name": "Create a payment", "type": "http" }, "http": { "method": "POST", "url": "https://api.ordwaylabs.com/api/v1/payments", "body": { "type": "json", "data": "{}" } }, "docs": "Create a payment" }, { "info": { "name": "Retrieve a payment", "type": "http" }, "http": { "method": "GET", "url": "https://api.ordwaylabs.com/api/v1/payments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Resource identifier" } ] }, "docs": "Retrieve a payment" } ] } ], "bundled": true }