Get KYC Status
curl --request GET \
--url https://api.stablepay.global/v2/users/{userId}/kyc/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stablepay.global/v2/users/{userId}/kyc/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stablepay.global/v2/users/{userId}/kyc/status', 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.stablepay.global/v2/users/{userId}/kyc/status",
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.stablepay.global/v2/users/{userId}/kyc/status"
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.stablepay.global/v2/users/{userId}/kyc/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stablepay.global/v2/users/{userId}/kyc/status")
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_bodyKYC
Get KYC Status
Get KYC verification status
GET
/
v2
/
users
/
{userId}
/
kyc
/
status
Get KYC Status
curl --request GET \
--url https://api.stablepay.global/v2/users/{userId}/kyc/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stablepay.global/v2/users/{userId}/kyc/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stablepay.global/v2/users/{userId}/kyc/status', 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.stablepay.global/v2/users/{userId}/kyc/status",
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.stablepay.global/v2/users/{userId}/kyc/status"
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.stablepay.global/v2/users/{userId}/kyc/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stablepay.global/v2/users/{userId}/kyc/status")
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_bodyGet KYC Status
Returns the current KYC verification status for a user.Request
curl https://api.stablepay.global/v2/users/usr_abc123/kyc/status \
-H "Authorization: Bearer YOUR_API_KEY"
Response
{
"success": true,
"data": {
"level": "basic",
"status": "verified",
"digilocker": {
"verified": true,
"status": "completed",
"completedAt": "2025-06-15T10:00:00Z"
},
"aadhaar": {
"verified": true,
"maskedNumber": "XXXXXXXX1234",
"nameOnAadhaar": "RAHUL KUMAR",
"verifiedAt": "2025-06-15T10:00:00Z"
},
"pan": {
"verified": true,
"maskedNumber": "XXXXX1234X",
"nameOnPan": "RAHUL KUMAR",
"nameMatchScore": 95,
"verifiedAt": "2025-06-15T10:05:00Z"
},
"passport": {
"verified": false
},
"attestation": {
"verified": true,
"docType": "driving_license",
"country": "USA",
"issuingCountry": "USA",
"legalName": "John Doe",
"verifiedAt": "2025-06-15T10:00:00Z"
},
"face": {
"verified": false
},
"upi": {
"verified": false
},
"bank": {
"verified": true,
"maskedAccountNumber": "XXXXXX7890",
"bankName": "HDFC Bank",
"ifsc": "HDFC0001234",
"verifiedAt": "2025-06-15T10:10:00Z"
}
}
}
{ "verified": false } with no other fields.
Fields with no value are omitted, not returned as
null. In particular, before DigiLocker completes, the digilocker block is just { "status": "pending" } — with no verified key at all. Treat a missing verified as false.The declaration is not part of this response — it’s submitted via Submit Declaration.
Submitting the declaration does not immediately recompute the aggregate
status — it can remain in_progress even once every requirement is met. Call POST /kyc/refresh (below) after the final step to settle the status.Status Values
| Status | Description |
|---|---|
pending | No verifications started |
in_progress | Some steps complete, not all requirements met |
verified | All requirements met — user can transact |
rejected | KYC rejected |
level is none, basic, or enhanced. It becomes basic when status is verified.
Refresh KYC Status
POST /v2/users/{userId}/kyc/refresh
{
"success": true,
"data": {
"previous": { "level": "none", "status": "in_progress" },
"current": { "level": "basic", "status": "verified" }
}
}
⌘I
