Agent Operations
Get an agent deposit
Changed onRetrieve a deposit created by the authenticated agent. Requires the RECEIVE_FUNDS permission in the agent's policy.
get/agents/me/deposits/{depositId}
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/agents/me/deposits/{depositId}
- AuthHTTP bearer
Response
Successful operation
Example response
{
"id": "AgentDeposit:019542f5-b3e7-1d02-0000-000000000001",
"sourceCurrency": "BTC",
"sourceAmount": 31500,
"destinationInternalAccountId": "InternalAccount:019542f5-b3e7-1d02-0000-000000000002",
"destinationCurrency": "USDB",
"estimatedReceiveAmount": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"target": "lnbc1pndepositpp5...",
"paymentLinks": {
"cashApp": "https://cash.app/launch/lightning/lnbc1pndepositpp5...",
"shortUrl": "https://link.grid.money/deposit/Ab3dE7"
},
"expiresAt": "2026-10-09T18:05:00Z",
"createdAt": "2026-10-09T18:00:00Z",
"updatedAt": "2026-10-09T18:01:00Z"
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
CORRIDOR_UNDER_MAINTENANCEenum value to theresponse property for the response status
- warning