curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/agents/me/external-accounts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"status": "ACTIVE",
"currency": "USD",
"accountInfo": {
"accountType": "BRL_ACCOUNT",
"pixKey": "user@example.com",
"pixKeyType": "CPF",
"taxId": "11111111111"
},
"customerId": "Customer:da459a29-1fb7-41ce-a4cb-eb3a3c9fd7a7",
"platformAccountId": "acc_123456789",
"defaultUmaDepositAccount": false,
"beneficiaryVerificationStatus": "MATCHED",
"beneficiaryVerifiedData": {
"fullName": "John Doe"
}
}
],
"hasMore": true,
"nextCursor": "<string>",
"totalCount": 123
}Retrieve a paginated list of external accounts belonging to the authenticated agent’s customer. Requires the MANAGE_EXTERNAL_ACCOUNTS permission in the agent’s policy.
curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/agents/me/external-accounts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "ExternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"status": "ACTIVE",
"currency": "USD",
"accountInfo": {
"accountType": "BRL_ACCOUNT",
"pixKey": "user@example.com",
"pixKeyType": "CPF",
"taxId": "11111111111"
},
"customerId": "Customer:da459a29-1fb7-41ce-a4cb-eb3a3c9fd7a7",
"platformAccountId": "acc_123456789",
"defaultUmaDepositAccount": false,
"beneficiaryVerificationStatus": "MATCHED",
"beneficiaryVerifiedData": {
"fullName": "John Doe"
}
}
],
"hasMore": true,
"nextCursor": "<string>",
"totalCount": 123
}Documentation Index
Fetch the complete documentation index at: https://ramps-docs-agents-webhook-and-account-model-links.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/{code}/redeem. Agent credentials are user-scoped: all requests are automatically bound to the agent's associated customer and subject to the agent's policy.
Filter by currency code
Maximum number of results to return (default 20, max 100)
1 <= x <= 100Cursor for pagination (returned from previous request)
Successful operation
List of external accounts matching the filter criteria
Show child attributes
Indicates if more results are available beyond this page
Cursor to retrieve the next page of results (only present if hasMore is true)
Total number of external accounts matching the criteria (excluding pagination)
Was this page helpful?