@spritz-finance/api-client 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1010,7 +1010,7 @@ ACH onramp lets users convert USD from their bank account into USDC delivered to
1010
1010
  4. **Server:** find an active funding source and fetch limits with `client.fundingSource.getDepositLimits(id)`
1011
1011
  5. **Server:** prepare a quote with `client.deposit.prepare(...)`
1012
1012
  6. **Client:** show the quote and ACH authorization message to the user
1013
- 7. **Server:** create the deposit with `client.deposit.create(...)`; Spritz runs risk checks before initiating the ACH pull
1013
+ 7. **Server:** create the deposit with `client.deposit.create(input, { idempotencyKey })`; Spritz runs risk checks before initiating the ACH pull. Persist one unique key per deposit intent and reuse it verbatim on retries so a timed-out request replays the original response instead of authorizing a second debit
1014
1014
 
1015
1015
  Authorization is derived from the verified ACH funding source — no wallet signature is required.
1016
1016