Update Card Details by Display Number
curl --request PUT \
--url https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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": {}
}
'import requests
url = "https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}"
payload = {
"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": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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: {}
})
};
fetch('https://qa-lynx.nayax.com/operational/v1/cards/{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/{CardDisplayNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'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' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}"
payload := strings.NewReader("{\n \"MobileNumber\": \"<string>\",\n \"CardID\": 123,\n \"ActorID\": 123,\n \"CardUniqueIdentifier\": \"<string>\",\n \"CardDisplayNumber\": \"<string>\",\n \"CardHolderName\": \"<string>\",\n \"CardStatus\": 123,\n \"CardType\": 123,\n \"CardUserIdentity\": \"<string>\",\n \"UpdatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedBy\": 123,\n \"UpdatedBy\": 123,\n \"CountryID\": 123,\n \"Email\": \"<string>\",\n \"CardPhysicalType\": 123,\n \"MemberType\": 123,\n \"CardActivationDate\": \"2023-11-07T05:31:56Z\",\n \"CardExpirationDate\": \"2023-11-07T05:31:56Z\",\n \"CardImageUrl\": \"<string>\",\n \"CardNote\": \"<string>\",\n \"wd_limits_money\": \"<string>\",\n \"wd_limits_trans\": \"<string>\",\n \"use_wd_limit\": true,\n \"CardExternalApplicationUserID\": \"<string>\",\n \"Refs\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"MobileNumber\": \"<string>\",\n \"CardID\": 123,\n \"ActorID\": 123,\n \"CardUniqueIdentifier\": \"<string>\",\n \"CardDisplayNumber\": \"<string>\",\n \"CardHolderName\": \"<string>\",\n \"CardStatus\": 123,\n \"CardType\": 123,\n \"CardUserIdentity\": \"<string>\",\n \"UpdatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedBy\": 123,\n \"UpdatedBy\": 123,\n \"CountryID\": 123,\n \"Email\": \"<string>\",\n \"CardPhysicalType\": 123,\n \"MemberType\": 123,\n \"CardActivationDate\": \"2023-11-07T05:31:56Z\",\n \"CardExpirationDate\": \"2023-11-07T05:31:56Z\",\n \"CardImageUrl\": \"<string>\",\n \"CardNote\": \"<string>\",\n \"wd_limits_money\": \"<string>\",\n \"wd_limits_trans\": \"<string>\",\n \"use_wd_limit\": true,\n \"CardExternalApplicationUserID\": \"<string>\",\n \"Refs\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"MobileNumber\": \"<string>\",\n \"CardID\": 123,\n \"ActorID\": 123,\n \"CardUniqueIdentifier\": \"<string>\",\n \"CardDisplayNumber\": \"<string>\",\n \"CardHolderName\": \"<string>\",\n \"CardStatus\": 123,\n \"CardType\": 123,\n \"CardUserIdentity\": \"<string>\",\n \"UpdatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedBy\": 123,\n \"UpdatedBy\": 123,\n \"CountryID\": 123,\n \"Email\": \"<string>\",\n \"CardPhysicalType\": 123,\n \"MemberType\": 123,\n \"CardActivationDate\": \"2023-11-07T05:31:56Z\",\n \"CardExpirationDate\": \"2023-11-07T05:31:56Z\",\n \"CardImageUrl\": \"<string>\",\n \"CardNote\": \"<string>\",\n \"wd_limits_money\": \"<string>\",\n \"wd_limits_trans\": \"<string>\",\n \"use_wd_limit\": true,\n \"CardExternalApplicationUserID\": \"<string>\",\n \"Refs\": {}\n}"
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
Update Card Details by Display Number
Updates the details of a card identified by the card’s display number.
Update Card Details by Display Number
curl --request PUT \
--url https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"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": {}
}
'import requests
url = "https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}"
payload = {
"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": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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: {}
})
};
fetch('https://qa-lynx.nayax.com/operational/v1/cards/{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/{CardDisplayNumber}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'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' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}"
payload := strings.NewReader("{\n \"MobileNumber\": \"<string>\",\n \"CardID\": 123,\n \"ActorID\": 123,\n \"CardUniqueIdentifier\": \"<string>\",\n \"CardDisplayNumber\": \"<string>\",\n \"CardHolderName\": \"<string>\",\n \"CardStatus\": 123,\n \"CardType\": 123,\n \"CardUserIdentity\": \"<string>\",\n \"UpdatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedBy\": 123,\n \"UpdatedBy\": 123,\n \"CountryID\": 123,\n \"Email\": \"<string>\",\n \"CardPhysicalType\": 123,\n \"MemberType\": 123,\n \"CardActivationDate\": \"2023-11-07T05:31:56Z\",\n \"CardExpirationDate\": \"2023-11-07T05:31:56Z\",\n \"CardImageUrl\": \"<string>\",\n \"CardNote\": \"<string>\",\n \"wd_limits_money\": \"<string>\",\n \"wd_limits_trans\": \"<string>\",\n \"use_wd_limit\": true,\n \"CardExternalApplicationUserID\": \"<string>\",\n \"Refs\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"MobileNumber\": \"<string>\",\n \"CardID\": 123,\n \"ActorID\": 123,\n \"CardUniqueIdentifier\": \"<string>\",\n \"CardDisplayNumber\": \"<string>\",\n \"CardHolderName\": \"<string>\",\n \"CardStatus\": 123,\n \"CardType\": 123,\n \"CardUserIdentity\": \"<string>\",\n \"UpdatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedBy\": 123,\n \"UpdatedBy\": 123,\n \"CountryID\": 123,\n \"Email\": \"<string>\",\n \"CardPhysicalType\": 123,\n \"MemberType\": 123,\n \"CardActivationDate\": \"2023-11-07T05:31:56Z\",\n \"CardExpirationDate\": \"2023-11-07T05:31:56Z\",\n \"CardImageUrl\": \"<string>\",\n \"CardNote\": \"<string>\",\n \"wd_limits_money\": \"<string>\",\n \"wd_limits_trans\": \"<string>\",\n \"use_wd_limit\": true,\n \"CardExternalApplicationUserID\": \"<string>\",\n \"Refs\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://qa-lynx.nayax.com/operational/v1/cards/{CardDisplayNumber}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"MobileNumber\": \"<string>\",\n \"CardID\": 123,\n \"ActorID\": 123,\n \"CardUniqueIdentifier\": \"<string>\",\n \"CardDisplayNumber\": \"<string>\",\n \"CardHolderName\": \"<string>\",\n \"CardStatus\": 123,\n \"CardType\": 123,\n \"CardUserIdentity\": \"<string>\",\n \"UpdatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedDt\": \"2023-11-07T05:31:56Z\",\n \"CreatedBy\": 123,\n \"UpdatedBy\": 123,\n \"CountryID\": 123,\n \"Email\": \"<string>\",\n \"CardPhysicalType\": 123,\n \"MemberType\": 123,\n \"CardActivationDate\": \"2023-11-07T05:31:56Z\",\n \"CardExpirationDate\": \"2023-11-07T05:31:56Z\",\n \"CardImageUrl\": \"<string>\",\n \"CardNote\": \"<string>\",\n \"wd_limits_money\": \"<string>\",\n \"wd_limits_trans\": \"<string>\",\n \"use_wd_limit\": true,\n \"CardExternalApplicationUserID\": \"<string>\",\n \"Refs\": {}\n}"
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
Body
application/json
The card details to be updated.
Represents the details of a card, including its attributes, status, and associated actor information.
Response
200 - application/json
Card details updated successfully.
Represents the details of a card, including its attributes, status, and associated actor information.
Was this page helpful?