curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/platform/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"
}
]
}Retrieve a list of all internal accounts that belong to the platform, as opposed to an individual customer.
These accounts are created automatically when the platform is configured for each supported currency. They can be used for things like distributing bitcoin rewards to customers, or for other platform-wide purposes.
curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/platform/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"
}
]
}Was this page helpful?