Limits Get a customer's limits
Get a customer's limits
Returns a customer's transfer tier, the caps for each window and what is left in each. Use it before a large payout, or to explain why a transfer paused. All amounts are USD strings.
Api-Key
Path parameters
NameDescription
customer_idID of the customer
Response
Returns 200 OK. The customer's limits
NameDescription
dataShow 12 child attributesobject
subject_typePossible values:
customer, remittersubject_idtier_codeThe tier, such as
basic. Empty when there is none.tier_assignmentHow the tier was chosen
Possible values: operator, kyc, attested, default, per_transfer_attestation
caps_basistier when the caps are the subject's own, floor when they are the lowest tier's (the tier is set on each transfer), and none when they are not known
Possible values: tier, floor, none
modeenforce pauses transfers over a cap. shadow only records them. off checks nothing.
Possible values: off, shadow, enforce
blockedTrue when the sender may not send transfers
usage_availableFalse when usage could not be read.
used_usd is then null.as_ofwindowsDaily, weekly and monthly windows follow the UTC calendar. The annual window is the last 12 months.
Show 5 child attributesobject
per_transferAmounts in USD with 2 decimal places. A null
cap_usd means no cap when caps_basis is tier.Show 3 child attributesobject | null
cap_usdused_usdNull for the
per_transfer window, and when usage could not be readremaining_usdThe amount left to send in the window.
0.00 for a blocked sender.dailyAmounts in USD with 2 decimal places. A null
cap_usd means no cap when caps_basis is tier.Show 3 child attributesobject | null
cap_usdused_usdNull for the
per_transfer window, and when usage could not be readremaining_usdThe amount left to send in the window.
0.00 for a blocked sender.weeklyAmounts in USD with 2 decimal places. A null
cap_usd means no cap when caps_basis is tier.Show 3 child attributesobject | null
cap_usdused_usdNull for the
per_transfer window, and when usage could not be readremaining_usdThe amount left to send in the window.
0.00 for a blocked sender.monthlyAmounts in USD with 2 decimal places. A null
cap_usd means no cap when caps_basis is tier.Show 3 child attributesobject | null
cap_usdused_usdNull for the
per_transfer window, and when usage could not be readremaining_usdThe amount left to send in the window.
0.00 for a blocked sender.annualAmounts in USD with 2 decimal places. A null
cap_usd means no cap when caps_basis is tier.Show 1 child attributesobject
requires_approvalTrue when transfers over the annual cap need Gravv's approval
next_tierThe next tier up and its caps
Show 3 child attributesobject | null
tier_codecapsCaps in USD. Null means no cap.
Show 6 child attributesobject
per_transferdailyweeklymonthlyannualannual_requires_approvalrequirementsWhat the subject needs for that tier
candidate_tiersTiers a transfer can reach, when the tier is set on each transfer
errorErrors
| Status | Meaning |
|---|---|
| 200 | The customer's limits |
| 400 | The ID is missing or invalid |
| 404 | The subject is not yours, or you have no limits policy. Having no policy does not mean that no limits apply. |
| 503 | Gravv cannot read limits right now. Retry. |
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits' \
--header 'Api-Key: <api-key>'
const response = await fetch('https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits', {
method: 'GET',
headers: {
'Api-Key': '<api-key>',
},
});
const data = await response.json();
console.log(response.status, data);
import requests
url = "https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits"
headers = {
"Api-Key": "<api-key>",
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits", nil)
if err != nil {
panic(err)
}
req.Header.Set("Api-Key", "<api-key>")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
fmt.Println(res.Status)
fmt.Println(string(body))
}
require "net/http"
require "uri"
uri = URI("https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
request = Net::HTTP::Get.new(uri)
request["Api-Key"] = "<api-key>"
response = http.request(request)
puts response.code
puts response.body
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits',
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Api-Key: <api-key>',
],
]);
$response = curl_exec($ch);
if ($response === false) {
throw new RuntimeException(curl_error($ch));
}
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
curl_close($ch);
echo $status, PHP_EOL, $response, PHP_EOL;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits"))
.header("Api-Key", "<api-key>")
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode());
System.out.println(response.body());
}
}
using System.Net.Http;
using System.Text;
using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.gravv.xyz/v1/customers/bb6c6022-f1d8-492f-80f0-7547134bb42f/limits");
request.Headers.TryAddWithoutValidation("Api-Key", "<api-key>");
using var response = await client.SendAsync(request);
Console.WriteLine((int)response.StatusCode);
Console.WriteLine(await response.Content.ReadAsStringAsync());
Responseapplication/json
200400404503OK
{
"data": {
"subject_type": "customer",
"subject_id": "bb6c6022-f1d8-492f-80f0-7547134bb42f",
"tier_code": "basic",
"tier_assignment": "kyc",
"caps_basis": "tier",
"mode": "enforce",
"blocked": false,
"usage_available": true,
"as_of": "2026-10-13T09:15:22Z",
"windows": {
"per_transfer": {
"cap_usd": "2000.00",
"used_usd": null,
"remaining_usd": null
},
"daily": {
"cap_usd": "5000.00",
"used_usd": "1250.00",
"remaining_usd": "3750.00"
},
"weekly": {
"cap_usd": null,
"used_usd": "1250.00",
"remaining_usd": null
},
"monthly": {
"cap_usd": "20000.00",
"used_usd": "6400.00",
"remaining_usd": "13600.00"
},
"annual": {
"cap_usd": "100000.00",
"used_usd": "18000.00",
"remaining_usd": "82000.00",
"requires_approval": false
}
},
"next_tier": {
"tier_code": "intermediate",
"caps": {
"per_transfer": "10000",
"daily": "20000",
"weekly": null,
"monthly": "100000",
"annual": null,
"annual_requires_approval": false
}
},
"candidate_tiers": null
},
"error": null
}
{
"data": {},
"error": "string",
"code": "string"
}
{
"data": null,
"error": "not found: no limits policy applies"
}
{
"data": null,
"error": "limits are temporarily unavailable, please retry",
"code": "ERROR_CODE_LIMITS_UNAVAILABLE"
}