{ "opencollection": "1.0.0", "info": { "name": "Modern Treasury AccountCapability Hold API", "version": "v1" }, "items": [ { "info": { "name": "Hold", "type": "folder" }, "items": [ { "info": { "name": "list holds", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/holds", "params": [ { "name": "after_cursor", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" }, { "name": "target_id", "value": "", "type": "query", "description": "Translation missing: en.openapi.descriptions.payment_order.query_params.target_id" }, { "name": "target_type", "value": "", "type": "query", "description": "Translation missing: en.openapi.descriptions.payment_order.query_params.target_type" }, { "name": "status", "value": "", "type": "query", "description": "Translation missing: en.openapi.descriptions.payment_order.query_params.status" }, { "name": "metadata", "value": "", "type": "query", "description": "For example, if you want to query for records with metadata key `Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query parameters." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a list of holds." }, { "info": { "name": "create hold", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/api/holds", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a new hold" }, { "info": { "name": "show hold", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/holds/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "hold id" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a specific hold" }, { "info": { "name": "update hold", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:3000/api/holds/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "hold id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update a hold" } ] } ], "bundled": true }