Richiedere la verifica
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à
Richiedere la verifica
POST
/
api
/
entity
/
v1
/
entities
/
{entityId}
/
verify
Richiedere la verifica
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"
}
Comunica a Localpayment che il caricamento della documentazione dell’entità è completo e ne avvia la verifica. L’entità passa da PENDING_KYC a IN_REVIEW. Per un’azienda, chiamalo sull’azienda stessa dopo aver caricato e collegato i suoi documenti, file e persone.
- Nessun corpo della richiesta.
- Solo dallo stato PENDING_KYC. Se lo chiami di nuovo mentre l’entità è in IN_REVIEW, restituisce 409 INVALID_STATUS_TRANSITION.
- L’entità deve avere almeno un file caricato (422 NO_PROOFS_UPLOADED) e i dati KYC minimi (422 INCOMPLETE_KYC_DATA).
- Mentre è in IN_REVIEW, l’entità è bloccata: non puoi modificarne i dati, aggiungere o modificare documenti, caricare o eliminare file, né collegare, modificare o terminare UBO (409 ENTITY_IN_REVIEW).
- Con verify la tua parte del caricamento è conclusa: in seguito non è necessario fare polling (interrogazione periodica) sullo stato dell’entità.
- Se Localpayment riporta l’entità in PENDING_KYC per una correzione, correggi quanto indicato in statusReason e chiama di nuovo questo endpoint.
application/problem+json con un code stabile. Catalogo completo: Stati delle entità e codici di errore.Autorizzazioni
Intestazioni
Token di accesso Bearer per l'autenticazione. Questo token si ottiene dagli endpoint Ottenere il token di accesso o Rinnovare il token di accesso. Da esso vengono ricavati il tuo conto esercente e l'utente che esegue l'operazione.
Esempio:
"Bearer <your_access_token>"
Parametri del percorso
Risposta
Accettato. L'entità passa a IN_REVIEW e resta bloccata finché Localpayment non la risolve (estratto dell'entità).
Ultima modifica il 22 novembre 2026

