List agent's internal accounts
Changed onRetrieve the internal accounts belonging to the customer this agent operates on behalf of. Use this to discover available source accounts for transfers and quotes, and to verify which accounts are accessible under the agent's accountRestrictions policy.
Request
- Base URL: https://api.lightspark.com/grid/2025-10-13
- URL: https://api.lightspark.com/grid/2025-10-13/agents/me/internal-accounts
- Auth: HTTP bearer
Query parameters
Filter by currency code
Classification of an internal account.
- INTERNAL_FIAT: A Grid-managed fiat holding account (for example, the USD holding account used as the source for Payouts flows).
- INTERNAL_CRYPTO: A Grid-managed crypto holding account denominated in a stablecoin such as USDC.
- EMBEDDED_WALLET: A self-custodial Embedded Wallet provisioned for the customer. Outbound transfers require a session signature produced by the customer's device — see the Embedded Wallets guide.
- RULE_BASED: An additional account number for an existing account holder, with a routing rule attached, so incoming payments can be attributed to a specific payer and swept automatically. Created with POST /internal-accounts.
- BULK_SETTLEMENT: An account for receiving bulk payments (for example, a single settlement from a payment processor) that the platform then pays out to its customers. Only a platform can hold one, and funds in it can move only to the platform's customers.
Filter by internal account type. Use EMBEDDED_WALLET to find the self-custodial wallet provisioned for the customer, INTERNAL_FIAT / INTERNAL_CRYPTO for platform-managed holding accounts, or RULE_BASED for the additional account numbers issued with a sweep rule.
Maximum number of results to return (default 20, max 100)
Cursor for pagination (returned from previous request)
Response
Successful operation
Changes
- warning
added the new
ACH_SAME_DAYenum value to the////////////response property for the response status - warning
added the new
ACH_SAME_DAYenum value to the//////////response property for the response status - warning
added the new
BULK_SETTLEMENTenum value to the//response property for the response status - info
added the new enum value
BULK_SETTLEMENTto thequeryrequest parametertype
- warning
- warning
removed the optional property
//////////////from the response with the status - info
added the optional property
///////////to the response with the status
- warning