{ "opencollection": "1.0.0", "info": { "name": "Formance Platform Auth Webhooks API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://{organization}.{environment}.formance.cloud/api/auth/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Get many configs", "type": "http" }, "http": { "method": "GET", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs" }, "docs": "Get many configs" }, { "info": { "name": "Insert a new config", "type": "http" }, "http": { "method": "POST", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs" }, "docs": "Insert a new config" }, { "info": { "name": "Update one config", "type": "http" }, "http": { "method": "PUT", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Update one config" }, { "info": { "name": "Delete one config", "type": "http" }, "http": { "method": "DELETE", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete one config" }, { "info": { "name": "Activate one config", "type": "http" }, "http": { "method": "PUT", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs/:id/activate", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Activate one config" }, { "info": { "name": "Deactivate one config", "type": "http" }, "http": { "method": "PUT", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs/:id/deactivate", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deactivate one config" }, { "info": { "name": "Change the signing secret of a config", "type": "http" }, "http": { "method": "PUT", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs/:id/secret/change", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Change the signing secret of a config" }, { "info": { "name": "Test one config", "type": "http" }, "http": { "method": "GET", "url": "https://{organization}.{environment}.formance.cloud/api/webhooks/configs/:id/test", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Test one config" } ] } ], "bundled": true }