curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/customers/internal-accounts \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"id": "InternalAccount:12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
"balance": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"fundingPaymentInstructions": [
{
"accountOrWalletInfo": {
"accountType": "USD_ACCOUNT",
"paymentRails": [
"ACH"
],
"accountNumber": "<string>",
"routingNumber": "<string>",
"reference": "UMA-Q12345-REF"
},
"instructionsNotes": "Please ensure the reference code is included in the payment memo/description field",
"isPlatformAccount": true
}
],
"createdAt": "2025-10-03T12:30:00Z",
"updatedAt": "2025-10-03T12:30:00Z",
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001"
}
],
"hasMore": true,
"nextCursor": "<string>",
"totalCount": 123
}Retrieve a list of internal accounts with optional filtering parameters. Returns all internal accounts that match the specified filters. If no filters are provided, returns all internal accounts (paginated).
Internal accounts are created automatically when a customer is created based on the platform configuration.
curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/customers/internal-accounts \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"id": "InternalAccount:12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
"balance": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"fundingPaymentInstructions": [
{
"accountOrWalletInfo": {
"accountType": "USD_ACCOUNT",
"paymentRails": [
"ACH"
],
"accountNumber": "<string>",
"routingNumber": "<string>",
"reference": "UMA-Q12345-REF"
},
"instructionsNotes": "Please ensure the reference code is included in the payment memo/description field",
"isPlatformAccount": true
}
],
"createdAt": "2025-10-03T12:30:00Z",
"updatedAt": "2025-10-03T12:30:00Z",
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001"
}
],
"hasMore": true,
"nextCursor": "<string>",
"totalCount": 123
}API token authentication using format <api token id>:<api client secret>
Filter by currency code
Filter by internal accounts associated with a specific customer
Maximum number of results to return (default 20, max 100)
1 <= x <= 100Cursor for pagination (returned from previous request)
Successful operation
List of internal 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 customers matching the criteria (excluding pagination)
Was this page helpful?