Get Card by the Cards Display Number
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber} \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"MobileNumber": "<string>",
"CardID": 123,
"ActorID": 123,
"CardUniqueIdentifier": "<string>",
"CardDisplayNumber": "<string>",
"CardHolderName": "<string>",
"CardStatus": 123,
"CardType": 123,
"CardUserIdentity": "<string>",
"UpdatedDt": "2023-11-07T05:31:56Z",
"CreatedDt": "2023-11-07T05:31:56Z",
"CreatedBy": 123,
"UpdatedBy": 123,
"CountryID": 123,
"Email": "<string>",
"CardPhysicalType": 123,
"MemberType": 123,
"CardActivationDate": "2023-11-07T05:31:56Z",
"CardExpirationDate": "2023-11-07T05:31:56Z",
"CardImageUrl": "<string>",
"CardNote": "<string>",
"wd_limits_money": "<string>",
"wd_limits_trans": "<string>",
"use_wd_limit": true,
"CardExternalApplicationUserID": "<string>",
"Refs": {}
}Cards
Get Card by the Cards Display Number
Retrieves card details associated with a specific display number.
Get Card by the Cards Display Number
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber} \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/cards/displayNumber/{CardDisplayNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"MobileNumber": "<string>",
"CardID": 123,
"ActorID": 123,
"CardUniqueIdentifier": "<string>",
"CardDisplayNumber": "<string>",
"CardHolderName": "<string>",
"CardStatus": 123,
"CardType": 123,
"CardUserIdentity": "<string>",
"UpdatedDt": "2023-11-07T05:31:56Z",
"CreatedDt": "2023-11-07T05:31:56Z",
"CreatedBy": 123,
"UpdatedBy": 123,
"CountryID": 123,
"Email": "<string>",
"CardPhysicalType": 123,
"MemberType": 123,
"CardActivationDate": "2023-11-07T05:31:56Z",
"CardExpirationDate": "2023-11-07T05:31:56Z",
"CardImageUrl": "<string>",
"CardNote": "<string>",
"wd_limits_money": "<string>",
"wd_limits_trans": "<string>",
"use_wd_limit": true,
"CardExternalApplicationUserID": "<string>",
"Refs": {}
}Authorizations
Response
200 - application/json
Card details retrieved successfully.
Represents the details of a card, including its attributes, status, and associated actor information.
Was this page helpful?