Get an agent deposit
Returns one of the agent’s deposits, including achPull.authorization.text for an ACH_PULL deposit. The deposit must belong to the given agent on the calling platform, otherwise 404 is returned. This endpoint uses platform credentials, not agent credentials.
Authorizations
API token authentication using format <api token id>:<api client secret>
Path Parameters
System-generated unique agent identifier
System-generated unique deposit identifier
Response
Successful operation
A deposit that converts funds from an external network into an internal account belonging to the agent's customer. For networks other than ACH_PULL, a deposit reported FAILED or EXPIRED can still become COMPLETED when the funds arrive late; the platform then receives the INCOMING_PAYMENT webhook for the deposit's transaction again, now COMPLETED. For ACH_PULL, PENDING means the deposit was created and is waiting for the customer's debit authorization; nothing has moved. It becomes EXPIRED at expiresAt, 30 minutes after creation. PROCESSING means the debit was submitted to the bank and the amount was credited to the destination USDB account. COMPLETED means the debit settled. FAILED means Grid refused the debit at submission or the bank returned it (see achPull.returnCode). A return after crediting does not remove the USDB credit, unlike platform ACH pulls, whose returns take the funds back.
System-generated unique deposit identifier.
"AgentDeposit:019542f5-b3e7-1d02-0000-000000000001"
Current processing state of the deposit.
PENDING, PROCESSING, COMPLETED, EXPIRED, FAILED, REFUNDED Network from which the customer sends the deposit.
LIGHTNING, BASE, ETHEREUM, SOLANA, POLYGON, ARBITRUM, TRON, ACH_PULL Currency or asset the customer sends.
"BTC"
Internal account that receives the converted deposit.
"InternalAccount:019542f5-b3e7-1d02-0000-000000000002"
Currency credited to the destination internal account.
"USDB"
Whether target is a Lightning invoice, chain address or external account ID.
LIGHTNING_INVOICE, CHAIN_ADDRESS, EXTERNAL_ACCOUNT BOLT11 invoice when targetType is LIGHTNING_INVOICE; a chain address when CHAIN_ADDRESS; the source external account ID when EXTERNAL_ACCOUNT for ACH_PULL.
"lnbc1pndepositpp5..."
Time when the deposit was created.
"2026-10-09T18:00:00Z"
Time when the deposit was last updated.
"2026-10-09T18:01:00Z"
Amount to send in the smallest unit of sourceCurrency, when the deposit quote fixes the source amount.
31500
Estimated amount credited to the destination internal account after fees, denominated in the destination asset. Present for LIGHTNING deposits.
The quote that funds the deposit. The transaction that pays the deposit carries the same quoteId, so a payment can be matched to its deposit.
"Quote:019542f5-b3e7-1d02-0000-000000000006"
ACH debit details. Present only for ACH_PULL.
Payment links present only for a LIGHTNING deposit.
When the deposit must be paid by: the invoice's expiry for LIGHTNING, or the quote's for a chain deposit Grid funds through a quote. Omitted or null for standing chain deposit addresses, which do not expire. For ACH_PULL, the authorization deadline, 30 minutes after creation.
"2026-10-09T18:05:00Z"
Whether a payment for this deposit arrived after expiresAt, so only a deposit with an expiresAt can have one. A chain payment that arrives after its quote expired is not converted: the deposit stays EXPIRED and Lightspark is alerted to recover the funds by hand, so the payment must not be sent again. Absent or false while no late payment is known.
false