Simulate funding an internal account
Changed onSimulate receiving funds into an internal account in the sandbox environment. This is useful for testing scenarios where you need to add funds to a customer's or platform's internal account without going through a real bank transfer or following payment instructions. This endpoint is only for the sandbox environment and will fail for production platforms/keys.
Funding a rule-based account
Funding a RULE_BASED account triggers its sweep, exactly as a settled deposit does in production: the balance is swept to the rule's destination and the account is left at zero. A balance outside the corridor band moves to the account holder's own account in the same currency instead, and the transaction fails with failureReason: SWEEP_AMOUNT_OUT_OF_RANGE — fund a rule-based account with a very small amount to rehearse that path. Either way the rule-based account is left at zero; it never holds a balance. Sandbox simulates the API contract and the routing decision, not the banking rails. The quote, the corridor bounds, the destination checks and the webhook are all real; the settlement legs behind them are not, so timings and failure modes that originate at a partner bank cannot be reproduced here.
Request
- Base URL: https://api.lightspark.com/grid/2025-10-13
- URL: https://api.lightspark.com/grid/2025-10-13/sandbox/internal-accounts/{accountId}/fund
- Auth: HTTP basic
Path parameters
The ID of the internal account to fund
Request body
Example request
{
"amount": 100000
}Response
Internal account funded successfully
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 theresponse property for the response status
- warning
- warning
removed the optional property
////////////from the response with the status - info
added the optional property
/////////to the response with the status
- warning