{ "opencollection": "1.0.0", "info": { "name": "Yokoy Card account Transaction API", "version": "1.41.0" }, "items": [ { "info": { "name": "Transaction", "type": "folder" }, "items": [ { "info": { "name": "List all transactions", "type": "http" }, "http": { "method": "GET", "url": "https://api.yokoy.ai/v1/organizations/{organizationId}/transactions", "params": [ { "name": "filter", "value": "created ge 2024-03-02T09:00.000Z and customInformation.customField eq foo", "type": "query", "description": "Filter string used to restrict the data returned. You can use [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.4.2.2) filters." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://accounts[.test].yokoy.ai/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves all transactions for the organization." }, { "info": { "name": "Create a card transaction", "type": "http" }, "http": { "method": "POST", "url": "https://api.yokoy.ai/v1/organizations/{organizationId}/transactions", "headers": [ { "name": "X-Yk-Auth-Method", "value": "yokoy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new card transaction in Yokoy that is associated with a specific company card, scoped to a legal entity." }, { "info": { "name": "Get transaction by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.yokoy.ai/v1/organizations/{organizationId}/transactions/:transactionId", "params": [ { "name": "transactionId", "value": "aB9jQoE3HE", "type": "path", "description": "Yokoy unique ID of the transaction." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://accounts[.test].yokoy.ai/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves a transaction identified by its unique ID." } ] } ], "bundled": true }