Raw card data capability (SDK internal)
curl --request GET \
--url https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config', 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://api.tagada.io/api/public/v1/payment-instruments/raw-card/config",
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://api.tagada.io/api/public/v1/payment-instruments/raw-card/config"
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://api.tagada.io/api/public/v1/payment-instruments/raw-card/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config")
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{
"enabled": true,
"tokenization": {
"provider": "basistheory",
"publicApiKey": "key_prod_us_pub_…",
"tokenizeUrl": "https://api.basistheory.com/tokens"
}
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}payment-instruments
Raw card data capability (SDK internal)
Used by @tagadapay/node-sdk paymentInstruments.createFromCard(). Returns the public,
create-only vault key the SDK uses to tokenize a card from the merchant’s server directly into
Tagada’s PCI vault — the card number never reaches the Tagada API. Not meant to be called by hand.
The capability is off by default and enabled per account by Tagada support. When it is not enabled
the endpoint answers 403 with Please contact support to ask for raw card data enablement.
GET
/
api
/
public
/
v1
/
payment-instruments
/
raw-card
/
config
Raw card data capability (SDK internal)
curl --request GET \
--url https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config', 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://api.tagada.io/api/public/v1/payment-instruments/raw-card/config",
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://api.tagada.io/api/public/v1/payment-instruments/raw-card/config"
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://api.tagada.io/api/public/v1/payment-instruments/raw-card/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tagada.io/api/public/v1/payment-instruments/raw-card/config")
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{
"enabled": true,
"tokenization": {
"provider": "basistheory",
"publicApiKey": "key_prod_us_pub_…",
"tokenizeUrl": "https://api.basistheory.com/tokens"
}
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}