{ "opencollection": "1.0.0", "info": { "name": "Modern Treasury AccountCapability PaymentAction API", "version": "v1" }, "items": [ { "info": { "name": "PaymentAction", "type": "folder" }, "items": [ { "info": { "name": "list payment_actions", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/payment_actions", "params": [ { "name": "type", "value": "", "type": "query", "description": "The type of payment action." }, { "name": "status", "value": "", "type": "query", "description": "Filter by payment actions of a specific status." }, { "name": "actionable_id", "value": "", "type": "query", "description": "The ID of the associated actionable object." }, { "name": "actionable_type", "value": "", "type": "query", "description": "The type of the associated actionable object. One of `payment_order`, `expected_payment`." }, { "name": "internal_account_id", "value": "", "type": "query", "description": "The ID of one of your internal accounts." }, { "name": "created_at", "value": "", "type": "query", "description": "Filter by `created_at` using comparison operators like `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the created at timestamp. For example, `created_at[gte]=2024-01-01T00:00:00Z`" }, { "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." }, { "name": "after_cursor", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a list of all payment actions." }, { "info": { "name": "create payment_action", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:3000/api/payment_actions", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Create a payment action." }, { "info": { "name": "get payment_action", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:3000/api/payment_actions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get details on a single payment action." }, { "info": { "name": "update payment_action", "type": "http" }, "http": { "method": "PATCH", "url": "http://localhost:3000/api/payment_actions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update a single payment action." } ] } ], "bundled": true }