Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
API Reference Savings overview

Savings overview

Read a customer's savings, today's rate and a daily statement, and add test interest in sandbox.

1 min read

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.

Endpoints

EndpointDescription
GET /v1/savings/rateGet today's yearly rate
GET /v1/savings/{id}Get a customer's available, saved, moving and earned amounts
GET /v1/savings/{id}/statementGet one row per day, as JSON or a CSV file
POST /v1/savings/simulate/interestSandbox 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