Obtenir le statut KYC
curl --request GET \
--url https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/kyc-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/kyc-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/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_body{
"entityId": "5aced5da-40c1-4bec-85ff-c8cd1bcb4526",
"status": "IN_REVIEW",
"documentationStatus": "COMPLETE",
"statusReason": "Review started",
"documents": [
{
"documentId": "2e16d844-4fa9-4295-9a21-83ec32ef241a",
"type": "CPF",
"status": "VERIFIED",
"proofs": [
{
"proofId": "2c4c2f74-7179-4113-83fb-f11dbce9e07d",
"verificationStatus": "APPROVED"
}
]
},
{
"documentId": "e0ea9515-442e-4bc5-bc82-b8d278255c37",
"type": "PROOF_OF_ADDRESS",
"status": "VERIFIED",
"proofs": [
{
"proofId": "acb78b3f-fe18-4094-b6a9-2107f502d709",
"verificationStatus": "APPROVED"
}
]
}
]
}
Entités
Obtenir le statut KYC
GET
/
api
/
entity
/
v1
/
entities
/
{entityId}
/
kyc-status
Obtenir le statut KYC
curl --request GET \
--url https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/kyc-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/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.stage.localpayment.com/api/entity/v1/entities/{entityId}/kyc-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/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_body{
"entityId": "5aced5da-40c1-4bec-85ff-c8cd1bcb4526",
"status": "IN_REVIEW",
"documentationStatus": "COMPLETE",
"statusReason": "Review started",
"documents": [
{
"documentId": "2e16d844-4fa9-4295-9a21-83ec32ef241a",
"type": "CPF",
"status": "VERIFIED",
"proofs": [
{
"proofId": "2c4c2f74-7179-4113-83fb-f11dbce9e07d",
"verificationStatus": "APPROVED"
}
]
},
{
"documentId": "e0ea9515-442e-4bc5-bc82-b8d278255c37",
"type": "PROOF_OF_ADDRESS",
"status": "VERIFIED",
"proofs": [
{
"proofId": "acb78b3f-fe18-4094-b6a9-2107f502d709",
"verificationStatus": "APPROVED"
}
]
}
]
}
Renvoie une arborescence compacte de l’état de l’examen : statut de l’entité, couverture de la documentation, statut de chaque document et de chaque justificatif actif, et motif du dernier changement de statut. Utilisez-le pour suivre l’examen effectué par Localpayment.
- L’exemple principal a été capturé alors que le dossier était IN_REVIEW et que les deux fichiers étaient déjà approuvés ; le second, juste après le téléversement, avec des fichiers encore PENDING.
- documentationStatus: COMPLETE signifie que chaque document dispose d’un fichier ; cela ne signifie pas que les fichiers ont été approuvés. L’approbation se traduit par documents[].status = VERIFIED et proofs[].verificationStatus = APPROVED.
application/problem+json avec un code stable. Catalogue complet : Statuts des entités et codes d’erreur.Autorisations
En-têtes
Jeton d'accès Bearer pour l'authentification. Ce jeton s'obtient via les endpoints Obtenir un jeton d'accès ou Actualiser le jeton d'accès. Il permet d'identifier votre compte commerçant et l'utilisateur à l'origine de l'action.
Exemple:
"Bearer <your_access_token>"
Paramètres de chemin
Réponse
OK.
Dernière modification le 22 novembre 2026

