List customers
curl --request GET \
--url https://api.platnova.com/v1/customers \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.platnova.com/v1/customers"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.platnova.com/v1/customers', 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.platnova.com/v1/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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://api.platnova.com/v1/customers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.platnova.com/v1/customers")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platnova.com/v1/customers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": true,
"data": {
"items": [
{
"id": "<string>",
"email": "[email protected]",
"first_name": "<string>",
"last_name": "<string>",
"country_code": "<string>",
"phone": "<string>",
"dial_code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"meta": {
"date_of_birth": "<string>",
"employment_status": "<string>",
"expected_monthly_income": "<string>",
"primary_purpose": "<string>",
"source_of_funds": "<string>",
"most_recent_occupation": "<string>",
"document": {
"docs": null,
"number": "<string>",
"country": "<string>",
"id_type": "<string>",
"valid_until": "<string>",
"provider": 123,
"additional": null,
"gender": "<string>"
},
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postal_code": "<string>",
"document": {
"id_type": "<string>",
"issue_country": "<string>",
"urls": null
}
},
"providers": null
},
"reference": "<string>"
}
],
"page": 123,
"size": 123,
"max_page": 123,
"total_pages": 123,
"total": 123,
"last": true,
"first": true,
"visible": 123
},
"error": [
"<unknown>"
],
"message": "<string>"
}Customers
List Customers
Retrieve a paginated list of your customers.
GET
/
v1
/
customers
List customers
curl --request GET \
--url https://api.platnova.com/v1/customers \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.platnova.com/v1/customers"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.platnova.com/v1/customers', 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.platnova.com/v1/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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://api.platnova.com/v1/customers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.platnova.com/v1/customers")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platnova.com/v1/customers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": true,
"data": {
"items": [
{
"id": "<string>",
"email": "[email protected]",
"first_name": "<string>",
"last_name": "<string>",
"country_code": "<string>",
"phone": "<string>",
"dial_code": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "<string>",
"meta": {
"date_of_birth": "<string>",
"employment_status": "<string>",
"expected_monthly_income": "<string>",
"primary_purpose": "<string>",
"source_of_funds": "<string>",
"most_recent_occupation": "<string>",
"document": {
"docs": null,
"number": "<string>",
"country": "<string>",
"id_type": "<string>",
"valid_until": "<string>",
"provider": 123,
"additional": null,
"gender": "<string>"
},
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postal_code": "<string>",
"document": {
"id_type": "<string>",
"issue_country": "<string>",
"urls": null
}
},
"providers": null
},
"reference": "<string>"
}
],
"page": 123,
"size": 123,
"max_page": 123,
"total_pages": 123,
"total": 123,
"last": true,
"first": true,
"visible": 123
},
"error": [
"<unknown>"
],
"message": "<string>"
}
