curl --request GET \
--url https://laso.finance/payment-recipients \
--header 'Authorization: <api-key>'import requests
url = "https://laso.finance/payment-recipients"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://laso.finance/payment-recipients', 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/payment-recipients",
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: <api-key>"
],
]);
$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://laso.finance/payment-recipients"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://laso.finance/payment-recipients")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://laso.finance/payment-recipients")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"user_id": "<string>",
"platform": "venmo",
"recipients": [
{
"recipient_id": "<string>",
"handle": "<string>",
"name": "<string>",
"display_name": "<string>",
"status": "<string>",
"total_sent": 123,
"send_count": 123,
"last_sent_timestamp": 123
}
]
}List saved Venmo and PayPal recipients (free)
Lists the Venmo or PayPal recipients this account has paid before, so you can resolve a name your human said (“send $20 to Jane”) into the handle that GET /send-payment takes as its recipient_id. Free — only the payout itself is a paid action.
Two different ids are in play. Each entry’s recipient_id is an opaque saved-entry id: pass it to POST and DELETE /payment-recipients. Its handle is the phone number or email you actually pay: pass that as recipient_id to GET /send-payment. Passing the saved-entry id to GET /send-payment does not send to the saved person.
Use total_sent and last_sent_timestamp to disambiguate similar names, and confirm with your human rather than guessing between two entries.
Requires a Bearer token from /auth or /get-card.
curl --request GET \
--url https://laso.finance/payment-recipients \
--header 'Authorization: <api-key>'import requests
url = "https://laso.finance/payment-recipients"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://laso.finance/payment-recipients', 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/payment-recipients",
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: <api-key>"
],
]);
$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://laso.finance/payment-recipients"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://laso.finance/payment-recipients")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://laso.finance/payment-recipients")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"user_id": "<string>",
"platform": "venmo",
"recipients": [
{
"recipient_id": "<string>",
"handle": "<string>",
"name": "<string>",
"display_name": "<string>",
"status": "<string>",
"total_sent": 123,
"send_count": 123,
"last_sent_timestamp": 123
}
]
}Authorizations
Firebase ID token from /auth or any paid route, sent as a Bearer token: Authorization: Bearer <id_token> (the Bearer prefix is required).
Query Parameters
Payment platform whose saved recipients to list.
venmo, paypal Include archived entries. Defaults to false.
true, false Was this page helpful?