Cards Get a card
Get a card
Returns one card without its full number. `daily_transaction_limit` is the card's only limit. The format of `masked_pan` and `expiry` differs from the list.
Api-Key
Path parameters
NameDescription
card_idID of the card
Response
Returns 200 OK. The card
NameDescription
dataShow 19 child attributesobject
iddate_createddate_updatedname_on_cardcustomer_idblockchain_networkproxy_addressmasked_pan******* and the last 4 digitsexpiryMM/YYYY. Sandbox cards show YYYY-MM-DD, so parse both. Empty when not known.networkcurrencyassetcard_typePossible values:
virtual, physicalstatusactive can spend. freeze is a temporary hold. blocked is permanent. inactive is issued but not yet activated. An empty value is an application with no card yet.
Possible values: active, freeze, blocked, inactive, ``
billing_addressShow 5 child attributesobject | null
streetcitystatepostal_codecountry_iso_codeshipping_addressOne of the following variants:
•
null (
null)Show 8 child attributesoneOf
Required for a physical card. address_line2 is not read.
address_line1citystatepostal_codeSend it as a string, so leading zeros are kept
country_codeAlpha-2 code
phone_numbermethodPossible values:
standard, express, international, apc, uspsInternational, overnightspending_controlsShow 3 child attributesobject
typePossible values:
virtual, physicalactivateddaily_transaction_limitThe card's spending limit, in whole USD per day
account_idThe card account the card is linked to: where its money goes when it leaves. Empty for a card linked to a wallet.
wallet_idThe card's linked wallet, for a card issued with a wallet instead of a card account. Left out otherwise.
errorErrors
| Status | Meaning |
|---|---|
| 200 | The card |
| 400 | The request failed. Every card error is a 400, including not-found. Read error. |
Was this page helpful? Yes No
Previous
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20' \
--header 'Api-Key: <api-key>'
const response = await fetch('https://api.gravv.xyz/v1/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20', {
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/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20"
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/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20", 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/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20")
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/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20',
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/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20"))
.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/cards/dce0192a-9b3d-440b-9500-33dc9ac8dc20");
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
200400OK
{
"data": {
"id": "dce0192a-9b3d-440b-9500-33dc9ac8dc20",
"date_created": "2026-10-10T13:04:36.544962Z",
"date_updated": "2026-10-13T17:57:26.56108Z",
"name_on_card": "Jane Doe",
"customer_id": "9e3cccad-e9ae-47a0-81ee-063af0159310",
"blockchain_network": "polygon",
"proxy_address": null,
"masked_pan": "*******9351",
"expiry": "07/2029",
"network": "visa",
"currency": "USD",
"asset": "USDC",
"card_type": "virtual",
"status": "active",
"billing_address": null,
"shipping_address": null,
"spending_controls": {
"type": "virtual",
"activated": true,
"daily_transaction_limit": 50
},
"account_id": "4c0a51e2-7d3b-4f6e-9a21-8b5d3c7e9f10"
},
"error": null
}
{
"data": null,
"error": "card does not exist"
}