curl --request POST \
--url https://laso.finance/submit-verification-share \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"share_token": "<single-use share token from the partner>"
}
'import requests
url = "https://laso.finance/submit-verification-share"
payload = { "share_token": "<single-use share token from the partner>" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({share_token: '<single-use share token from the partner>'})
};
fetch('https://laso.finance/submit-verification-share', 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://laso.finance/submit-verification-share",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'share_token' => '<single-use share token from the partner>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://laso.finance/submit-verification-share"
payload := strings.NewReader("{\n \"share_token\": \"<single-use share token from the partner>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://laso.finance/submit-verification-share")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"share_token\": \"<single-use share token from the partner>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://laso.finance/submit-verification-share")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"share_token\": \"<single-use share token from the partner>\"\n}"
response = http.request(request)
puts response.read_body{
"user_id": "usr_abc123",
"kyc_review_status": "pending",
"kyc_review_answer": null
}Import an identity verification from a partner (optional)
KYC is optional. It is only needed for certain features such as Venmo/PayPal payouts via /send-payment. If you are not using those features, you can ignore the verification endpoints.
Imports an identity verification the account holder already completed with a partner, so they do not have to verify again through /get-kyc-link. The partner issues a single-use reusable-verification share token for Laso (recipient id laso.finance); pass it as share_token. Treat the token as a secret: never log it or show it to anyone other than the account holder.
Laso’s verification requires an ID document plus a selfie with liveness, and no proof of address. The shared data is re-checked against those requirements, so the review finishes asynchronously: after a 200, poll GET /get-kyc-status until kyc_verified is true, or until kyc_review_answer is RED (rejected). If the shared verification lacks an ID document or liveness, the call returns 400 failed_precondition; send the account holder GET /get-kyc-link instead.
The account holder still owns verification. An agent never fills in a verification form for them; passing a token the partner issued to them is fine.
Accepts an Idempotency-Key header. Requires a Bearer token from /auth or /get-card. This route is free.
curl --request POST \
--url https://laso.finance/submit-verification-share \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"share_token": "<single-use share token from the partner>"
}
'import requests
url = "https://laso.finance/submit-verification-share"
payload = { "share_token": "<single-use share token from the partner>" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({share_token: '<single-use share token from the partner>'})
};
fetch('https://laso.finance/submit-verification-share', 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://laso.finance/submit-verification-share",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'share_token' => '<single-use share token from the partner>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://laso.finance/submit-verification-share"
payload := strings.NewReader("{\n \"share_token\": \"<single-use share token from the partner>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://laso.finance/submit-verification-share")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"share_token\": \"<single-use share token from the partner>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://laso.finance/submit-verification-share")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"share_token\": \"<single-use share token from the partner>\"\n}"
response = http.request(request)
puts response.read_body{
"user_id": "usr_abc123",
"kyc_review_status": "pending",
"kyc_review_answer": null
}Authorizations
Headers
Optional client-generated unique key (a UUID works) that makes this write safe to retry. A retry with the same key within 24 hours returns the recorded response of the original request, marked with an Idempotency-Replayed: true header, instead of performing the write again. Reusing a key with a different body or route is rejected with 422 (code: idempotency_key_reused); a retry that arrives while the original is still running gets 409 (code: idempotency_key_in_progress), so wait a moment and retry with the same key. Keys are scoped to the authenticated account.
255Body
Response
The shared verification was imported and is under review. Poll GET /get-kyc-status until kyc_verified is true.
Was this page helpful?