API Reference Savings overview
Savings overview
Read a customer's savings, today's rate and a daily statement, and add test interest in sandbox.
Use the Savings API to read what a customer has saved, what it earns and what happened each day. Saving and withdrawing are transfers, made with POST /v1/transfer. Amounts are USDC strings with 6 decimal places.
Status. Available in sandbox. A live key gets 501 until savings opens in live.
Browse savings endpoints
Read a customer's savings or browse the operations in this category.
How savings works
Open a savings account, save, withdraw and read interest.
Endpoints
| Endpoint | Description |
|---|---|
GET /v1/savings/rate | Get today's yearly rate |
GET /v1/savings/{id} | Get a customer's available, saved, moving and earned amounts |
GET /v1/savings/{id}/statement | Get one row per day, as JSON or a CSV file |
POST /v1/savings/simulate/interest | Sandbox only. Add interest now |
Authentication
All requests use https://api.gravv.xyz and authenticate with the Api-Key header. See Authentication for details.
Was this page helpful? Yes No
Previous