Get Prepaid Card
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/prepaid \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/prepaid"
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/{CardId}/prepaid', 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/{CardId}/prepaid",
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/{CardId}/prepaid"
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/{CardId}/prepaid")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/prepaid")
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{
"PrepaidCard": {
"CardID": 123,
"CardDiscountTypeBit": 123,
"CardDiscountAmount": 123,
"CardCreditTypeMoneyBit": true,
"CardCreditAccumulateBit": true,
"CardCreditSingleUseBit": true,
"CardRevalueCashBit": true,
"CardRevalueCreditCardBit": true,
"CardCredit": 123,
"CardRevalueCredit": 123,
"CardMaxRevalueAmountLimit": 123,
"CreditAmountDailyLimit": 123,
"CreditAmountWeeklyLimit": 123,
"CreditAmountMonthlyLimit": 123,
"CreditTransactionsDailyLimit": 123,
"CreditTransactionsWeeklyLimit": 123,
"CreditTransactionsMonthlyLimit": 123,
"CreditTransactionsMonthlyReload": 123,
"CreditAmountCapture": 123,
"CreditTransactionsCapture": 123,
"CreditCaptureDate": "2023-11-07T05:31:56Z",
"CreditAmountDailyUsage": 123,
"CreditAmountWeeklyUsage": 123,
"CreditAmountMonthlyUsage": 123,
"CreditAmountTotalUsage": 123,
"CreditTransactionsDailyUsage": 123,
"CreditTransactionsWeeklyUsage": 123,
"CreditTransactionsMonthlyUsage": 123,
"TransactionsTotalUsage": 123,
"CardRevalueExpirationDate": "2023-11-07T05:31:56Z",
"CardSetSingleUseDate": "2023-11-07T05:31:56Z",
"RemoveSingleUseDate": "2023-11-07T05:31:56Z",
"CreditAmountMonthlyReload": 123,
"CreditTransactionsTotalUsage": 123,
"CardCustomerTypeID": 123,
"CardLastUpdatedBy": 123,
"CardLastUpdatedDate": "2023-11-07T05:31:56Z",
"final_wd_limit_money": 123
},
"Card": {
"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>"
}
}Cards
Get Prepaid Card
Retrieves details of a prepaid card associated with a specific card ID.
Get Prepaid Card
curl --request GET \
--url https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/prepaid \
--header 'Authorization: Bearer <token>'import requests
url = "https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/prepaid"
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/{CardId}/prepaid', 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/{CardId}/prepaid",
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/{CardId}/prepaid"
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/{CardId}/prepaid")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/cards/{CardId}/prepaid")
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{
"PrepaidCard": {
"CardID": 123,
"CardDiscountTypeBit": 123,
"CardDiscountAmount": 123,
"CardCreditTypeMoneyBit": true,
"CardCreditAccumulateBit": true,
"CardCreditSingleUseBit": true,
"CardRevalueCashBit": true,
"CardRevalueCreditCardBit": true,
"CardCredit": 123,
"CardRevalueCredit": 123,
"CardMaxRevalueAmountLimit": 123,
"CreditAmountDailyLimit": 123,
"CreditAmountWeeklyLimit": 123,
"CreditAmountMonthlyLimit": 123,
"CreditTransactionsDailyLimit": 123,
"CreditTransactionsWeeklyLimit": 123,
"CreditTransactionsMonthlyLimit": 123,
"CreditTransactionsMonthlyReload": 123,
"CreditAmountCapture": 123,
"CreditTransactionsCapture": 123,
"CreditCaptureDate": "2023-11-07T05:31:56Z",
"CreditAmountDailyUsage": 123,
"CreditAmountWeeklyUsage": 123,
"CreditAmountMonthlyUsage": 123,
"CreditAmountTotalUsage": 123,
"CreditTransactionsDailyUsage": 123,
"CreditTransactionsWeeklyUsage": 123,
"CreditTransactionsMonthlyUsage": 123,
"TransactionsTotalUsage": 123,
"CardRevalueExpirationDate": "2023-11-07T05:31:56Z",
"CardSetSingleUseDate": "2023-11-07T05:31:56Z",
"RemoveSingleUseDate": "2023-11-07T05:31:56Z",
"CreditAmountMonthlyReload": 123,
"CreditTransactionsTotalUsage": 123,
"CardCustomerTypeID": 123,
"CardLastUpdatedBy": 123,
"CardLastUpdatedDate": "2023-11-07T05:31:56Z",
"final_wd_limit_money": 123
},
"Card": {
"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>"
}
}Authorizations
Enter your Bearer token. It's required to authenticate API requests.
Path Parameters
The unique identifier of the card to be retrieved.
Response
200 - application/json
Prepaid card details retrieved successfully.
Was this page helpful?
⌘I