Retrieving profile information

How to retrieve the profile information of a card.

To retrieve details associated with a card, use the GET /cards/{card_id} operation with no further parameters.

An example of a request to retrieve card profile information is shown below.

curl --request GET \
  --url \
  --header 'Authorization: YOUR-AUTHORIZATION' \
  --header 'Identity: YOUR-IDENTITY'
require 'uri'
require 'net/http'
require 'openssl'

url = URI("")

http =, url.port)
http.use_ssl = true

request =
request["Content-Type"] = 'application/json'
request["Identity"] = 'YOUR-IDENTITY'
request["Authorization"] = 'YOUR-AUTHORIZATION'

response = http.request(request)
puts response.read_body
const options = {
  method: 'PATCH',
  headers: {
    'Content-Type': 'application/json',
    Identity: 'YOUR-IDENTITY',
    Authorization: 'YOUR-AUTHORIZATION'

fetch('', options)
  .then(response => console.log(response))
  .catch(err => console.error(err));
import requests

url = ""

headers = {
    "Content-Type": "application/json",
    "Identity": "YOUR-IDENTITY",
    "Authorization": "YOUR-AUTHORIZATION"

response = requests.request("PATCH", url, headers=headers)

var client = new RestClient("");
var request = new RestRequest(Method.PATCH);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Identity", "YOUR-IDENTITY");
request.AddHeader("Authorization", "YOUR-AUTHORIZATION");
IRestResponse response = client.Execute(request);
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .addHeader("Content-Type", "application/json")
  .addHeader("Identity", "YOUR-IDENTITY")
  .addHeader("Authorization", "YOUR-AUTHORIZATION")

Response response = client.newCall(request).execute();

An example of a response to a successful request to retrieve card profile information is shown below.

    "card_id": "2742ff6a-7455-4066-8b45-ae12d3acca34",
    "last_four": "6169",
    "status": "Inactive",
    "card_number": "tok_live_283734",
    "cvv": "tok_live_p923u34", # 
    "expiry_date": "tok_live_oeueo932",
    "card_account_id": "48aef94d-8473-47c8-943f-d3ac1745d8fa",
    "pseudoDDANumbers": [
            "pseudoDdaNumber": "1010101010101010"

For a complete specification and interactive examples, see Retrieving card information in the Bond API Reference.

Did this page help you?