{ "opencollection": "1.0.0", "info": { "name": "Sponge public Agents Secrets API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Secrets", "type": "folder" }, "items": [ { "info": { "name": "List stored keys", "type": "http" }, "http": { "method": "GET", "url": "https://api.wallet.paysponge.com/api/agent-keys", "params": [ { "name": "agentId", "value": "", "type": "query", "description": "Required when not authenticating with an agent API key." }, { "name": "service", "value": "", "type": "query", "description": "Optional service filter." } ] }, "docs": "List stored key metadata for the agent. Values are not returned." }, { "info": { "name": "Store a service key", "type": "http" }, "http": { "method": "POST", "url": "https://api.wallet.paysponge.com/api/agent-keys", "body": { "type": "json", "data": "{}" } }, "docs": "Store an encrypted non-card service key for this agent. Use /api/credit-cards for card details." }, { "info": { "name": "Delete a stored key", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.wallet.paysponge.com/api/agent-keys", "params": [ { "name": "service", "value": "", "type": "query", "description": "Service name." }, { "name": "agentId", "value": "", "type": "query", "description": "Required when not authenticating with an agent API key." } ] }, "docs": "Delete a stored non-card service key by service. Credit cards are stored as agent payment methods." }, { "info": { "name": "Get a stored key value", "type": "http" }, "http": { "method": "GET", "url": "https://api.wallet.paysponge.com/api/agent-keys/value", "params": [ { "name": "service", "value": "", "type": "query", "description": "Service name." }, { "name": "agentId", "value": "", "type": "query", "description": "Required when not authenticating with an agent API key." } ] }, "docs": "Retrieve one decrypted non-card key value. Credit cards are stored as agent payment methods and are not returned from this endpoint." } ] } ], "bundled": true }