Cards List cards
List cards
Lists your cards, newest first. Applications with no card yet are included with an empty `status`; send `status=active,freeze,blocked,inactive` to list cards only.
Api-Key
Query parameters
NameDescription
pageDefault
1items_per_pageDefault
10statusOne or more card statuses, comma-separated
card_typevirtual, physical or both, comma-separatedfundingwallet (cards with a linked wallet), account (cards on your card account with no linked wallet) or both, comma-separatedcustomer_idcard_idResponse
Returns 200 OK. A page of cards
NameDescription
dataShow 5 child attributesobject
itemsShow 18 child attributesobject[]
idcustomer_iddate_createddate_updatedname_on_cardblockchain_networkmasked_panThe last 4 digits only
expiryAs stored, such as
8/2029. Sandbox cards show YYYY-MM-DD.networkcurrencyassetstatusactive 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, ``
card_typePossible values:
virtual, physicalwallet_addressAddress that holds the card's funds
account_idThe card account. Empty for a card issued with
wallet_id.wallet_idThe card's linked wallet, for a card issued with a wallet instead of a card account.
proxy_addressaddressShow 5 child attributesobject | null
streetcitystatepostal_codecountry_iso_codeitems_per_pagepagetotal_itemstotal_pageserrorErrors
| Status | Meaning |
|---|---|
| 200 | A page of cards |
Was this page helpful? Yes No
Previous
Next
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/cards?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet' \
--header 'Api-Key: <api-key>'
const response = await fetch('https://api.gravv.xyz/v1/cards?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet', {
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?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet"
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?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet", 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?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet")
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?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet',
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?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet"))
.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?page=1&items_per_page=10&status=active%2Cfreeze&funding=wallet");
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
200OK
{
"data": {
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"customer_id": "string",
"date_created": "2026-01-01T00:00:00Z",
"date_updated": "2026-01-01T00:00:00Z",
"name_on_card": "string",
"blockchain_network": "string",
"masked_pan": "9032",
"expiry": "8/2029",
"network": "string",
"currency": "string",
"asset": {},
"status": "active",
"card_type": "virtual",
"wallet_address": "string",
"account_id": "string",
"wallet_id": "string",
"proxy_address": {},
"address": {}
}
],
"items_per_page": 0,
"page": 0,
"total_items": 0,
"total_pages": 0
},
"error": {}
}