Demander une vérification
curl --request POST \
--url https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify', 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}/verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/verify"
req, _ := http.NewRequest("POST", 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.post("https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"internalId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"externalId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"type": "COMPANY",
"status": "IN_REVIEW",
"name": "Example Company S.A.",
"documentationStatus": "PARTIAL",
"updatedAt": "2024-01-15T17:05:00Z"
}
Entités
Demander la vérification
POST
/
api
/
entity
/
v1
/
entities
/
{entityId}
/
verify
Demander une vérification
curl --request POST \
--url https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify', 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}/verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/verify"
req, _ := http.NewRequest("POST", 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.post("https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stage.localpayment.com/api/entity/v1/entities/{entityId}/verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"internalId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"externalId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"type": "COMPANY",
"status": "IN_REVIEW",
"name": "Example Company S.A.",
"documentationStatus": "PARTIAL",
"updatedAt": "2024-01-15T17:05:00Z"
}
Indique à Localpayment que le téléversement de la documentation de l’entité est terminé et lance son examen. L’entité passe de PENDING_KYC à IN_REVIEW. Pour une société, appelez cet endpoint sur la société une fois ses documents, fichiers et personnes téléversés et liés.
- Aucun corps de requête.
- Uniquement depuis PENDING_KYC. Un nouvel appel alors que l’entité est IN_REVIEW renvoie 409 INVALID_STATUS_TRANSITION.
- L’entité doit disposer d’au moins un fichier téléversé (422 NO_PROOFS_UPLOADED) et de ses données KYC minimales (422 INCOMPLETE_KYC_DATA).
- Tant que l’entité est IN_REVIEW, elle est verrouillée : vous ne pouvez pas modifier ses données, ajouter ou modifier des documents, téléverser ou supprimer des fichiers, ni lier, modifier ou clôturer des UBO (409 ENTITY_IN_REVIEW).
- Avec verify, votre part du téléversement est terminée : vous n’avez pas besoin d’interroger ensuite le statut de l’entité.
- Si Localpayment renvoie l’entité à PENDING_KYC pour correction, corrigez ce qu’indique statusReason et appelez à nouveau cet endpoint.
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
Accepté. L'entité passe à IN_REVIEW et reste verrouillée jusqu'à ce que Localpayment la traite (extrait de l'entité).
Dernière modification le 22 novembre 2026

