Get card details (secrets via JWE or plaintext mode)
curl --request GET \
--url https://api.imbawallet.com/partner/cards/{card_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.imbawallet.com/partner/cards/{card_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.imbawallet.com/partner/cards/{card_id}', 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.imbawallet.com/partner/cards/{card_id}",
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.imbawallet.com/partner/cards/{card_id}"
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.imbawallet.com/partner/cards/{card_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.imbawallet.com/partner/cards/{card_id}")
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{
"card_id": "<string>",
"ext_id": "card-issue-20260710-003",
"card_product": 123,
"issue_status": "<string>",
"status": "issuing",
"currency": "<string>",
"number_masked": "<string>",
"card_encrypted": "<string>",
"card": {},
"balance": {
"available": "12.50",
"pending": "12.50",
"cached_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "insufficient_balance",
"message": "<string>"
}Cards
Get card details (secrets via JWE or plaintext mode)
Only cards linked to this partner. Default card_payload=jwe returns
card_encrypted and card: null. Decrypt for PAN (number),
expiration, and cvv. Secrets are never stored in list, webhooks, or
document payloads. No merchant transaction list, unfreeze, refund, or
replacement on this resource.
GET
/
partner
/
cards
/
{card_id}
Get card details (secrets via JWE or plaintext mode)
curl --request GET \
--url https://api.imbawallet.com/partner/cards/{card_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.imbawallet.com/partner/cards/{card_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.imbawallet.com/partner/cards/{card_id}', 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.imbawallet.com/partner/cards/{card_id}",
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.imbawallet.com/partner/cards/{card_id}"
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.imbawallet.com/partner/cards/{card_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.imbawallet.com/partner/cards/{card_id}")
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{
"card_id": "<string>",
"ext_id": "card-issue-20260710-003",
"card_product": 123,
"issue_status": "<string>",
"status": "issuing",
"currency": "<string>",
"number_masked": "<string>",
"card_encrypted": "<string>",
"card": {},
"balance": {
"available": "12.50",
"pending": "12.50",
"cached_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "insufficient_balance",
"message": "<string>"
}Authorizations
Access token from POST /auth/v1/partner/token
Path Parameters
Example:
"00112233445566778899aabb"
Response
Card details
Partner-side idempotency key (unique per partner)
Required string length:
1 - 128Example:
"card-issue-20260710-003"
Available options:
issuing, active, frozen, closed, failed Compact JWE (ECDH-ES + A256GCM) when card_payload=jwe
Present only when card_payload=plaintext
Show child attributes
Show child attributes