> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.shimi.cash/api-reference/shimi-api/card-issuing/fetch-card-details/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.shimi.cash/_mcp/server. # Fetch Card Details GET https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/{cardId} Fetch a card's current details and status. **Path:** `cardId` (string, required) — the `cardId` from **Generate Card**. Returns the stored card record only (no balance, no full PAN/CVV — use **Generate Card Token** for secure display). `providerCardId` is the card-issuer's internal ID. `updatedAt` may be `null`. > All errors from this folder use `{ "status": "error", "message": "..." }` and are returned as **HTTP 400** (including "Card not found" — there is no 404). Success bodies use `status: "success"` (not `success: true` like the VTU endpoints). Reference: https://docs.shimi.cash/api-reference/shimi-api/card-issuing/fetch-card-details ## Authentication - `Authorization` header (bearer token, required) — Access token from Generate Access Token (valid 15 minutes). ## Request ### Path parameters - `cardId` (string, required) — The card ID returned by Generate Card. ## Response ### 200 OK - `status` (string, optional) - `message` (string, optional) - `data` (CardGetCardCardIdGetResponsesContentApplicationJsonSchemaData, optional) ## Errors ### 400 Bad Request Error Bad Request - `status` (string, optional) - `message` (string, optional) ### 401 Unauthorized Error Unauthorized - `message` (string, optional) ### 403 Forbidden Error Invalid or expired access token / KYB not approved / Account deactivated - `message` (string, optional) - `code` (string, optional) - `kybStatus` (string, optional) ## Types ### CardGetCardCardIdGetResponsesContentApplicationJsonSchemaData - `id` (string, optional) - `type` (string, optional) - `brand` (string, optional) - `currency` (string, optional) - `maskedPan` (string, optional) - `expiryMonth` (string, optional) - `expiryYear` (string, optional) - `status` (string, optional) - `customerId` (string, optional) - `createdAt` (string, optional) - `updatedAt` (string, optional) - `providerCardId` (string, optional) ## Examples **Response** ```json { "status": "success", "message": "Card details fetched successfully", "data": { "id": "cm2x8a1d20007l70f6yz4kq9m", "type": "PHYSICAL", "brand": "verve", "currency": "NGN", "maskedPan": "506099*********4821", "expiryMonth": "10", "expiryYear": "2029", "status": "active", "customerId": "cm2x7k9q80004l70fh3s1a2bc", "createdAt": "2026-10-02T09:14:27.512Z", "updatedAt": "2026-10-02T09:14:27.512Z", "providerCardId": "66f2b1c4e8a91d0012ab34cd" } } ``` **SDK Code** ```python 200 Success import requests url = "https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript 200 Success const url = 'https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go 200 Success package main import ( "fmt" "net/http" "io" ) func main() { url := "https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby 200 Success require 'uri' require 'net/http' url = URI("https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java 200 Success import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId") .header("Authorization", "Bearer ") .asString(); ``` ```php 200 Success request('GET', 'https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp 200 Success using RestSharp; var client = new RestClient("https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift 200 Success import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://shimi-waas-api-9493532b9281.herokuapp.com/api/v1/card/get-card/cardId")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```