{ "opencollection": "1.0.0", "info": { "name": "Grid Agent Management External Accounts API", "version": "2025-10-13" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "External Accounts", "type": "folder" }, "items": [ { "info": { "name": "List Customer external accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.lightspark.com/grid/2025-10-13/customers/external-accounts", "params": [ { "name": "currency", "value": "", "type": "query", "description": "Filter by currency code" }, { "name": "customerId", "value": "", "type": "query", "description": "Filter by external accounts associated with a specific customer" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return (default 20, max 100)" }, { "name": "cursor", "value": "", "type": "query", "description": "Cursor for pagination (returned from previous request)" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a list of external accounts with optional filtering parameters. Returns all\nexternal accounts that match the specified filters. If no filters are provided, returns all external accounts\n(paginated).\n\nExternal accounts are bank accounts, cryptocurrency wallets, or other payment destinations that customers can use to receive funds from the platform.\n" }, { "info": { "name": "Add a new external account", "type": "http" }, "http": { "method": "POST", "url": "https://api.lightspark.com/grid/2025-10-13/customers/external-accounts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Register a new external bank account for a customer." }, { "info": { "name": "Get customer external account by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.lightspark.com/grid/2025-10-13/customers/external-accounts/:externalAccountId", "params": [ { "name": "externalAccountId", "value": "", "type": "path", "description": "System-generated unique external account identifier" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a customer external account by its system-generated ID" }, { "info": { "name": "Delete customer external account by ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.lightspark.com/grid/2025-10-13/customers/external-accounts/:externalAccountId", "params": [ { "name": "externalAccountId", "value": "", "type": "path", "description": "System-generated unique external account identifier" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a customer external account by its system-generated ID" }, { "info": { "name": "List platform external accounts", "type": "http" }, "http": { "method": "GET", "url": "https://api.lightspark.com/grid/2025-10-13/platform/external-accounts", "params": [ { "name": "currency", "value": "", "type": "query", "description": "Filter by currency code" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return (default 20, max 100)" }, { "name": "cursor", "value": "", "type": "query", "description": "Cursor for pagination (returned from previous request)" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a list of all external accounts that belong to the platform, as opposed to an individual customer.\n\nThese accounts are used for platform-wide operations such as receiving funds from external sources or managing platform-level payment destinations.\n" }, { "info": { "name": "Add a new platform external account", "type": "http" }, "http": { "method": "POST", "url": "https://api.lightspark.com/grid/2025-10-13/platform/external-accounts", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Register a new external bank account for the platform." }, { "info": { "name": "Get platform external account by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.lightspark.com/grid/2025-10-13/platform/external-accounts/:externalAccountId", "params": [ { "name": "externalAccountId", "value": "", "type": "path", "description": "System-generated unique external account identifier" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve a platform external account by its system-generated ID" }, { "info": { "name": "Delete platform external account by ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.lightspark.com/grid/2025-10-13/platform/external-accounts/:externalAccountId", "params": [ { "name": "externalAccountId", "value": "", "type": "path", "description": "System-generated unique external account identifier" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a platform external account by its system-generated ID" } ] } ], "bundled": true }